What problem does it solve?
This skill mitigates the risks of running untrusted AI-generated code by providing a kernel-level, capability-based sandbox that prevents unauthorized system access, data exfiltration, and destructive commands.
Core Features & Use Cases
- Capability-Based Isolation: Uses Landlock or Seatbelt to restrict filesystem and network access at the syscall level.
- Safety Guardrails: Automatically blocks destructive commands like rm or chmod and provides atomic rollback snapshots for safe experimentation.
- Use Case: When testing an AI agent that needs to perform file operations, use this skill to ensure the agent is confined to a specific directory and cannot access sensitive system files or network endpoints.
Quick Start
Use the agent-sandbox skill to run the command python3 process.py with read-only access to the current directory and network access blocked.