Sandboxing Agentic Systems

Contain an agent that runs code or reads untrusted content, layer by layer. Covers OS-level filesystem and network isolation that also catches spawned subprocesses, an egress proxy that checks request provenance, treating tool outputs and fetched pages as prompt-injection vectors, and keeping credentials outside the sandbox behind a proxy. Use this whenever someone designs a sandbox for a coding or computer-use agent, asks how to safely let an agent run shell commands or browse, worries about prompt injection from tool results, needs to limit what an autonomous agent can reach or delete, or asks where an agent's credentials should live. Trigger on "sandbox the agent," "agent runs untrusted code," "prompt injection," "restrict network access," and similar. This is environment containment; deciding which actions need approval before they run is a separate concern (action gating).

Hoja-Solutions 222be12 4.1 KB Updated

File contents

Hoja-Solutions/agent-stdlib/tree/main/skills/sandboxing-agentic-systems commit 222be125e4

Frequently asked questions

npx skillmds@latest add hoja-solutions/sandboxing-agentic-systems