From Attack Surface to Defense Architecture: Compositional Security for Agentic Coding Harnesses
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
AI coding harnesses couple language models to shells, filesystems, and network sockets so that agents can resolve issues and run tests. That coupling turns the harness into an automated Living-off-the-Land (LotL) platform: once an adversary can inject instructions into retrieved content, dual-use binaries such as bash, curl, and find become the payload rather than a vulnerability to be separately exploited. We argue that security in agentic systems is not an emergent behavioral property of individual language models, but a structural property of the cognitive architecture and of the composition of permissions across interacting agents and humans. Static regex blacklists miss flag permutations and structural attacks, whereas LLM-as-a-Judge guardrails ask a second model to guess physical invariants at tens to hundreds of milliseconds per call while over-blocking benign work. We present ActiveSecHarness, a neurosymbolic reference-monitor architecture organized around Separation of Intelligence and Authority across four pillars: (1) Macaroon-inspired HMAC capability tokens across four Trust and Authority Rings; (2) a product taint lattice L_trust x L_sens and a compositional Separation-of-Duties ledger over shared workspace provenance; (3) deterministic OS/subprocess guards; and (4) extended bytecode certificates, split-horizon dual-key audit logs, a self-healing verification loop (CodeVerifier, DualModelReviewer, SecurityTestSynthesizer), and a progressive pedagogical UserWikiManager. On N=252 fixtures and a 12+12 multi-step trajectory suite, Ring 0 achieves FPR=0.000 (0.939 unfitted out-of-sample / 0.962 OS-inert; 1.000 post-audit conformance ABR) in 31.5 us median latency (4,517x faster than a live local LLM-judge) and blocks 12/12 multi-step kill chains at 0.000 benign trajectory FPR (266.7 us/step; ~24 us/step O(1) ledger state folding).
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 17 of its 42 references that are in the map. Submitted 10 Nov 2026.
Builds on
17 of 42 references.
Closest ancestors · 5
Same direction, newest first
- 2025Defeating Prompt Injections by Design24 Mar
- 2024AirGapAgent: Protecting Privacy-Conscious Conversational Agents8 May
- 2024IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systems8 Mar
- 2024LLM Agents can Autonomously Hack Websites6 Feb
- 2023Identifying the Risks of LM Agents with an LM-Emulated Sandbox25 Sep
Other references · 12
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,155
- 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 282
- 2024Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Modelscited by 180
- 2023GPTEval: A Survey on Assessments of ChatGPT and GPT-4cited by 74
- 2023Are Large Language Models Really Good Logical Reasoners? A Comprehensive Evaluation and Beyondcited by 72
- 2025Contextual Agent Security: A Policy for Every Purposecited by 72
- 2021Machine Learning-based Orchestration of Containers: A Taxonomy and Future Directionscited by 8
- 2026Bridging Large-Model Reasoning and Real-Time Control via Agentic Fast-Slow Planningcited by 5
- 2026Co-Recursive Semantic Self-Extension: A Mathematical Foundation for Open-Ended Intelligencecited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Trustworthy Agentic AI: A Comprehensive Cybersecurity and Systems Survey on Threat Landscapes, Defense Architectures, and Open Challenges
- 2026From Craft to Kernel: A Governance-First Execution Architecture and Semantic ISA for Agentic Computers
- 2026AgentKernel: The Trust-Native Agentic Operating System
- 2026Trustworthy Agentic AI Requires Deterministic Architectural Boundaries
- 2026Agent-Fence: Mapping Security Vulnerabilities Across Deep Research Agents
- 2026Dive into Claude Code: The Design Space of Today's and Future AI Agent Systems
- 2026A Systematic Survey of Security Threats and Defenses in LLM-Based AI Agents: A Layered Attack Surface Framework
- 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilities