sandboxing

Installation
SKILL.md

Sandboxing

Not for hostile code. This keeps a cooperative program (a nested agent, a test harness) from wandering: reading your keys or files by accident, sending them to an inference provider, or rm -rf-ing the wrong folder. Code that is trying to escape needs stronger isolation: see references/limits.md.

Cheapest protection first

  1. No shell for the tested model when narrow tools will do (a read-only docs tool, a fixed command). Nothing to sandbox.
  2. Keep real keys outside. Use an egress proxy that injects credentials, or a key file read only by the caller; inside, set placeholder keys (--setenv OPENROUTER_API_KEY=placeholder).
  3. Then the sandbox for whatever still runs commands.
Installs
2
First Seen
4 days ago