secret-guard
by Legostin Vyacheslav · ★ 1 · updated 5 days ago
0
Keeps secrets out of Claude's context: gitleaks scans every tool output, prompt and attachment before the model reads it, and you decide what the model sees.
Install
/plugin marketplace add legostin/claude-code-secret-guard/plugin install secret-guard@secret-guardThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runui.renderprompt.composetool.callsession.appendprompt.submitprompt.mentionprompt.attachmentprompt.context- API calls
$.clock.after$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.process.run$.prompt.fill$.session.id$.session.root$.state.get$.state.set$.store.get$.store.set$.ui.ask$.ui.open$.ui.resolve$.ui.status$.ui.toast- Draws
Pane- Can see
every tool callevery promptthe system prompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processeswrites the prompt boxreads filesreads env varspersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/legostin/claude-code-secret-guard
- Path in repo
- repository root
- Source commit
abd1562the exact code the scan read- Author
- Legostin Vyacheslav @legostin
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.