Vetto

A rootless, daemon-less kernel sandbox that fences AI coding agents' files, network and process trees in under 4ms.

Source repo
shleder/vetto
Stars
★ 45
Last updated
1mo ago
FARS reviewed
Sep 26, 2026
License
Apache-2.0
Primary language
Rust

At a glance

How it runs
CLILibrary / SDK
Works with
Universal · cross-platformCodex · Claude Code · OpenAI API · Claude API
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Linux Landlock LSM and cgroups v2 (Tier 1 isolation)Rust toolchain (only when installing via cargo install)Shell / CLINetwork accessLocal filesystem
Typical use
A developer running Claude Code or Codex locally who wants ~/.ssh, ~/.aws and .env unreachable from dependency hooks or hallucinated bash commands.
Not a fit if
  • Teams needing strong isolation on native Windows (WSL2 is the recommended path)
  • macOS users who need hermetic read isolation (Seatbelt confines writes only)
  • Anyone wanting a pure-userspace sandbox with no kernel feature dependencies
Maintenance
Commits in the last 6 monthslast commit 2026-10-04+1.0 ★/day over 7 days
Source review
68/100 · Some gaps

What does this agent do, and when should you use it?

Vetto is a Rust CLI security runtime that injects an immutable isolation boundary between fork() and execve() for AI coding agents such as Claude Code, OpenAI Codex, Cursor, Aider, OpenCode and 23 other presets, with roughly 4ms cold start. It runs daemon-less and rootless: on Linux it uses Landlock LSM (ABI 1–6), network and PID namespaces plus cgroups v2; on macOS it uses Seatbelt (libsandbox.1.dylib); on Windows it uses AppContainer/LPAC and Job Objects. Enforcement is fail-closed — a violated boundary or an unenforceable kernel primitive terminates execution with exit code 125 and reaps the whole descendant tree synchronously through cgroup.kill. Beyond the sandbox it ships copy-on-write workspace snapshots with vetto diff / vetto undo, a capability preflight (vetto doctor --preflight), multi-agent orchestration (vetto fleet), an interactive TUI, a zero-Docker GitHub Action, and Python and TypeScript SDKs. It is delivered as a single binary under 15MB installable from npm, Homebrew, cargo or a curl script.

