VESTIGE v7.1.1
LOCAL RUST KERNEL · ZERO CLOUD API KEYS

Stop AI Coding Agents From Leaking Secrets

Block credential exfiltration sinks, curl-to-bash pipes, and hidden Unicode smuggling before packets leave your machine while confining subagents with HMAC-BLAKE3 Passports.

Test Secret Exfil Firewall Live Test Subagent Capability Passports

Why Default Mitigations Fail

  • A single prompt injection inside a third-party issue or dependency README can instruct an unguarded coding agent to curl .env or ~/.ssh/id_rsa to an external webhook.
  • Cloud memory plugins transmit code context off your laptop by default, creating secondary exposure outside your git checkout.
  • Spawned helper subagents without attenuated file scopes can read unrelated credential directories.

How Vestige Solves It Locally

  • Vestige blocks curl, wget, irm, iwr, and Invoke-RestMethod piped into shells or iex via OP-002 and blocks outbound credential uploads via OP-003.
  • Concealed Unicode directional overrides and TAG smuggling payloads fail closed before execution.
  • Subagent Passports enforce offline ReadOnly and AllowPathPrefixes caveats plus TaintedSession separation against poisoned web text.

One-Command Setup Across Claude Code, Cursor, Windsurf, Codex, and Antigravity

npx @vestige/init

MCP config or verification reference:

precedent(query="scan_secrets")

Step-by-Step Hardening Checklist

  1. Enable local-first Vestige PreToolUse rules: Install via npx @vestige/init so OP-002, OP-003, and OP-TRIFECTA-EGRESS block secret egress and pipe-to-shell commands locally.
  2. Attenuate subagent privileges with path caveats: Use Subagent Passports so read-only scouts cannot mutate code or inspect paths outside assigned crate directories.
  3. Scan staged changes using precedent: Call precedent with scan_secrets before committing to catch credentials before they reach git history.

Documented Production Incidents & References

Frequently Asked Questions

How does Vestige stop prompt-injected agents from curling .env files?

vestige-hook evaluates normalized command segments in Rust before execution, matching credential paths and network egress sinks across OP-002, OP-003, and OP-TRIFECTA-EGRESS even when obfuscated with backslashes.

Can untrusted web pages overwrite pinned rules in Vestige memory?

No. VoiceProvenance marks sessions after reading untrusted external content and prevents tainted sessions from superseding owner-authored Strata rules.

Does Vestige upload my codebase or secrets to scan them?

No. Both PreToolUse command gating and precedent secret scanning run locally on your machine with zero outbound network calls.