Home / Claude Code mods / Security / secret-guard

secret-guard

secret-guard is a Claude Code mod by KROU4 that stops Claude from reading .env files, private keys and credentials.

Updated 2026-11-30

What is secret-guard?

secret-guard is a Claude Code mod by KROU4 that stops Claude from reading .env files, private keys and credentials. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
AuthorKROU4
RepositoryKROU4/claude-code-mod-showroom
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (96/100)
Rank#6,938 of 9,397 Claude Code mods; #734 in Security
LicenseMIT
Last commit2026-11-30
Hooks1 events
Seesevery tool call
Draws onnothing

Is secret-guard safe to install?

secret-guard scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
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
$.state.get
$.state.set
$.ui.statusdraws interface
$.ui.toastdraws interface

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/KROU4/claude-code-mod-showroom
    claude plugin validate ./claude-code-mod-showroom/mods/secret-guard/plugin
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add KROU4/claude-code-mod-showroom && claude plugin install secret-guard@mod-showroom

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/KROU4/claude-code-mod-showroom/tree/main/mods/secret-guard/plugin. Run claude plugin validate on it first and show me what it can access before you enable it.

More from KROU4/claude-code-mod-showroom

This repository has at least 9 Claude Code mods on MCPMods.

  • context-gauge: See how full the context window is, right in the hint line under the prompt. (Low risk)
  • done-ping: A native notification when a long turn finishes, so you can look away. (Low risk)
  • focus-timer: A Pomodoro countdown above the prompt, with pause, stop and an end-of-session notification. (Low risk)
  • git-glance: Branch, changed files and commits ahead or behind upstream, in a status entry under the prompt. (Low risk)
  • prompt-snippets: Save a prompt once, insert it anywhere with /snip, and quote your selection with /quote. (Low risk)
  • spinner-pack: Themed spinner packs: moon, braille or coffee verbs and glyphs that follow each phase of a turn. (Low risk)
  • tool-timeline: A live pane of every tool call: its status, what it worked on and how long it took. (Low risk)
  • turn-meter: Each turn's duration, tool calls and tokens in a band above the prompt, with a 12-turn sparkline. (Low risk)