taint-guard
by dortort · ★ 4 · updated yesterday
0
Remember which sensitive or untrusted sources entered a session and refuse risky tool calls once they have
Install
git clone https://github.com/dortort/claude-pluginsclaude --plugin-dir ./claude-plugins/plugins/taint-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.starttool.callclassic.SessionStartclassic.Stoptool.describesession.endsession.compactprompt.submitturn.startturn.completeui.rendercommand.run- API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.fs.write$.session.cwd$.session.id$.session.messages$.settings.read$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.log$.ui.resolve- Draws
AbovePrompt- Can see
every tool callclassic hookscompactionevery prompt- Reach
- level 2 of 3 writes filesreads filesreads env varsreads settingsreads the transcriptreads mod statepersists 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/dortort/claude-plugins
- Path in repo
plugins/taint-guard- Source commit
fb03f6athe exact code the scan read- Author
- @dortort
- 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.
More from dortort/claude-plugins
Related mods
Other mods in Bands, close to this one by stars.