A decode-time defense keeps hidden instructions from critical calls
Agentic AI Defense: Decode-Time Provenance Binding for MCP · arXiv:2610.31974
In plain words
An agent can miss an instruction hidden in an email image until an image tool decodes it. After that, the instruction may pass between agents like ordinary output.
The paper introduces a defense that marks decoded content as untrusted and checks its recorded path before allowing critical tool calls. In a test of 24 attacks, the defense blocked them all, as did an in-process taint baseline. The result is limited to the tested setup.
The research
How can a hidden instruction in an email image become trusted control input after an agent decodes it and relays the text? The paper examines this gap in text-focused defenses, where the instruction becomes readable only at the decoding step.
The authors introduce a runtime defense that marks decoded content untrusted and checks its recorded lineage before critical tool calls.
The authors introduce decode-time provenance binding, a runtime defense for agents using tools through the Model Context Protocol. It marks decoded output untrusted and lets the protocol layer check its recorded lineage before a critical tool call.
In a 24-attack test, the defense and an in-process taint baseline had no leaks, while text scanners each leaked on 62.5% of attacks. The comparison supports lineage checks for this attack bank, not a general advantage over other provenance systems.
The results come from a controlled testbed with 24 attacks, one cover logo and one small local model. The security guarantee also depends on the MCP layer mediating every critical call and recording complete lineage; instructions paraphrased outside that path are not covered.
What the evidence shows
- When images carry instructions
Decode-time provenance binding is a runtime defense for agents that use tools through the Model Context Protocol (MCP). The paper asks how an instruction hidden in an email-signature image can become trusted input after a tool decodes it and agents relay its text.
In the described attack, text scanners see no suspicious words in the image; the instruction enters the agent’s context only when a decoding step runs.
- Track the moment of decoding
The defense marks output from registered decoding tools as untrusted at the moment it is produced. The MCP layer signs a record of the output and its dependencies, keeps the lineage ledger itself, and checks that record and the context before a critical tool call.
This targets the point where hidden content becomes readable, rather than judging whether the image itself looks suspicious.
- Compare tested defenses
In a real MCP testbed, researchers counted leaks across 24 attacks using three image carriers and eight evasions. The undefended pipeline leaked on all attacks, while a keyword scanner and a regular-expression parser each leaked on 62.5%.
The proposed defense and an in-process taint baseline each had no leaks in this attack bank, showing that both blocked the tested attacks within one trust domain.
- Check two distinct protections
A valid trusted label alone did not protect against an agent hiding the untrusted decode that influenced a critical call: the label-only verifier allowed it, while the layer’s lineage check blocked it. In a three-scenario component test, removing signature checks allowed a forged cross-domain relay, while removing lineage tracking allowed label substitution. The findings distinguish what the two protections did in those tested scenarios.
- Preserve authorized work
Treating every decoded value as untrusted falsely blocked one of three legitimate tasks, an authorized payment using an image-read invoice number. An audited promotion path allowed that value to be treated as trusted: all three tasks then completed without false blocks, and the unauthorized attack stayed blocked.
This result and the attack tests come from a controlled testbed, and the guarantee assumes complete lineage capture and mediated critical calls.
Deep
- Original paper authors
- Eric Yocam, Varghese Vaidyan, Paris Kalathas, Patrick Tague, Bruce DeBruhl
- Submitted to arXiv
- License
- CC BY 4.0