WIRE-DIFC: Zero-Annotation Wire-Level Information Flow Control, Provider-Binding Canonicalization, and Schema-to-Kernel Sandboxing for Multi-Transport AI Agents

Modern AI coding and enterprise agents (Claude Code, Cursor, Gemini CLI, Codex, and Model Context Protocol [MCP] hosts) unify reading private credentials ([P]), ingesting untrusted content ([U]), and invoking state-mutating or network-egress tools ([S]) in one context window. Coarse session-monotonic taint freezes up to 60% of multi-step coding workflows after reading an untrusted issue, whereas dual-pass masked re-execution (MELON) adds a 2x-3.62x token multiplier and ~2,450 ms per-call latency while missing Day-0 schema poisoning and cross-session stored injections. We present WIRE-DIFC (mcp-cage v0.4.3), a zero-annotation, cross-transport Decentralized Information Flow Control (DIFC) reference monitor and schema-to-kernel sandbox compiler. Interposing on JSON-RPC 2.0 wire frames (Plane A) and host lifecycle hooks (Plane B), WIRE-DIFC enforces a Provenance-Parameterized Security State Join-Semilattice L = (I, C, E_U, tau_H, Z_k) that: (1) separates non-decaying external sink provenance (lambda_entity = 0) from human-turn step-up leases (tau_H), (2) replaces raw secrets prior to context entry with salted, format-compliant vault handles under strict auth-slot re-hydration, (3) neutralizes provider misbinding via recursive 4-slot wire canonicalization, (4) defeats cross-session stored prompt injection (CLAUDE.md) via SessionStart and line-span provenance checkpointing in SQLite WAL, and (5) compiles mcp-lock.json schemas into macOS Seatbelt SBPL and Linux Landlock/Bubblewrap sandboxes. Across the 800-scenario WIRE-EVAL suite (5,100 events), five live systems/kernel validation suites (E_1-E_5), and a 31-wave, 448-repository audit (321,392 GitHub stars, yielding 57 zero-day disclosures: 6 published GHSAs and 51 anonymized disclosures), WIRE-DIFC achieves 0.4% tool-layer Attack Success Rate (ASR) at H_0 = 3.35 bits/char (0.0% at H_0 = 3.25), 100.0% benign utility (0.0% FPR), and 0.0767 ms median per-scenario SQLite WAL latency (0.0230 ms per frame).

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24642290
Primary Topic
Security and Verification in Computing
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

WIRE-DIFC: Zero-Annotation Wire-Level Information Flow Control, Provider-Binding Canonicalization, and Schema-to-Kernel Sandboxing for Multi-Transport AI Agents

Nagarajulu Aerakoni
Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
preprint

WIRE-DIFC: Zero-Annotation Wire-Level Information Flow Control, Provider-Binding Canonicalization, and Schema-to-Kernel Sandboxing for Multi-Transport AI Agents

Nagarajulu Aerakoni
preprint en

Abstract

Modern AI coding and enterprise agents (Claude Code, Cursor, Gemini CLI, Codex, and Model Context Protocol [MCP] hosts) unify reading private credentials ([P]), ingesting untrusted content ([U]), and invoking state-mutating or network-egress tools ([S]) in one context window. Coarse session-monotonic taint freezes up to 60% of multi-step coding workflows after reading an untrusted issue, whereas dual-pass masked re-execution (MELON) adds a 2x-3.62x token multiplier and ~2,450 ms per-call latency while missing Day-0 schema poisoning and cross-session stored injections. We present WIRE-DIFC (mcp-cage v0.4.3), a zero-annotation, cross-transport Decentralized Information Flow Control (DIFC) reference monitor and schema-to-kernel sandbox compiler. Interposing on JSON-RPC 2.0 wire frames (Plane A) and host lifecycle hooks (Plane B), WIRE-DIFC enforces a Provenance-Parameterized Security State Join-Semilattice L = (I, C, E_U, tau_H, Z_k) that: (1) separates non-decaying external sink provenance (lambda_entity = 0) from human-turn step-up leases (tau_H), (2) replaces raw secrets prior to context entry with salted, format-compliant vault handles under strict auth-slot re-hydration, (3) neutralizes provider misbinding via recursive 4-slot wire canonicalization, (4) defeats cross-session stored prompt injection (CLAUDE.md) via SessionStart and line-span provenance checkpointing in SQLite WAL, and (5) compiles mcp-lock.json schemas into macOS Seatbelt SBPL and Linux Landlock/Bubblewrap sandboxes. Across the 800-scenario WIRE-EVAL suite (5,100 events), five live systems/kernel validation suites (E_1-E_5), and a 31-wave, 448-repository audit (321,392 GitHub stars, yielding 57 zero-day disclosures: 6 published GHSAs and 51 anonymized disclosures), WIRE-DIFC achieves 0.4% tool-layer Attack Success Rate (ASR) at H_0 = 3.35 bits/char (0.0% at H_0 = 3.25), 100.0% benign utility (0.0% FPR), and 0.0767 ms median per-scenario SQLite WAL latency (0.0230 ms per frame).

Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon