[Release feedback] Production security checklist for sandboxed AI agents

Đang mở
#175 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GenAI-Security-Project/GenAI-LLM-Top10

Tất cả issue của GenAI-Security-Project/GenAI-LLM-Top10

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.