HOL Guard rule for `approve_plugin`?
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 56/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, typescript
- Lĩnh vực
- developer-experience, security
Hướng nghiên cứu
Read the upstream community-plugins behavior and the HOL Guard MCP contribution guide and matching Builder example linked in the issue. Export the complete tools/list inventory, generate and review the profile for approve_plugin, and retain existing handling for get_plugin and unknown tools. Validate and preview the kit, run the named MCP contribution and trust checks, then submit a draft PR with the profile, behavior cases, and validation results.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hey, we maintain HOL Guard. For people using community-plugins through an AI agent, an optional Guard profile would ask for human approval before the approve_plugin action.
Would you contribute a profile covering approve_plugin? The first draft can focus on that operation and get_plugin as the comparison case. The Builder handoff below is specific to this project; you generate and review the files, then open your PR. A draft with the reviewed profile and validation results is enough to start review. Local Guard protection is free and needs no account. The extension stays opt-in, and your repo needs no code or CI changes.
Builder handoff for this project
Scope: cursor/community-plugins, approve_plugin, and the get_plugin comparison. Upstream reference.
Existing safeguard documented by the project:
Write tools are rate-limited per admin (
mcp-moderationVercel Firewall rule), and every change from the web admin or MCP is recorded in the append-onlyplugin_moderation_eventstable.
You can give these instructions to your coding agent:
- Work in your own fork/branch of
hashgraph-online/hol-guard. Export the complete MCP tools/list inventory using your project's documented workflow, including every page. Confirm the package/launcher or HTTPS identity and version from your own documentation; do not guess them from the repository name. - Follow the matching Builder example to generate a review kit from that saved export. Use physical paths without symlink components and a new output directory whose parent already exists. The Builder reads the export offline; it does not run your tool.
- Propose review for
approve_plugin. Useget_pluginas the safe comparison case, retaining its existing handling. Unknown tools inherit existing policy. Do not add an allow default based only on tool annotations or a remote server name. Review the generated decisions against the upstream behavior; record the rationale and public source references in a copy of review.json and set reviewed=true for the decisions you reviewed. Preserve the discoveryDigest, operation IDs, other entries, and supported riskClasses. Regenerate withextensions generate --from snapshot, using the original discovery.json and your explicit review file. - Run
hol-guard extensions validateon that reviewed kit. Previewhol-guard extensions applyagainst your fork, inspect the file plan, and apply only with its printed--expected-plandigest. Keep the MCP JSON contract under contributions/mcp-servers/ and the external trust binding. Run the MCP contribution test and trust checks named in the MCP guide. Record the risky and comparison-tool decisions in your PR. The MCP Builder does not emit a command fixture; do not invent a command-source document or a Python detector. Follow the contribution checks for this contribution type. - Review the full diff and behavior cases, then open your own draft PR with the contribution files and validation results. Explain what needs approval and what retains its existing handling. Keep the contribution External and off until locally enabled. Do not add secrets, change your source repository's CI, or enable Guard protections as part of generating the contribution.
A draft containing the profile/source and meaningful behavior cases is enough to begin review. Report a failed Builder command with its error before working around it.
- Ngôn ngữ chính
- TypeScript
- Star
- 4k
- Fork
- 674
- Merge trung bình
- 8 phút
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cursor/community-plugins
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
cursor/community-plugins#572 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
cursor/community-plugins#567 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 73/100
cursor/community-plugins#543 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
cursor/community-plugins#518 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
cursor/community-plugins#516 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cursor/community-plugins
Issue tương tự
-
P2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug ready-for-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
LucasSantana-Dev/Lucky#3150 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue priority: low size: XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: testing bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
snapotter-hq/SnapOtter#5099 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
EveryInc/compound-engineering-plugin#2091 ·
Maintainer thường phản hồi trong vòng 1 ngày