[Release feedback] Production security checklist for sandboxed AI agents
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- ai-infra-agents
- Ambito
- ai, documentation, security
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 177
- Fork
- 57
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GenAI-Security-Project/GenAI-LLM-Top10
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
GenAI-Security-Project/GenAI-LLM-Top10#176 · 1 commento · 1 reazione ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 66/100
GenAI-Security-Project/GenAI-LLM-Top10#131 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
-
[Release feedback] Make Zenodo source bundles reproducible across checkoutsForse già presa @drk-ram l’ha presa 20 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 32/100
-
[Release feedback] Add an offline contract check for published 2026 LLM01-LLM10 entriesForse già presa @drk-ram l’ha presa 26 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
Tutte le issue di GenAI-Security-Project/GenAI-LLM-Top10
Issue simili
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.phpApertaenhancement feature: settings good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
grafana/viz-contract#151 ·
I maintainer di solito rispondono entro 1 giorno
-
status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
mastra-ai/mastra#32336 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
nextcloud-libraries/nextcloud-vue#9280 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jellyfin/jellyfin-web#8910 ·
I maintainer di solito rispondono entro 1 giorno