r/coolgithubprojects • u/Dry-Smell436 • 47m ago
I built haltwire, an open-source tripwire for AI coding agents (Claude Code, Antigravity). Looking for testers and blunt feedback
Hi r/coolgithubprojects ,
AI coding agents now run shell commands, install packages and edit files on our laptops, often in "accept all" mode. One poisoned repo or lookalike package can get an agent to leak your keys while it thinks it's doing honest work.
So I built haltwire (MIT). It sits between the agent and your machine and checks every tool call before it runs:
- Normal work goes through: reads and edits inside the project aren't interrupted.
- Lookalike packages wait for you: pandaz-csv instead of pandas gets held as TYPOSQUAT.
- Decoy secrets: init plants fake credentials (.env.backup, deploy_key.pem, .aws/credentials.bak). If the agent reads one or tries to send it out in any encoding, the folder freezes.
- The agent can't edit its own hooks to switch haltwire off.
- Optional AI judge (your own Gemini key) flags off-task actions. It can only add scrutiny, never allow something the rules would hold.
- Every decision is logged in a signed, hash-chained audit log; haltwire verify checks nothing was changed.
Try it (about 2 minutes): you need Node.js 18+, git and uv.
cd your-project
npx haltwire init # add --agy for Antigravity
haltwire watch # dashboard; keep it open
# second terminal, same folder:
claude # or: agy
The README has a 2-minute demo with a fake typosquat and decoy keys, so you can see every kind of decision safely: Github
Known limits (I'd rather you hear them from me):
- Full interception only works for Claude Code and Antigravity. Codex, Cursor and Windsurf are covered only through haltwire's MCP tools; their built-in tools aren't intercepted.
- Hooks are set per folder, so an agent started in another folder isn't protected.
- Reading your real .env is allowed by default. Sending it out is what gets stopped.
- Tested on Windows and Linux only. macOS is untested, so Mac testers would help a lot.
What I'd love from you:
- Run it on a real project for a day. Did it get in your way? What false alarms did you hit?
- Try to get past it. If you find a bypass, please open an issue (or a private report for anything serious).
- Which agent should be fully supported next: Cursor, Codex or something else?
- Is the watch dashboard clear, or confusing?
It's early (v0.1.6). Honest criticism is more useful to me than stars. Thanks!