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.
| Type | Claude code mod |
|---|---|
| Author | KROU4 |
| Repository | KROU4/claude-code-mod-showroom |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Low risk (96/100) |
| Rank | #6,938 of 9,397 Claude Code mods; #734 in Security |
| License | MIT |
| Last commit | 2026-11-30 |
| Hooks | 1 events |
| Sees | every tool call |
| Draws on | nothing |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| 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 |
|---|---|
$.state.get | |
$.state.set | |
$.ui.status | draws interface |
$.ui.toast | draws interface |
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/KROU4/claude-code-mod-showroom claude plugin validate ./claude-code-mod-showroom/mods/secret-guard/plugin
- 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)