leakstop
by AlexandreMartinezOlmos · ★ 0 · updated 2 days ago
Stops secrets from leaking before they are written, printed or committed to git.
Install
/plugin marketplace add AlexandreMartinezOlmos/claude-code-leakstop/plugin install leakstop@leakstopThen 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.startprompt.submitcommand.runui.rendertool.call- API calls
$.clock.now$.command.register$.fs.exists$.fs.read$.process.run$.session.cwd$.session.surfaces$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.ask$.ui.close$.ui.log$.ui.open$.ui.resolve- Draws
AbovePromptPane- Can see
every promptEdit|Write|NotebookEdit callsBash callsRead callsWebFetch|WebSearch|Agent|SendMessage|SendFile|Artifact|ArtifactData|ArtifactComments|PushNotification|SendFeedback|RemoteTrigger calls/"^mcp__"/ calls- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processesreads 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/AlexandreMartinezOlmos/claude-code-leakstop
- Path in repo
leakstop- Author
- @AlexandreMartinezOlmos
- License
- MIT
- First published
- Last pushed
- First listed here
- On X
- Mentioned in 1 post on X
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.
Posts about this repo
Just built my first Claude Code mod! LeakStop stops the agent before it writes an API key into your code, dumps your env into the chat or git adds a private key. Runs locally, no network. Open source 👇 https://github.com/AlexandreMartinezOlmos/claude-code-leakstop