Latest / Security & privacy

claude-code-safety-net

github.com · Open source · Active

Guard that blocks destructive git and file commands from AI coding agents

Visit github.com ↗Share

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

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 19). Based on the most recent releases on record.
  1. Repository created on GitHub: kenryu42/claude-code-safety-net
  2. Release v0.1.0
  3. Found: kenryu posted it to Show HN. Show HN
  4. Release v2.7.15
  5. Release v2.8.0
  6. Release v2.8.1
  7. Release v2.8.2
  8. Release v2.8.3
  9. Release v2.9.0
  10. Day-7 check recorded by Kip (details)
  11. 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

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorykenryu42/claude-code-safety-net
REST API record
GitHub Releasesrelease 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

More in Security & privacy

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.