ColluSkill: Adversarial Cross-Skill Composition for Evading Agent Skill Scanners

Puyu Zeng, Simeng Qin, Jingzhi Li, Ju Jia, Zheli Liu, Xiaojun JiaarXiv 2026

TL;DR

Current security scanners for LLM-based agents evaluate plugins and "skills" in isolation, creating a dangerous security blind spot. This paper introduces ColluSkill, an adversarial framework that splits a single malicious payload across multiple seemingly innocent skills to completely evade detection, and ChainGuard, a context-aware defense mechanism designed to catch these collusive, multi-skill attacks.

What Problem Does This Paper Address?

As Large Language Model (LLM) agents become more autonomous, developers are using modular extensions called "skills"—bundles of instructions, code scripts, and API configurations—to give agents new capabilities like searching files or running code. To protect users, an ecosystem of skill scanners (such as Cisco’s Skill Scanner or Snyk’s Agent Scan) has emerged to vet these modules before they are installed.

However, existing defenses suffer from a fundamental flaw: they inspect skills one by one. The authors identify a critical blind spot called cross-skill composition. An attacker can take a clearly malicious intent (e.g., searching a local workspace for secrets and exfiltrating them to an external server) and break it into separate pieces. Individually, each skill looks completely benign or low-risk, allowing them to easily pass security checks. Yet, when an agent installs and executes them sequentially as a workflow, the full malicious payload is reconstructed.

Figure 1: Overview of the cross-skill composition blind spot. Existing scanners primarily inspect individual skills, while runtime composition can recover unsafe chain-level behavior from locally plausible sub-skills.

Methods

The Attack: ColluSkill

ColluSkill uses an LLM to orchestrate a multi-stage attack pipeline:

  1. Chain Planning: Inspired by sociological theories of interdependence, ColluSkill uses an LLM to decompose a malicious payload into an ordered sequence of sub-payloads. It carefully plans how artifacts, variables, and execution states will hand off from one skill to the next.
  2. Skill Generation: The framework generates distinct, independently packaged sub-skills (e.g., a project setup tool, an API analyzer, and a test runner) that secretly link together at runtime.
  3. Scanner-Feedback Refinement: ColluSkill submits the generated skills to target scanners. If any sub-skill gets flagged, an LLM iteratively rewrites only that specific sub-skill based on the scanner's error report, systematically stripping away suspicious signals while preserving the overall chain logic.

The Defense: ChainGuard

To counter this threat, the authors propose ChainGuard, a context-aware scanner. Instead of looking at a candidate skill in a vacuum, ChainGuard analyzes it alongside all the skills already installed in the agent's environment. It parses descriptions, code, and permissions to map out potential producer-consumer relationships and data flows. It specifically looks for capability-splitting risks—scenarios where dangerous combinations (like data discovery followed by external network transmission) emerge across different modules.

Figure 2: Overview of ChainGuard. ChainGuard scans a candidate skill together with the full installed-skill context. It reconstructs artifact flow, analyzes intent composition, and blocks the chain when a chain-level risk is identified.

Datasets

The authors constructed a dedicated multi-skill attack dataset consisting of 200 malicious payloads. Using ColluSkill, these payloads were broken down into 200 attack chains comprising 600 unique sub-skills.

To evaluate runtime execution, they tested these chains across three prominent coding agent frameworks—OpenCode, Claude Code, and Codex—powered by various state-of-the-art LLM backbones (GPT-5.5, DeepSeek-V4-Pro, and GLM-5.2).

Key Insights and Ideas

  • The Unit Mismatch: The core vulnerability isn't a traditional software bug; it's a conceptual mismatch between the scanning unit (an individual skill) and the risk unit (the emergent workflow).
  • Feedback Loops Equal Stealth: Simply splitting a payload naively only yields a 36.7% evasion rate. However, adding an LLM-driven feedback loop allows the attack to adapt dynamically, skyrocketing its success rate by polishing away obvious red flags.
  • The "Goldilocks" Chain Length: There is a distinct trade-off in how finely an attack is split. If a chain is too short (2 steps), individual skills carry too much malicious signal and get caught. If it is too long (4 steps), the workflow becomes fragile and harder for the LLM to keep coherent. A 3-step chain represents the optimal balance for attackers.
Figure 3: Effect of chain length under LLM refinement. We compare different chain lengths under the same refinement budget. The 3-step setting achieves the highest final average ASR, suggesting a better balance between payload dispersion and workflow coherence.

Key Results

  • Devastating Evasion Rates: ColluSkill achieved a staggering 96.0% average Attack Success Rate (ASR) across six industry-standard skill scanners, achieving a perfect 100% bypass rate against Cisco's scanner and SkillFortify.
Detailed breakdown of attack success rates against various single-skill and multi-skill baselines.
  • Highly Executable at Runtime: These split skills aren't just stealthy on paper; they successfully execute. ColluSkill achieved chain activation success rates as high as 92.5% on real-world agent platforms like OpenCode.
Chain activation success rates across different coding agents and LLM backbones.
  • ChainGuard Proves Effective: By introducing context-awareness, ChainGuard successfully crushed ColluSkill's success rate from 96.0% down to 22.5%, all while maintaining an incredibly high 99.5% pass rate for benign workflows, proving it won't disrupt normal user operations.
Table showing how installed-skill context drastically reduces attack success rates without hurting benign pass rates.

Limitations and Future Work

While ChainGuard represents a massive step forward, it does not reduce the attack success rate to zero (leaving a 22.5% residual risk). Highly sophisticated or heavily obfuscated cross-skill chains can still slip through static context analysis. Furthermore, ChainGuard relies on having access to the full environment context at installation time; it may struggle if skills are fetched dynamically or modified on the fly during runtime. The authors emphasize that future work must explore continuous, dynamic runtime monitoring to fully secure the LLM agent ecosystem.

Summary updated

BibTeX
@misc{zeng2026colluskill,
  author = {Puyu Zeng and Simeng Qin and Jingzhi Li and Ju Jia and Zheli Liu and Xiaojun Jia},
  title = {{ColluSkill: Adversarial Cross-Skill Composition for Evading Agent Skill Scanners}},
  year = {2026},
  eprint = {2608.09732},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.09732},
}
Figure