What is secret-guard?
secret-guard is a Claude Code mod by cloudcruncher that denies writing secret files, committing secrets, and pushing to main or force pushing. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | cloudcruncher |
| Repository | cloudcruncher/claude-mod-garage |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (72/100) |
| Rank | #5,396 of 9,397 Claude Code mods; #611 in Security |
| License | MIT |
| Last commit | 2026-11-02 |
| Hooks | 1 events |
| Sees | Bash calls, Write|Edit|MultiEdit|NotebookEdit calls |
| Draws on | nothing |
Is secret-guard safe to install?
secret-guard scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.env.get | reads env vars |
$.fs.read | reads files |
$.process.run | runs processes |
$.session.cwd |
How do I install secret-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/cloudcruncher/claude-mod-garage claude plugin validate ./claude-mod-garage/dev-mods/secret-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add cloudcruncher/claude-mod-garage && claude plugin install secret-guard@mod-garage
Or ask Claude to set it up
Paste this into Claude Code and it installs secret-guard for you:
Install the "secret-guard" Claude Code mod from https://github.com/cloudcruncher/claude-mod-garage/tree/main/dev-mods/secret-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from cloudcruncher/claude-mod-garage
This repository has at least 9 Claude Code mods on MCPMods.
- session-deck: See and message your other live Claude sessions (/live, /sessions, /tell), confirm risky shell commands, chime after lon (Low risk)
- agent-radar: Live side pane (/radar) showing what Claude and its subagents are doing right now: running tools, agent roster, recent a (Low risk)
- arcade: Tiny text-mode games in a pane: /doom (raycaster with wandering enemies) and /snake. (Low risk)
- auto-checkpoint: Snapshots files before edits and risky shell commands; /rewind-to restores them. (Review before installing)
- break-time: Coffee-break reminder: tracks active time and opens an animated ASCII pane with a countdown and stretch tips. (Low risk)
- context-guardian: Warns at 70% context and, at 85%, tells the model to wrap up and run /compact with keep-rules. (Low risk)
- cost-router: Status line with 5h usage and context %, toasts at 70/85% usage, and keyword-based model choice for unpinned subagents. (Low risk)
- git-band: A one-line band above the prompt showing the git branch, changed-file count and ahead/behind, refreshed after every turn (Low risk)