shim-cli
See what your coding agent sends and mask secrets and personal data
Visit website →About
shim-cli is an open-source CLI tool that works as a hook and local proxy for Claude Code, Codex, Copilot CLI and VS Code. It detects secrets and personal data in what your coding agent sends and masks them before they reach the model.
It detects email addresses, phone numbers, credit cards, API keys, passwords in commands, database URIs, and more. In Claude Code it masks data in tool results before the model reads them. In Copilot CLI it replaces the prompt entirely with redacted text.
The tool needs no account and sends no telemetry. Median hook cost is 70ms including interpreter startup, and shim audit reads Claude Code history locally to show statistics without revealing values. Over 2,300 tests run on every release.
AI-assisted draft, human-reviewed before publishing — see how we choose & review tools.
Why we picked it
shim-cli addresses a real privacy problem: coding agents send sensitive data without you noticing. The tool is practical, lightweight, open source, and shim audit gives you retrospective visibility without complexity.