Modern AI security relies heavily on isolation. We scan individual files for malware, audit single model outputs for toxicity, and monitor specific tool calls for suspicious behavior. However, a growing body of research reveals a fundamental blind spot in this defense: fragmentation. By decomposing a malicious payload into multiple benign-looking segments and distributing them across different components—model weights, external tools, or multiple agents—attackers can bypass safety filters that only analyze system parts in isolation.
The Mechanism of Distributed Malice
The core intuition behind these attacks is that "harm" is often a property of a complete sequence or structure, not its constituent parts. Just as a sentence can be broken into harmless words, a cyberattack can be broken into harmless code snippets.
In the context of Large Language Models (LLMs), Daniel Kang and colleagues demonstrated early on that "payload splitting" could bypass input filters by decomposing prohibited instructions into fragmented variables that the model reassembles during execution [1]. This concept has since evolved from simple prompt engineering into sophisticated architectural exploits.
Hiding in Weights and Tools
Attackers are now moving the fragmentation deeper into the system's infrastructure.
- Model Parameters: Jiayi Hua and Haoyu Wang introduced MalModel, which fragments malicious code across millions of neural network weights. Because the payload only exists in its complete form during runtime memory reassembly, it remains invisible to static analysis tools searching for contiguous file signatures [2].
- Modular Skills: As agents become more tool-augmented, the "skill" layer becomes a primary attack vector. Yunhao Feng and Kun Zhai developed SkillTrojan, which partitions encrypted malicious logic across separate, seemingly benign software modules. No single module contains the complete attack, allowing it to pass standard security audits [3].
The Challenge of Holistic Oversight
The shift toward multi-agent and cross-domain systems exacerbates this problem. When a task is fragmented across multiple agents, no single safety filter can detect the full scope of a violation. Ronny Ko and Chuan Xiao highlight this as a "split-knowledge" challenge: a sequence of actions may appear benign to individual monitors while collectively forming a fraudulent operation [4].
Similarly, DemonAgent, proposed by Pengyu Zhu and Sen Su, exploits the modular architecture of LLM agents to achieve near-100% success rates. By scattering encrypted fragments across multiple tools, the attack ensures that individual tool outputs appear harmless, successfully evading state-of-the-art AI oversight that lacks global context [5].
Why It Works: Contextual Blindness
The success of these attacks stems from a mismatch between the modular nature of modern AI and the isolated nature of current security tools.
- Semantic Shifts: As noted by Meet Udeshi and Farshad Khorrami, automated analysis struggles when a payload is distributed across numerous small, innocuous changes that don't trigger significant semantic shifts within individual functions [6].
- Inadvertent Assembly: Systems designed to provide "global context"—like code completion tools—can inadvertently become the reassembly engine. Wen Cheng showed that by placing a trigger in one file and a payload in another, attackers can force the system to assemble a fragmented malicious prompt during inference [7].
To counter these threats, the research direction is shifting away from isolated inspection toward holistic reconstruction—developing specialized tools capable of identifying emergent malicious functionality that only manifests through the collective interaction of independent components.