Home / Claude Code mods / Security / secret-shield

secret-shield

secret-shield is a Claude Code mod by ryx2 that keeps secrets out of the transcript and out of the repo: redacts API keys, tokens, private keys and password URLs from tool results before Claude reads them, and refuses a Write, Edit or.

Updated 2026-10-17

What is secret-shield?

secret-shield is a Claude Code mod by ryx2 that keeps secrets out of the transcript and out of the repo: redacts API keys, tokens, private keys and password URLs from tool results before Claude reads them, and refuses a Write, Edit or. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorryx2
Repositoryryx2/slopshopper
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (100/100)
Rank#4,484 of 5,272 Claude Code mods; #468 in Security
LicenseMIT
Last commit2026-10-17
Hooks6 events
SeesBash calls, Write|Edit calls
Draws onAbovePrompt

Is secret-shield safe to install?

secret-shield scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.state.get
$.state.set
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install secret-shield?

  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/ryx2/slopshopper
    claude plugin validate ./slopshopper/mods/secret-shield
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/ryx2/slopshopper && claude --plugin-dir ./slopshopper/mods/secret-shield

Or ask Claude to set it up

Paste this into Claude Code and it installs secret-shield for you:

Install the "secret-shield" Claude Code mod from https://github.com/ryx2/slopshopper/tree/main/mods/secret-shield. Run claude plugin validate on it first and show me what it can access before you enable it.

More from ryx2/slopshopper

This repository has 6 Claude Code mods on MCPMods.

  • burn-rate: A fuel gauge above the prompt: context window fill, tokens in and out, dollars spent, dollars per hour, your plan's rate (Low risk)
  • receipts: A ledger of what Claude touched this session: files created and edited, commands run and whether they failed, the git di (Low risk)
  • slop-detector: Catches slop as Claude writes it: refuses a file edit that replaces code with a '... rest of the code' placeholder, and (Low risk)
  • test-pulse: Runs your test suite after every turn in which Claude changed source, and keeps the result above the prompt: green with (Low risk)
  • tripwire: Holds destructive commands until you say so: rm -rf, force pushes, git reset --hard, DROP TABLE, curl | sh, sudo, chmod (Low risk)