[Release feedback] Production security checklist for sandboxed AI agents

Abierto
#175 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
ai-infra-agents

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
JavaScript
Estrellas
177
Forks
57
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GenAI-Security-Project/GenAI-LLM-Top10

Todos los issues de GenAI-Security-Project/GenAI-LLM-Top10

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.