claude-code-safety-net
github.com · Open source · Active
Guard that blocks destructive git and file commands from AI coding agents
- Security & privacy
- Open source
- TypeScript
- Day-7 check
- Day-30 check
- ai safety
- git
- guardrails
- claude code
- claude
- claude code plugin
- security
- codex
- pi extension
- ai agent
- Stars
- 2.1k
- Forks
- 102
- Open issues
- 2
- Last commit
- Releases
- ≥ 105
- Found
- 11 months ago
GitHub figures as of . They are context, not a ranking.
claude-code-safety-net is a pre-execution guard for AI coding agents that blocks destructive git and filesystem commands before they run. It supports agents such as Claude Code, Codex and Cursor, which suits developers who let agents run shell commands.
Repository description on GitHub: “A pre-execution guard for AI coding agents. It blocks destructive Git and file system commands, plus common attempts to access sensitive files, before a tool call runs. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, DeepSeek Harness, Devin CLI, GitHub Copilot CLI, Grok Build, Hermes”
What it does
- Blocks destructive git and filesystem commands before they run
- Supports Claude Code, Codex, Cursor and other AI coding agents
- Packaged as a Claude Code plugin
Good for
- Stop an agent from running destructive git reset or rm commands
- Let AI coding agents run shell commands with a safety check first
Suits: Developers who let AI coding agents run shell commands.
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw claude-code-safety-net on , when kenryu posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release landed the same day it was found. 105 releases or more have been published in total; the latest is v2.9.0 ().
Day-7 and day-30 updates
Day 7 not reconstructed
- This project has more than 100 releases, and Kip did not page back far enough to count the ones from this window.
- Show HN discussion at check time: 61 points, 69 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 7 releases shipped
- 7 releases in the first 30 days: v0.4.0 (7 Jan 2026), v0.4.1 (8 Jan 2026), v0.5.0 (10 Jan 2026), v0.5.1 (11 Jan 2026), v0.6.0 (15 Jan 2026), v0.6.2 (19 Jan 2026), v0.7.0 (23 Jan 2026)
- Show HN discussion at check time: 61 points, 69 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: kenryu42/claude-code-safety-net
- Release v0.1.0
- Found: kenryu posted it to Show HN. Show HN
- Release v2.7.15
- Release v2.8.0
- Release v2.8.1
- Release v2.8.2
- Release v2.8.3
- Release v2.9.0
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 105 releases. All releases on GitHub
Quick answers
- When was claude-code-safety-net released?
- Its first tagged release on GitHub is dated 25 Dec 2025. Kip found it on Show HN on 26 Dec 2025.
- Is claude-code-safety-net open source?
- Its source is public on GitHub at kenryu42/claude-code-safety-net under the MIT licence.
- What does claude-code-safety-net run on?
- macOS, Windows, Linux, Command line.
- Is claude-code-safety-net free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is claude-code-safety-net still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | kenryu42/claude-code-safety-net REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-46388882. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
- Destructive Command GuardActive
Safety hook that blocks destructive shell and git commands from AI agents
- Stop That ShitActive
Hook and skill guard that blocks unrequested hashes and scope creep in coding agents
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.