clawcage is a sandbox: security reports are the product. Thank you.
Use GitHub private vulnerability reporting on this repository ("Report a vulnerability" under the Security tab). If that is unavailable, open an issue saying only "security report, need a private channel" with no details, and a maintainer will arrange one. Please do not disclose publicly before a fix is released.
Expected response: acknowledgment within 7 days; fix or public status within 90.
Given a correct cage.yaml, a confused or hostile agent process inside the
cage cannot exceed the permissions the manifest declares. Enforcement is
deterministic OS-level policy (namespaces, Landlock, seccomp, Seatbelt, and a
mandatory egress proxy) — no LLM participates in any enforcement decision. Where
a guarantee cannot be enforced on the running platform or kernel, clawcage is
designed to refuse to run or degrade loudly, never to pretend.
Not every property is enforced with the same strength. The documentation distinguishes, in these words: enforced (kernel- or proxy-backed), best-effort (we try; a determined attacker can beat it), and not enforced / out of scope (exactly that). A report that a best-effort mechanism can be beaten is expected behavior, not a vulnerability; a report that something documented as enforced fails open absolutely is one.
Given a correct cage.yaml, an agent process inside the cage that can:
- read or write files outside the manifest's allowlists;
- reach a network endpoint not allowed by the manifest (including via DNS);
- learn a real secret value (not the placeholder);
- execute a binary outside the exec allowlist;
- tamper with the live policy, the vault, or the recorder;
- or crash, kill, or bypass the proxy or sandbox in a way that fails open.
Also in scope: the installer or release pipeline accepting a tampered artifact.
- Consequences of the manifest you wrote. An allowed host is allowed —
including exfiltration to an allowed host on allowed methods, which is a
documented residual risk. Path rules and body caps narrow the pipe; nothing
closes it. clawcage is a capability boundary, not a DLP product. Likewise, a
granted docker socket, a granted
~, or a granted/dev/kvmis a granted escape. - Argv rules are not an absolute boundary. On Linux an argv-constrained command is wrapped — the kernel refuses an absolute-path spawn of its real binary — but code already running in the cage can request an allowed argv from the broker and exec the vended descriptor with a different one, and commands that could not be wrapped (interpreted scripts, non-Linux platforms) remain advisory: absolute-path spawns skip the shim. The enforced boundary is which binaries may run at all, plus the network-side rules that block the effect.
- Secret-redaction evasion by a cooperating upstream. Redaction of secret values from responses and logs is best-effort defense-in-depth against accidental echo, never a boundary. (The boundary is that the real value never enters the cage and is injected only toward its bound host.)
- Covert channels (timing, cache, power) over allowed traffic.
- Kernel/OS 0-days. Landlock, namespaces, seccomp, and Seatbelt are assumed to function; clawcage contains an agent process, it does not defeat local privilege escalation. Unprivileged user namespaces are themselves kernel attack surface — that is the price of rootless. Report kernel bugs to the kernel or Apple, though we would appreciate a heads-up. For truly hostile code, compose clawcage with a VM or gVisor.
- Attacks requiring the operator's privileges outside the cage. The
operator — the person who writes
cage.yamland runs clawcage — is trusted. A malicious operator, a malicious manifest, or an agent binary that was backdoored before it reached the cage are out of scope. - Denial of service against the agent by the cage itself. Fail-closed is a feature.
The latest minor release line receives security fixes. Pre-1.0, that means: the newest release only.