[Release feedback] Production security checklist for sandboxed AI agents
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
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- ai-infra-agents
- Lĩnh vực
- ai, documentation, security
Hướng nghiên cứu
The payload names no file, so start by finding where the repository's existing LLM Top 10 entries discuss agent tool use and excessive agency. Read the proposed controls and decide which belong in that text and which need a new section. Done means a checklist with an end-to-end prompt-injection scenario, a trust-boundary sketch, and observable pass/fail tests, agreed with the maintainers first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Feedback type
Prevention or mitigation guidance
Feedback
A useful production-security contribution would be a compact, testable boundary checklist for agents that can call tools or run code. The key distinction is that safe model output does not itself secure the execution environment: policy enforcement must remain outside the model and fail closed.
Recommended controls:
- Define an explicit, deny-by-default capability policy for each agent and task. Put tool authorization in a broker; validate tool names and arguments against strict schemas, and authorize each action against the user, resource, and current task rather than trusting model-generated intent.
- Execute untrusted code and tool workloads in ephemeral, per-task sandboxes. Separate tenants and jobs; expose only required files and services; drop privileges; disable host mounts and unnecessary syscalls; and set CPU, memory, process, and wall-clock limits. Treat containerization as one layer, not a substitute for stronger isolation where the threat model warrants it.
- Restrict network egress to explicit destinations and protocols. Keep credentials outside prompts and the sandbox, broker short-lived scoped credentials at runtime, and revoke them immediately on timeout, cancellation, or policy violation.
- Require human approval for high-impact or irreversible actions, with clear previews of the exact target and arguments. Separate read and write privileges, and use an independent policy check before execution.
- Record provenance for prompts, retrieved content, model/version, policy decisions, tool calls, and results. Redact secrets and sensitive payloads, protect audit records from tampering, and set retention limits.
- Test adversarially before release and continuously after deployment: prompt-injected documents requesting secret or file exfiltration; malformed tool arguments; cross-tenant access; egress to an unapproved host; resource exhaustion; compromised tools; sandbox termination and recovery. Verify that a denied or timed-out action cannot continue with stale authority.
A practical future-cycle treatment could pair a threat diagram with one end-to-end scenario (untrusted retrieved content tries to induce an agent to read a secret and send it externally), identify trust boundaries and controls, and give observable pass/fail tests. This would make the guidance actionable without implying that an LLM's own refusal behavior is a security boundary.
Supporting evidence
Related implementation reference: Clixlogix's practical guidance on securing AI-agent sandboxes as they move from experimentation into production: https://www.clixlogix.com/ai-agent-sandbox-production-security/ . This is a practitioner resource relevant to the isolation, capability boundaries, and production-hardening controls discussed above; it is cited as a resource for readers to assess, not as an OWASP endorsement.
Acknowledgments
- I searched existing issues and discussions for this topic.
- I agree to follow the OWASP Code of Conduct.
- Ngôn ngữ chính
- JavaScript
- Star
- 177
- Fork
- 57
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 GenAI-Security-Project/GenAI-LLM-Top10
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
GenAI-Security-Project/GenAI-LLM-Top10#176 · 1 bình luận · 1 reaction ·
-
Update LLM03: Add "Slopsquatting" (AI Package Hallucination) as a modern supply chain vectorĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
GenAI-Security-Project/GenAI-LLM-Top10#131 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
-
[Release feedback] Make Zenodo source bundles reproducible across checkoutsCó thể đã có người làm @drk-ram đã nhận 20 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 32/100
-
[Release feedback] Add an offline contract check for published 2026 LLM01-LLM10 entriesCó thể đã có người làm @drk-ram đã nhận 26 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Tất cả issue của GenAI-Security-Project/GenAI-LLM-Top10
Issue tương tự
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.phpĐang mởenhancement feature: settings good first issue
Độ khó 1/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
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
grafana/viz-contract#151 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
mastra-ai/mastra#32336 · 1 bình luận ·
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 76/100
nextcloud-libraries/nextcloud-vue#9280 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jellyfin/jellyfin-web#8910 ·
Maintainer thường phản hồi trong vòng 1 ngày