If a security filter was built assuming attackers sneak text in at the end, what happens when they put it first?
Can defenses tuned against appended attacks stop prepended payloads?
This explores whether a defense built and tested against injected text added at the end of an input still works when the attacker puts the payload at the start, and what that says about defenses that quietly assume how attackers behave.
This explores whether a defense built and tested against injected text added at the end of an input still works when the payload is placed at the start. The corpus's one direct test says not reliably. ChannelGuard's COMPRESS gate stopped 100% of leaks between agents but failed in 23.4% of cases at the user-prompt boundary Why does compression defense fail at the user prompt boundary?. The gate keeps the first two sentences of a message. That only makes sense if you assume injections trail the legitimate content. At the user prompt the user writes the payload first, so the part the gate preserves is where the payload sits.
The defense wasn't weak. It was tuned to a picture of the attacker, and that picture held for one channel and not another. The finding to take from it is that a sanitizer carries unstated assumptions about attacker behavior, and those assumptions change from channel to channel. Inter-agent traffic and user input look like the same problem, but they have different attackers with different habits. A benchmark that only tests one habit will report a perfect score.
The same pattern shows up elsewhere in the corpus, where the unit a defense inspects becomes the gap. Skill scanners score each skill on its own. An attacker who sees scanner feedback can lower the suspicion of every individual skill while the chain-level behavior stays intact, which reached 96% average attack success across six scanners Can attackers evade skill scanners by refining individual skills?. Multi-agent systems have the same blind spot. A harmful goal can be split into steps that each look harmless, with the harm appearing only when they're combined Can task decomposition hide harmful intent across agents?. One response proposes making the defended unit a revisable set of linked actions across executions, rather than each one reviewed in isolation Should defence units span multiple executions and agents?.
So how do you avoid a position assumption? The corpus points to defenses keyed to what content does rather than where it sits. RAGMask flags a document because its similarity collapses abnormally when tokens are masked, which doesn't depend on where a payload is placed Can we defend RAG systems from corpus poisoning without retraining?. Self-inspection can catch injected advertisement content without retraining Can language models be hijacked to embed hidden advertisements?. Neither was tested against prepended payloads, so treat them as candidates rather than fixes. Defenses can also be bypassed from below: the layer that picks which model handles a request sits under prompt-level defenses and can be manipulated on its own Can attackers manipulate which model handles a request?.
The corpus only has one head-to-head measurement of append versus prepend. It shows the gap but doesn't say how common it is across other defenses. A practical test for any defense is to ask what it assumes about where and how the attack arrives, then check that assumption on every channel it guards.
Sources 7 notes
ChannelGuard's COMPRESS defense achieved 100% leak prevention at inter-agent gates but failed in 23.4% of cases at the user-prompt boundary. The gap reveals that sanitizers encode unstated assumptions about attacker behavior that vary by channel.
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.
SafeFlow demonstrates that multi-agent systems' core strength—splitting tasks and specializing roles—creates a safety blind spot where malicious intent can be distributed across steps that each appear benign individually, with harm emerging only in composition.
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.
RAGPart and RAGMask provide lightweight, retraining-free defenses that operate at the retrieval layer. RAGPart bounds poisoned-document influence via partitioned retriever learning; RAGMask flags suspicious documents through abnormal similarity collapse under token masking.
Show all 7 sources
Research identifies Advertisement Embedding Attacks as a distinct threat class that injects promotional or malicious content via hijacked distribution platforms or backdoored checkpoints, leaving accuracy untouched while corrupting output integrity. The attack is economically motivated and self-inspection defenses can detect injected content without retraining.
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.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Stealing Reasoning Traces from Proprietary LLM APIs
- ColluSkill: Adversarial Cross-Skill Composition for Evading Agent Skill Scanners
- FLOWSTEER: Prompt-Only Workflow Steering Exposes Planning-Time Vulnerabilities in Multi-Agent LLM Systems
- ChannelGuard: Safe Models Do Not Compose into Safe Multi-Agent Systems
- SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems
- Optimizing the Score, Losing Sight of the Task: Reward Hacking Across Weights, Selection, and Prompts
- Securing Agentic AI: From Per-Action Checks to Trajectory Assurance
- Corrupt Plans, Clean Traces: Evading Chain-of-Thought Monitoring with Plan Injection