shim-cli
shim-cli is a free, Apache-2.0 command-line tool that hooks into Claude Code, Codex, Copilot CLI and VS Code to find secrets and personal data in what an agent sends, mask it where the client allows, and report session tokens and cost.
About shim-cli
What is shim-cli?
A free, open-source (Apache-2.0) CLI that shows what your coding agent sends to the model and masks secrets and personal data where the client allows it.
Supported agents
- Claude Code: native hook; files and tool results masked before the model reads them
- Copilot CLI: prompt replaced with a redacted version
- Codex and VS Code: report, and block in enforce mode
What it detects
Emails, phone numbers, cards, IBANs, API keys and secrets, passwords, database URIs, IP and MAC addresses, US SSNs, Turkish IDs and custom patterns.
Visibility
shim watch -- claude: tokens, spend and sensitive values per sessionshim audit: counts across past sessions without printing values
Pricing
Free, no account, no telemetry. macOS and Linux. The company also offers an AI Gateway with a free Developer tier and an Enterprise plan.
Value & Audience
Value Proposition
Gives developers a local, account-free way to see what their coding agent leaks to the model and to mask secrets and personal data before it leaves the machine, where the client supports it.
Problem Solved
Coding agents read files, configs and command output and send them to a model provider, which can include API keys, database URLs and customer data. shim-cli detects those values, masks or blocks them, and shows what each session sent and cost.
Target Audience
Tech Stack
Other
Social & Links
Additional Links
Loading ratings...
Loading comments...
Gallery
Feedback & Roadmap
shim-cli FAQ
Common questions about shim-cli's features, pricing, and use cases
Is shim-cli free to use?
Yes. shim-cli is open source and free to use.
What are some alternatives to shim-cli?
Popular Security & Privacy alternatives to shim-cli include RoomGrade, SAM - Chrome Web Store and Presend.
shim-cli appears in
You May Also Like
RoomGrade
AI-powered due diligence tool for founders to identify and mitigate red flags in their data rooms before investors conduct formal diligence.
View ProductSAM - Chrome Web Store
A powerful open-source adblocker featuring fingerprint protection and YouTube ad skipping.
View ProductPresend
Free browser-based tools to clean, compress, and prepare files before you share them without ever uploading your data.
View ProductVaultX
A modern, privacy-first offline password manager built with Flutter and SQLite.
View ProductOne email a week
TechLogHub tracks 1,067 tools and 644 open-source projects. Get the week's new launches, release roundups and open-source picks — nothing else.
Get the TechLogHub digest
One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.


