[Release feedback] Production security checklist for sandboxed AI agents
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- ai-infra-agents
- 领域
- ai, documentation, security
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- JavaScript
- 星标
- 177
- 派生
- 57
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GenAI-Security-Project/GenAI-LLM-Top10 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
GenAI-Security-Project/GenAI-LLM-Top10#176 · 1 条评论 · 1 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 66/100
GenAI-Security-Project/GenAI-LLM-Top10#131 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 28/100
-
[Release feedback] Make Zenodo source bundles reproducible across checkouts可能已有人在做 @drk-ram 于 20 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 32/100
-
[Release feedback] Add an offline contract check for published 2026 LLM01-LLM10 entries可能已有人在做 @drk-ram 于 26 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 25/100
查看 GenAI-Security-Project/GenAI-LLM-Top10 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
-
test(ci): flake in external-api-stream-auth.test.js waitForRun abort test (hardcoded 20ms sleep)未关闭bug
难度 2/5 1-3 小时 新手友好度 86/100
Fei2411/DeepSeek-Bot#2978 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
Stars-and-Stripes-Honor-Flight/sshf-ui#352 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ArshdeepGrover/ai-tools-manager#284 ·
维护者通常 6 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
career-ops-hq/career-ops#8333 · 1 条评论 ·
维护者通常 1 天内回复