vetto enable --all scans $PATH for recognized agent executables (claude, codex, cursor, opencode, aider, agy, omp, zcode, kimi, grok and others), resolves their real binaries, and installs non-destructive interception shims into ~/.vetto/shims, so running the agent normally confines it at the kernel LSM boundary. vetto run -- <command> and vetto -- <command> execute arbitrary scripts under the default isolation, while vetto eval adds cgroups v2 memory ceilings and monotonic hardware timeouts. Before execution it takes copy-on-write workspace snapshots that vetto diff inspects and vetto undo rolls back. Each agent has a dedicated profile in profiles/agents/*.toml covering network allowlists (api.anthropic.com, api.openai.com and similar), package-manager cache mounts (npm, uv, bun) and Computer Use display pass-through. vetto doctor --preflight [--json] audits Landlock ABI, namespace and cgroups v2 availability, and vetto fleet spawn/status/verify/kill runs concurrent agents with fair-share quotas, pairwise namespace isolation and an automated isolation check. Integration surfaces include the shleder/vetto GitHub Action (fail-on-block plus SARIF upload) and the VettoSandbox and VettoToolNode wrappers in sdk/python and sdk/typescript (@vetto/sdk).

  1. A developer running Claude Code or Codex locally who wants ~/.ssh, ~/.aws and .env unreachable from dependency hooks or hallucinated bash commands.
  2. A CI engineer running coding agents in GitHub Actions who wants to avoid Docker-in-Docker image pulls and --privileged runner exposure.
  3. A team running several agents in parallel that needs per-worker resource quotas and pairwise isolation, verified with vetto fleet verify --workers N.
  4. A platform or security team doing a rollout that starts with vetto doctor --preflight --json to learn which kernel boundaries the host can actually enforce.
  5. An agent-framework developer using VettoSandbox or VettoToolNode to move LangGraph, CrewAI or AutoGen tool execution into a fail-closed subprocess sandbox.
  6. A user reviewing an agent's blast radius afterwards, using vetto diff to see every file change and vetto undo to restore the pre-run state.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npm install -g @shledery/vetto
  • brew install shleder/tap/vetto
  • cargo install vetto
  • curl -fsSL https://raw.githubusercontent.com/shleder/vetto/main/install.sh | sh
Install notes cover
Windows · macOS · Linux · WSL

How do you install or deploy this agent?

Install through any supported package manager:

npm install -g @shledery/vetto
brew install shleder/tap/vetto
cargo install vetto

Or use the standalone curl installer:

curl -fsSL https://raw.githubusercontent.com/shleder/vetto/main/install.sh | sh

Then check what the host kernel can actually enforce:

vetto doctor --preflight

Platform notes: Linux needs Landlock LSM and cgroups v2 support (WSL2 works too); macOS uses the built-in Seatbelt and requires Full Disk Access if you want ~/Documents covered; native Windows is the Tier 3 guardrail mode, and WSL2 is the documented way to reach Tier 1 namespace isolation.

How do you use this agent?

The primary adoption path wraps every installed coding agent in one command; invoke the agents as usual afterwards:

vetto enable --all
claude
cursor

Wrap or unwrap a single agent instead:

vetto enable claude
vetto disable claude

Run scripts directly under strict default isolation:

vetto run -- python script.py
vetto -- npm test

Evaluate a snippet with memory and timeout ceilings:

vetto eval --python -c "print(1 + 1)" --timeout 5 --memory 256

Inspect and roll back what the agent changed:

vetto diff
vetto undo

Orchestrate isolated agents concurrently:

vetto fleet spawn claude --count 3
vetto fleet verify --workers 8 --json
vetto fleet kill --all

Embed the sandbox in Python code:

from vetto import VettoSandbox, VettoSecurityError

sandbox = VettoSandbox(
    project_dir=".",
    network="allowlist:api.anthropic.com,api.openai.com",
    profile="default",
    timeout_secs=60,
)
result = sandbox.run(["pytest", "tests/"])

Call it as a GitHub Action in CI:

      - name: Run Sandboxed Agent
        uses: shleder/[email protected]
        with:
          command: 'npx @anthropic-ai/claude-code -p "Run linter and fix basic formatting"'
          agent: 'claude'
          profile: 'strict'
          fail-on-block: '1'
          upload-sarif: 'true'

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • least-privilege scoping
  • sensitive-data handling

What are this agent's strengths and limitations?

Pros
  • Containerless by design: under 4ms cold start between fork() and execve(), 0MB background daemon footprint, and no root or docker-group membership required.
  • Explicit fail-closed contract: a violated boundary or missing kernel primitive exits with code 125, and cgroups v2 cgroup.kill reaps the whole descendant tree so no orphans survive.
  • 28 ready-made agent profiles (profiles/agents/*.toml) with per-agent network allowlists and npm/uv/bun cache mounts, so wrapping claude, codex or cursor needs no policy authoring.
  • One CLI covers adjacent needs: copy-on-write snapshots and rollback (vetto diff / vetto undo), machine-readable capability preflight (vetto doctor --preflight --json), and fleet orchestration with pairwise isolation verification.
  • CI needs no --privileged: the official GitHub Action supports fail-on-block and SARIF upload, and Python/TypeScript SDKs let frameworks embed the same boundary.
  • Verifiable releases: SLSA Level 3 provenance, Minisign signatures under public key 75ECEC9B5080C590, and published SHA-256 checksums.
Limitations
  • Isolation weakens by platform: macOS has no unprivileged network namespaces and read isolation stays broad because of dyld; native Windows is only a Tier 3 guardrail with WSL2 recommended instead.
  • It depends on modern kernel features (Landlock ABI 1–6, cgroups v2); where they are missing it reports the guarantee as unsupported rather than degrading, so older hosts may be unusable.
  • Covering ~/Documents on macOS requires manually granting Full Disk Access, an extra setup step.
  • The release line is 0.5.x, and the upstream framework integrations listed in the README (CrewAI, AutoGen, goose, OpenHands, smolagents and others) are pending pull requests rather than shipped features.
  • Shim interception through ~/.vetto/shims changes how agent commands resolve on $PATH, which teams must manage with explicit enable/disable and audit flow.
  • Security claims rest on the project's own documentation and tests; no third-party independent audit is described.

How does this agent compare with similar options?

The project explicitly benchmarks itself against Docker and Docker-in-Docker: 500ms–2000ms container creation versus under 4ms between fork() and execve(); a 500MB+ dockerd daemon versus 0MB with no daemon; root or docker-group privilege versus unprivileged Landlock plus cgroups v2; rebuilding large images with compilers versus reusing host cargo, npm, pip and uv caches; orphaned containers and leaked processes versus synchronous extinction via cgroup.kill. For CI it positions the GitHub Action as a zero-Docker replacement for DinD, citing image pull delays, insecure --privileged flags and weak macOS/Windows runner support.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Vetto This agent 68 · Some gaps CLIFree ★ 45 1mo ago Rust Codex · Claude Code · OpenAI API · Claude API
Greywall Agent Sandbox 68 · Some gaps CLIFree ★ 316 3mo ago Go Codex · Claude Code
Node9 68 · Some gaps CLIFreemium ★ 225 today TypeScript Codex · Claude Code
microsandbox 71 · Some gaps CLIFree ★ 9.2k 1d ago Rust Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
68/ 100 5-point scale 3.4 / 5
Trust 19/29
Reliability 8/14
Adaptability 16/18
Convention 12/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust19 / 29 · 3.3/5

least_privilege = 3: SECURITY.md states unprivileged user-space execution, Landlock allowlisting, seccomp denial of ptrace/process_vm_readv/mount/bpf/userfaultfd, net off by default, and an allowlist-only child environment that withholds GH_TOKEN/OPENAI_API_KEY/ANTHROPIC_API_KEY/AWS_*. user_confirmation = 1: enable/disable shims are explicit commands, but there is no interactive confirmation for blocked operations, only fail-closed exit 125; thin. data_flow_transparency = 2: SECURITY.md says the broker is CONNECT-level only with no TLS interception, SNI filtering, or CA injection, yet the README platform table advertises a 'local TCP/TLS broker with SNI inspection' — an inconsistency that costs a point. sensitive_data_handling = 3: /dev/null and empty tmpfs overlays mask ~/.ssh, ~/.aws, .env; report sanitization is explicitly labeled best-effort; the ~/.gitconfig credential risk is called out. dependency_security = 2: CI runs cargo-deny (advisories + licenses) and gitleaks, dependencies are mainstream crates, but no lockfile or audit output is present to confirm current vulnerability status. external_effects = 2: net off by default and the broker rejects loopback/private/link-local/metadata resolutions, but allowlisted API endpoints still permit data egress and the README SNI claim contradicts SECURITY.md. rollback = 2: vetto diff/undo provide copy-on-write workspace snapshots, but snapshot scope, retention, and failure recovery are undocumented. source_attribution = 1: SLSA Level 3, Minisign key 75ECEC9B5080C590, and SHA-256 checksums are asserted in the README with no attestation, key, or checksum file in the repository to verify.

Reliability8 / 14 · 2.9/5

self_consistency = 1: README and SECURITY.md contradict each other on macOS tier status (Standard vs Experimental), on broker capability (SNI inspection vs never performs SNI filtering), and on supported versions (README badge v0.5.0 vs SECURITY.md table listing only 0.4.x/0.3.x). dependency_availability = 2: dependencies are common crates.io packages and rusqlite uses the bundled feature to reduce system coupling, but no Cargo.lock is committed so build reproducibility cannot be confirmed statically. failure_messages = 2: fail-closed exit 125, doctor --preflight capability probing, and reporting unenforceable guarantees as unsupported are described, but docs/exit-codes.md content is not present, so exit-code semantics rest on README summaries.

Adaptability16 / 18 · 4.4/5

audience_and_scenarios = 3: targets 22 agent runtimes including Claude Code, Codex, Cursor, and Aider, with profiles/agents/*.toml, PATH shims, direct run/eval, and a TUI; scenarios are clearly enumerated. capability_boundaries = 3: SECURITY.md devotes a full section to four non-protected threat classes (prompt injection inside authorized tools, legitimate writes inside the project, microarchitectural side channels, kernel/root compromise) plus residual risks such as setsid escape in FS-ONLY. trigger_precision = 2: vetto enable/disable, vetto run --, and vetto eval are clear, but PATH-shim precedence and conflicts with same-named agent binaries are not explained. environment_fit = 3: three tiers across Linux native/WSL2/macOS/Windows with per-platform capabilities and explicit recommendations (WSL2 on Windows, OrbStack on macOS).

Convention12 / 18 · 3.3/5

information_architecture = 2: README is well structured and links several docs, but none of the docs/ content is visible here, so link validity cannot be checked. install_notes = 2: npm, Homebrew, cargo, and curl installers are documented, but the curl pipe install lacks verification steps and the npm scope @shledery/vetto does not match the repository name shleder/vetto. naming_stability = 2: binary vetto, crate vetto, and npm scope @shledery coexist; mostly stable but the scope/repo mismatch is a latent inconsistency. examples_and_faq = 2: Quick Start with sample output plus benign/malicious/env_leak fixtures serve as examples, but there is no FAQ. known_limitations = 3: the 'What Vetto Does NOT Protect' section and residual-risk list are unusually specific, covering seccomp path races, FSEvents not reporting reads, and the macOS dyld read-fragmentation defect. license = 3: full Apache-2.0 text in LICENSE and license = "Apache-2.0" in Cargo.toml, consistent. versioning_changelog = 1: README badge and Cargo.toml both say 0.5.0, but there is no CHANGELOG and SECURITY.md still lists 0.4.x as current. maintenance_responsibility = 1: SECURITY.md gives a reporting channel and SLA, but the publisher is unverified and there is no MAINTAINERS/CODEOWNERS or governance statement.

Effectiveness9 / 13 · 3.5/5

output_usability = 2: vetto diff/undo, doctor --preflight --json, redteam --json, and JSONL reports are concrete output surfaces, but no sample output or schema is visible in these files. marginal_value = 2: it offers a daemon-less, agent-specific policy layer with presets relative to bubblewrap/Docker, but the performance comparison numbers come from a CI summary rather than a reviewable baseline file. cost_benefit = 2: sub-4ms startup and zero Docker overhead are claimed, with a ~184ms median e2e figure in CI; directionally reasonable but unverified, and macOS/Windows require downgrades or WSL2, raising real cost.

Verifiability4 / 8 · 2.5/5

claim_traceability = 1: SLSA Level 3, the Minisign public key, SHA-256 checksums, and the sub-4ms latency claim have no corresponding artifacts in the repository. cross_source_corroboration = 1: CI does include gitleaks, cargo-deny, redteam, and multi-platform tests consistent with the security posture, but the README's SNI inspection claim directly conflicts with SECURITY.md's 'never performs SNI filtering', so corroboration fails. fact_inference_separation = 2: SECURITY.md carefully separates enforcement from observation and states that missing audit events never imply permission, but README marketing language ('Proof Before Promises', deterministic blocking) sits alongside best-effort caveats, blurring the line.

Risks and how to mitigate them
  • README and SECURITY.md materially conflict: the README platform table claims a broker with SNI inspection while SECURITY.md states vetto never performs SNI filtering or TLS interception; macOS is labeled both Standard and Experimental; the supported-version table still lists 0.4.x while the badge says 0.5.0. Treat SECURITY.md as authoritative and verify actual behavior before deployment.
  • Supply-chain claims (SLSA Level 3, Minisign key 75ECEC9B5080C590, SHA-256 checksums) have no verifiable artifacts in the repository, and the curl pipe installer documents no verification step; prefer package managers and verify signatures independently.
  • The npm scope @shledery/vetto does not match the repository name shleder/vetto, and PATH-shim precedence against same-named agent binaries is undocumented, risking mis-execution or bypass.
  • On macOS the dyld workaround uses broad read permission (allow file-read* (subpath "/")), so credential read denial is not guaranteed; native Windows is guardrail-only and the project itself recommends WSL2.
  • Report sanitization is best-effort with both false positives and false negatives, and observation channels (/proc polling, FSEvents, seccomp notifications) are racy; a missing audit event never means the operation was allowed.
  • Publisher identity is unverified and there is no CHANGELOG, MAINTAINERS, or governance file, leaving maintenance responsibility and the update path unclear.
Evidence confidence: Low Reviewed Sep 26, 2026 Reviewed revision cba7a11367df
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/vetto.svg)](https://followagents.com/en/agents/vetto)
<a href="https://followagents.com/en/agents/vetto"><img src="https://followagents.com/badge/vetto.svg" alt="FARS review"></a>

FAQ

Do I need Docker or root privileges?
No. Vetto is daemon-less and rootless: it relies on unprivileged Landlock LSM and cgroups v2 on Linux, the built-in Seatbelt on macOS, and AppContainer/LPAC plus Job Objects on Windows, with no long-running service.
What happens when the host kernel cannot enforce a boundary?
Execution fails closed with exit code 125 instead of silently running unprotected. Use vetto doctor --preflight --json beforehand to confirm Landlock ABI, namespace and cgroups v2 availability.
Will it slow down my agent or break package installs?
Startup cost is under 4ms and there are no container layers to pull. Host toolchains and npm, uv and bun caches are mounted directly, so cargo, npm and pip keep working at native speed.
Is it locked to one model vendor or one agent?
No. It recognizes 28 agent binaries and supplies per-agent network allowlists and cache paths; endpoints such as Anthropic, OpenAI, Google, Moonshot or x.ai are simply permitted egress targets independent of which model you use.
Do macOS and Windows get the same isolation as Linux?
Not identically. Linux and WSL2 are Tier 1 with filesystem, network and PID namespace boundaries; macOS is Tier 2 with strict write confinement but broader reads, using --net=off or a loopback allowlist proxy; native Windows is a Tier 3 guardrail, with WSL2 recommended for Tier 1.
Is Vetto free?
Yes. Vetto is free to use and does not need a paid service.
Is Vetto open source?
Yes. The source code is on GitHub (shleder/vetto) under the Apache-2.0 licence.
Is Vetto safe to use?
FollowAgents' FARS review (Sep 26, 2026) scored Vetto 19/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is Vetto still maintained?
Development has slowed: the latest commit on GitHub is from 2026-10-04, within the last six months but not the last 30 days.
Who makes Vetto?
Vetto is published on GitHub by the account shleder. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts