secret-guard

by hagaybar · ★ 0 · updated 5 days ago

BandsStatus lineGuardsCommandswarnings

0

Keeps API keys, tokens and passwords out of the transcript, tool output, files, commits, PRs and issues.

install secret-guard

Install

/plugin marketplace add hagaybar/claude-secret-guard
/plugin install secret-guard@hagay-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.starttool.callsession.appendcommand.runui.render
API calls
$.clock.now$.command.register$.config.list$.config.set$.fs.read$.process.run$.session.cwd$.state.get$.state.set$.store.get$.store.set$.ui.notice$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePrompt
Can see
every tool call
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processeschanges configreads filespersists 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/hagaybar/claude-secret-guard
Path in repo
repository root
Source commit
108c7ac the exact code the scan read
Author
@hagaybar
License
No license declared — ask the author before reusing code.
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.