Guarding what users type isn't enough when AI agents pass work along behind the scenes — what slips past that front door?
Why do input-boundary defenses fail in planner-worker pipelines?
This explores why defenses that only inspect what a user types (the front door) miss attacks in systems where a planner hands work to workers, tools, memory, verifiers and synthesizers behind that door.
This explores why defenses that only inspect what a user types (the front door) miss attacks in systems where a planner hands work to workers, tools, memory, verifiers and synthesizers behind that door. The corpus's short answer is that in these pipelines, most of the risky text never passes through the front door at all.
Start with where the inspection happens. One note maps five internal hand-offs: planner to worker, tool to worker, memory to worker, worker to verifier, and worker to synthesizer. It finds that existing defenses watch only user input, so an injection hidden in a tool result or a stored memory travels downstream unchecked Do internal agent hops in pipelines need security monitoring?. Every component can be safe on its own while the system as a whole is not. Even the front door can be beaten on timing. FLOWSTEER shows that a crafted prompt can bias how the planner builds its workflow and raise malicious success by up to 55 percent, because the contamination enters upstream of the workflow-inspection defenses Can prompts alone reshape multi-agent workflows without system access?. The plan itself becomes the attack surface.
The deeper reason is that a boundary check judges one thing at one moment. A model-level filter can block a single output, but it can't contain an agent whose risk spreads across memory, retrieved content, tool calls and environmental reach Can a model-level filter truly contain an agent with environment access?. Stateless per-action checks can't even state a rule like "these two individually allowed steps are forbidden together," because that rule depends on history Can stateless checks ever catch sequence-level constraint violations?. Attackers exploit exactly this gap. ColluSkill refines each sub-skill against scanner feedback until every piece looks innocent while the chain's intent stays intact, reaching 96% average success across six scanners Can attackers evade skill scanners by refining individual skills?. The layer that routes a request to a particular model sits beneath prompt-level defenses too, so attackers can send requests to weaker models or make safety checks run against the wrong identity Can attackers manipulate which model handles a request?.
Stating a rule at the boundary also isn't the same as enforcing it. In one test, explicit authorization boundaries kept protected tests unmodified only when the agent's tools were also restricted, and the boundary had to name the protected state itself rather than just announce a prohibition Can explicit authorization boundaries prevent agents from modifying protected tests?.
The pattern in the fixes is to put checks where the missing context lives. SafeFlow validates the assembled workflow at the point an irreversible action is about to be committed. That reconstructs the global risk picture no single step holds, and it complements planning-boundary and per-hop defenses, since each sees attacks the others miss Where should workflow validation gates be placed for safety?. For coordinated attacks spanning several agents, the unit of defence becomes a revisable "episode" linked by observed transfers and task authority, not an isolated review of one run Should defence units span multiple executions and agents?. The counter-swarm doctrine adds three constraints: preserve relationships across executions, limit the shared resources agents can reach, and tie responses to persistent state How can operators stop coordinated agent intrusions now?. Securing a pipeline means defending the seams between its parts, not just the entrance.
Sources 10 notes
Five communication channels between pipeline components (planner→worker, tool→worker, memory→worker, worker→verifier, worker→synthesizer) receive no defensive inspection. Existing defenses monitor only user input; injections in tool results or memory can propagate downstream undetected, showing that component-level safety does not guarantee system-level safety.
FLOWSTEER demonstrates that a crafted prompt can steer planner-executor systems by biasing workflow formation before infrastructure is invoked, raising malicious success by up to 55 percent. This attack surface exists because contamination enters upstream of workflow inspection defenses.
A filter judges a single output at one point in time; an agent's risk spreads across memory, retrieved content, tool calls, and environmental reach. Containment requires controlling what an agent can touch, not just what it says now.
Per-action checks are structurally unable to state constraints that depend on prior history. Only stateful monitors tracking composed multi-party behavior can verify the behavioral envelopes that prevent individually permissible actions from collectively violating system-level safety.
ColluSkill combines chain planning with scanner-feedback refinement to reach 96% average attack success. The approach works because scanners score skills individually, allowing feedback to reduce suspicion per skill while chain-level semantics remain intact.
Show all 10 sources
The layer deciding which model handles a request sits beneath prompt-level defenses and is vulnerable to manipulation and unverified provenance. Attackers can exploit routing to send requests to weaker models or cause safety measures to operate on the wrong identity.
Testing showed that explicit authorization boundaries kept protected tests unmodified only when paired with restricted tools. Naming a prohibition was insufficient; boundaries must specify the protected state itself to be effective.
SafeFlow validates assembled workflows at irreversible action boundaries, reconstructing the global risk picture that no single step holds. This commit-point placement complements planning-boundary and per-hop defenses, each seeing attacks the others miss.
The operational unit of defence should be a set of actions linked by observed transfers, task authority, and response history, with membership revised as evidence accumulates. Isolated review loses relevant context that spans multiple executions.
The doctrine preserves relationships across executions, constrains shared resources agents can access, and ties responses to persistent state rather than closed channels. Operators can implement this through collaboration policy and permission-level testing now.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Securing Agentic AI: From Per-Action Checks to Trajectory Assurance
- SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems
- ChannelGuard: Safe Models Do Not Compose into Safe Multi-Agent Systems
- FLOWSTEER: Prompt-Only Workflow Steering Exposes Planning-Time Vulnerabilities in Multi-Agent LLM Systems
- Counter-Swarm Doctrine: Containing Coordinated Agent Intrusions
- SafeFlow: Semantic Information-Flow Control for Blocking Malicious Propagation in Multi-Agent Systems
- The Troy Moment of AI: Why Some Will Cheat and Some Will Follow?
- Corrupt Plans, Clean Traces: Evading Chain-of-Thought Monitoring with Plan Injection