shim-cli
FreeApache-2.0 local CLI that inspects what Claude Code, Codex, Copilot CLI and VS Code send, detects secrets/PII, and masks where the client allows it.
Pros
- +No account, API key or telemetry; runs on your machine
- +Native hooks for Claude Code, Codex and Copilot CLI plus a VS Code plugin path
- +Audit mode summarizes what already left Claude Code sessions without printing secrets
Cons
- −Prompt masking is limited by what each client exposes to hooks
- −macOS/Linux only; Windows unsupported; detection is best-effort not DLP
Where shim-cli ranks
- #5 Agent sandboxes & guardrails
Local hooks that catch secrets and personal data before coding agents send them; exposure reduction, not DLP.
Recent releases
Other top picks for agent sandboxes & guardrails
- E2BHosted sandboxes for AI agents to run code, with Apache-2.0 open-source SDKs for Python and JavaScript and per-second CPU/RAM billing.
- Perplexity SPACEPerplexity's Apache 2.0 sandbox platform that runs agent and user code in isolated Firecracker microVMs, driven over an HTTP API.
- DaytonaHosted infrastructure for running AI-generated code in sandboxes that start in milliseconds, billed per second, with Linux, Windows and GPU options.
- withHumanOpen-source approval layer for AI agents: intercepts tool calls, applies org rules, and escalates risky actions to humans via the Agent Approval Protocol.