All shelves / Mods / Safety
secrets-guard
By BioInfo
secrets-guard is a Claude Code safety mod by BioInfo.
Denies writes of secret files and credential-shaped content, and Bash that would print those secrets.
Holds a command
Install
The marketplace name is slopless.
/plugin marketplace add BioInfo/slopless /plugin install secrets-guard@slopless
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 29
- Last change
- 2026-10-05
What it can reach
- Holds a command
- Sees tool calls
Claude Code 2.1.287 or later. It denies Edit, Write, and NotebookEdit on secret locations (dotenv files, private keys, ~/.ssh, ~/.aws, ~/.gnupg, and the pass store) and on content carrying a credential shape, including a password inside a URL. It also denies Bash writes to those paths and Bash reads that would print them. A checkout starts with claude --plugin-dir mods/secrets-guard. The README does not say anything leaves the machine.
The plugin folder has no README. These lines are the repository README. The closest listed mod is arasovic's secret-guard, which hides keys and blocks reads of credential files and commands that print secrets. Singh-AP's secret-shield replaces secrets in tool output. ray-amjad's secret-box opens a masked box and writes .env.
Demo

What it hooks into
tool.callAround a tool call, where it can hold oneEditWriteNotebookEditBash
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- BioInfo
- Category
- Safety
- Marketplace
- slopless
- Repo
- BioInfo/slopless
- Folder
- mods/secrets-guard
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 29
- Last change
- 2026-10-05
- Language
- Python
- Files
- 4