Home / Claude Code mods / Security / secret-guard

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.

Updated 2026-11-02

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.

TypeClaude code mod
Authorcloudcruncher
Repositorycloudcruncher/claude-mod-garage
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (72/100)
Rank#5,396 of 9,397 Claude Code mods; #611 in Security
LicenseMIT
Last commit2026-11-02
Hooks1 events
SeesBash calls, Write|Edit|MultiEdit|NotebookEdit calls
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.env.getreads env vars
$.fs.readreads files
$.process.runruns processes
$.session.cwd

How do I install secret-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)