Logo image
Agentic AI Defense: Decode-Time Provenance Binding for MCP
Preprint

Agentic AI Defense: Decode-Time Provenance Binding for MCP

Eric Yocam, Varghese Vaidyan, Paris Kalathas, Patrick Tague, Bruce DeBruhl and Yong Wang
10/22/2026

Abstract

Computer Science - Artificial Intelligence Computer Science - Cryptography and Security Computer Science - Multiagent Systems
Agentic AI systems—large language model (LLM) agents that call tools through the Model Context Protocol (MCP)—are increasingly defended against indirect prompt injection by tracking data provenance: text returned by a tool is labeled untrusted and barred from driving dangerous actions. These defenses label at the text channel. We show this is bypassed by a benign-looking image—a logo in an email signature—that hides an instruction via steganography (least-significant-bit [LSB], discrete cosine transform [DCT], or metadata), passes text scanners that see only pixels, and becomes an instruction only when a tool decodes it, laundering it into the agentic system’s trusted control flow. As a defense we propose decode-time provenance binding: within a fully mediated MCP execution environment, the MCP layer mints a keyed-hash message authentication code (HMAC)-signed Untrusted label the instant a concealment-reversing tool runs and itself maintains the complete provenance lineage of each critical call, so a verifier blocks any call whose lineage is untrusted—even when a compromised agent presents a valid label for an unrelated trusted value. On a real MCP testbed of three carriers and 24 adaptive payloads, the undefended pipeline leaks on 100% of attacks, a keyword scanner and a regex parser on 62.5% each, and our mechanism on 0%; an in-process taint baseline matches us within one trust domain but fails once a label crosses a compromised relay. A four-component ablation isolates decode marking, HMAC authentication, trusted lineage tracking, and sink mediation, and an audited trusted-promotion path raises legitimate-task completion from 67% to 100% without loss of protection. It contains rather than detects, so it is wording- and carrier-independent. Code and data are released.

Metrics

1 Record Views

Details

Logo image