Skip to content
mohameduk/mcp-argument-provenance·Indexed by this site · Originally publishedDate not given· Tools →

mcp-argument-provenance: using deterministic provenance verification to check whether MCP tool-call arguments come from the user, user state, or tool data

GitHub - mohameduk/mcp-argument-provenance: Argument provenance for MCP tool calls: a deterministic check that traces each consequential argument to the user, the user's own state, or tool output. San

AI summary

Developer Mohamed Ben Hadj Hmida released mcp-argument-provenance, which runs deterministic argument provenance verification as a Claude Code PreToolUse hook in front of the client and MCP connector, tracing whether each order parameter comes from the user's original words, the user's account state, or tool returns; values seen only in tool data are rejected, and any error blocks the action; the entire demo is a local simulation. The author reports that in a real Claude session on 2026-11-11, the current Claude model resisted all injection scenarios on its own, the guardrail allowed 4/4 real orders, offline tests passed 15/15, and an injected order for 500 shares of PUMP was rejected because the quantity did not match and the ticker had no source. The repository includes a draft SEP-2624 for an MCP interceptor argument provenance verifier, and the code uses the PolyForm Noncommercial 1.0.0 license.

Read originalgithub.com