taint-guard

by dortort · ★ 4 · updated yesterday

BandsGuardsCommandsPromptwarnings

0

Remember which sensitive or untrusted sources entered a session and refuse risky tool calls once they have

install taint-guard

Install

git clone https://github.com/dortort/claude-plugins
claude --plugin-dir ./claude-plugins/plugins/taint-guard

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.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
fb03f6a the 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

artifact-callbacks

dortort/claude-plugins

Turn clicks on HTML pages Claude writes into follow-up prompts in the running session, through a loopback-only listener

★ 4BandsStatus lineGuards

Other mods in Bands, close to this one by stars.