ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add BioInfo/slopless
/plugin install secrets-guard@slopless
Open the repo

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

The secrets-guard section on the author's GitHub page
Screenshot of the author's GitHub page.

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

Other mods in Safety

wp-credential-guardnathanonnHolds a commandMasks a WordPress username and application password, refuses a slash command that carries one, and denies Bash when a placeholder is unknown.cockpittsergeytovarovHolds a commandDraws context weather and the plan limits above the prompt, and can stop a dangerous command.taxi-speedcamdevbrother2024Holds a commandStops a risky shell command and asks before it runs, shown as a taxi speed camera.guardrails-mdberget-aiHolds a commandSends each Bash command to a Berget AI scoring model and blocks it when the score says it destroys data, leaks a secret, or breaks your GUARDRAILS.md.pdpa-thaiBoom-VittHolds a commandRefuses a tool call that repeats a placeholder for Thai or other personal data it redacted before sending, and masks that data on screen.subagent-fenceerikdarlingdataHolds a commandRefuses a force-push, a push to a protected branch, a git command that skips hooks, and killing a process by name.launch-codesOneWave-AIHolds a commandHolds a dangerous shell command until you type a one-time code and press LAUNCH, and denies it otherwise.dogmaMarcel-BichHolds a commandRuns, asks about, or blocks git commands and deletes by your DOGMA-PERMISSIONS.md, always denies deleting a protected path, and draws the restricting rules.guard-packatretyak1985Holds a commandHolds file tools and shell moves that leave the project's roots, asks before a production deploy, and redacts secrets in a tool result before Claude reads it.supabase-guardSzotaszHolds a commandAsks before a Supabase write aimed at another project, or a destructive call, and stops the call when you refuse.secret-panebengousHolds a commandOpens a masked box beside the transcript when Claude needs a secret, gives Claude a placeholder, and puts the real value back only inside a Bash command.ultramodmertkayacsHolds a commandPacks ten mods: limits and context above the prompt, a guard with undo for rm -rf and git reset --hard, .env reads refused, and a receipt under each answer.
All 73 in Safety