Free & Open Source (Apache-2.0) · Self-hosted · MCP stdio proxy · Cedar policies

A provenance firewall for MCP tool calls

AgentTaint sits between your agent and its tools and stops calls driven by untrusted content. Try it right here: give the agent an email with a hidden instruction and see what happens with and without AgentTaint.

  1. 1 Pick an example or write your own
  2. 2 Run it
  3. 3 See what AgentTaint decides

The agent here is a deliberately obedient mock: it follows any send instruction it reads, even inside the email. Its proposed tool call is then judged by the real AgentTaint gateway and policy on our server. Tools are mocks; nothing is sent.

Your result appears here.

Pick an example on the left (or write your own) and press Run. You will see what an unprotected agent would do, what AgentTaint decides and why, and the provenance graph of the run.

What it does

Tracks where arguments come from

Every tool result becomes a labeled span (user, internal, untrusted tool output). Links between spans carry evidence: KNOWN, INFERRED, UNKNOWN or PARTIAL. Inferred links are never upgraded to known.

Decides on every tool call

A Cedar policy returns ALLOW, CONFIRM or BLOCK for each call from the tool's risk tier and the provenance of its arguments. If the provenance store is unreachable, high-risk calls fail closed.

Asks a person, out of band

CONFIRM holds the call. Approval happens in the dashboard or a terminal, never through the agent: it is bound to the exact arguments, works once and expires. The agent has no approve tool.

Flags broken lineage

When an uninstrumented step hides where a value came from, lexical, structural and optional semantic matching flag likely untrusted influence. It is a scrutiny signal, not proof, and it is labeled that way.

How it works

  1. 1

    Point your MCP client at the proxy

    Replace the server entry with `agenttaint proxy --config agenttaint.yaml`.

  2. 2

    The proxy starts your MCP server

    It forwards tools/list, and labels every tool result with its origin.

  3. 3

    Each call is evaluated

    ALLOW is forwarded. CONFIRM waits for a person. BLOCK is refused with the reason.

  4. 4

    Review in the dashboard

    Provenance graph, audit log with policy ids and argument hashes, approval queue.

{
  "mcpServers": {
    "files-protected": {
      "command": "agenttaint",
      "args": ["proxy", "--config", "/home/you/agenttaint/agenttaint.yaml"]
    }
  }
}

Works with MCP clients that launch stdio servers (desktop apps and IDE clients). The protected server keeps running unchanged behind the proxy.

Screenshots

Console overview: decisions over time, risk gauges, destinations.
Console overview: decisions over time, risk gauges, destinations.
Provenance graph for one trace, with the blocked send selected.
Provenance graph for one trace, with the blocked send selected.
Audit log: every decision with its policy and explanation.
Audit log: every decision with its policy and explanation.
Approval queue: held calls wait for a person (self-hosted).
Approval queue: held calls wait for a person (self-hosted).

What it does not do

  • It filters tool calls. It does not stop a model from saying something wrong in its reply.
  • Reconstruction signals are heuristics. Heavy paraphrase or values split across messages can evade them.
  • Results so far come from our synthetic benchmark and a sampled external benchmark run with one real model. They are not production attack-prevention rates.
  • Remote (HTTP) MCP servers, MCP resources and prompts are not proxied yet.

Read the full limitations →

Open source & optional hosted support

Self-Hosted (Apache-2.0)

Free open source

  • Full AgentTaint code under the Apache License 2.0
  • agenttaint CLI: proxy, approvals, dashboard
  • Docker Compose stack with Postgres
  • Out-of-band approvals with single-use tokens
  • Public hosted demo with mock tools (approvals locked)
Open the demo