AIToday
AI Coding AssistantsAI Safety & AlignmentZenn AI/MLPublished: Nov 26, 2026, 10:01 JST

'From Attack Surface to Defense Architecture' urges authority split for coding agents

Send on LINE
'From Attack Surface to Defense Architecture' urges authority split for coding agents

3 Key Points

  1. What happened

    The November 2026 paper 'From Attack Surface to Defense Architecture: Compositional Security for Agentic Coding Harnesses' says agents fooled by indirect prompt injection can still reach keys via normal OS tools, and outlines three controls: capability attenuation, taint tracking, and a deterministic tool-boundary guard.

  2. Why it matters

    The paper's core principle, Separation of Intelligence and Authority, means the AI only proposes actions while the system enforces what is permitted; this implies prompt-based defenses are structurally insufficient, so developers may need to redesign agent permissions rather than add more rules.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The paper's argument builds from a simple observation: coding agents already have legitimate access to bash, find, curl, and base64, so a rule that blocks cat .env can be bypassed by opening the file with python3 and writing it to a differently named temp file — a technique called Secret Laundering. Because the agent can use normal OS tools, blocking one command name does not close the path. Anthropic's enterprise guide 'The Enterprise Guide to Securing Coding Agents' and Elastic Security 9.6's 143 AI security detection rules share the same premise: controls at the execution environment and boundary are needed, not just model behavior. The paper's three mechanisms are presented as structural rather than behavioral: capability attenuation limits what a sub-agent can do before it starts, taint tracking follows data labels across steps so a copied secret is still recognized as secret, and the tool-boundary guard makes allow/deny decisions on structural facts like directory access and network use rather than string matching. A minimal wrapper script based on partial matching cannot catch paraphrased calls, so the structural steps — separating sessions that read external text from those holding keys, and confining agents in containers or MicroVMs — are presented as the primary defenses, with the wrapper as a supplementary layer.

FAQ
What is indirect prompt injection?
It is when an attacker hides malicious instructions in external text such as GitHub Issue comments or dependency READMEs, and the agent mistakes them for its own instructions during a legitimate task.
What is the paper's core principle?
Separation of Intelligence and Authority: the AI model only proposes the next operation, while the authority to allow it is never decided by the AI itself.
What are the three mechanisms the paper outlines?
Capability attenuation (permissions can only shrink when delegated), two-dimensional taint tracking (trust and sensitivity labels for data), and a deterministic check at the tool boundary.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleAmbient score: the AI failure mode that looks different