Taint Sentry
PLUGINProvenance and taint tracking for tool results.
by YAN-XBT · v0.1.0
What it does
Provenance and taint tracking for tool results. Every tool result is stamped with where it came from; content authored by a third party (web fetches, MCP servers, screenshots, images, and files written from untrusted content) is stripped of invisible characters, wrapped in an <untrusted> marker, and marks the session as tainted.
While a session is tainted, side-effecting tool calls are checked against a policy: credential reads, and writes into files the agent reads as instructions (AGENTS.md, SKILL.md, hook handlers, Ulpi's own config), are refused; network egress and writes outside the workspace go to Ulpi's own approval gate, which is never auto-approved. A call is evaluated as the call it really makes: tool_call, execute_code and process_manage are unwrapped to what they actually run, taint is copied into subagents, and an encoded payload is decoded and judged by what it decodes to.
What is reliable and what is not: the taint mark is provenance-based — it comes from which tool produced the content, not from guessing at it. The credential, egress and write detectors are best-effort pattern matching over tool arguments, so an obfuscated command, a payload assembled to avoid the patterns, and writes through the memory or cron tools can get past them.
A seatbelt, not a sandbox; the README's Known limitations lists exactly what is out of scope. Ten rules, each tunable to allow/monitor/escalate/block; a receipts ledger.
Disclosure — no network access, no credentials, no python dependencies and no core overrides: it reads tool arguments and results in-process, writes its decisi
Tools it adds
The tools an agent gets once this plugin is installed.
- taint_status
- taint_receipts
How to set it up
The pane changes a rule on the user's click; a tool call that tries the same thing — the CLI,, or that API over loopback — is refused.
config.yaml
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve