Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systems

Zihao Zhu, Siwei Lyu, Adel Bibi, Baoyuan WuNeurIPS 2026

TL;DR

Modern AI agents extend their abilities using downloadable, third-party "skills"—modular bundles of instructions and scripts. This paper reveals a major blind spot in agent security: skill cascading attacks, where an attacker splits a malicious goal across multiple seemingly innocent skills. Individually, each skill passes security scans with flying colors, but when an agent runs them together in a shared context window, they quietly conspire to cause severe harm—like erasing a fatal drug-interaction warning before a doctor ever sees it.

What Problem Does This Paper Address?

If you've used tools like Claude Code, Codex, or OpenClaw, you're looking at the future of LLM agents: ecosystems where developers publish reusable "skills" on public marketplaces (like ClawHub) for anyone to install. Naturally, open marketplaces invite bad actors, so the community has built static and LLM-based security scanners to vet skills before installation.

Here is the catch: existing defenses assume the unit of danger is a single skill. In reality, skills don't run in vacuum-sealed chambers. They read from and write to the same shared context window. Because the underlying LLM treats earlier skill outputs as authoritative inputs for later skills, subtle, defensible tweaks in one skill can snowball through subsequent ones. Checking skills one by one is like inspecting the ingredients of a binary explosive separately and declaring both safe to bring on a plane.

Figure 1: Illustration of skill cascade patterns. Left, causal cascade: harm propagates through an ordered chain where each skill weakens the inherited signal. Right, compositional cascade: harm emerges from aggregation, where each modification is harmless alone. Hybrid is omitted for brevity.

Methods

The authors formalize a Skill Cascading Attack around three strict rules: individual stealth (every modified skill passes per-skill scanners), joint harm (running them together on a normal user prompt causes harm), and indispensability (undoing any single modification breaks the attack). They categorize these into Causal cascades (a sequential domino effect), Compositional cascades (parallel harmless fragments combining into a harmful whole), and Hybrid cascades.

To prove these aren't just theoretical edge cases, the authors built SKILLCASCADE, an automated multi-agent red-teaming factory powered by five specialized LLM agents:

  1. Scenario Discovery Agent: Mines marketplaces for skills that naturally chain together for realistic tasks.
  2. Attack Agent: Plans the cascade and rewrites the skills. Crucially, every edit must include a legitimate technical rationale—a plausible cover story a well-meaning developer might write (e.g., "filtering low-weight noise from executive summaries").
  3. Scanner Agent: Vets each modified skill in isolation using standard security tools; failures get sent back for stealthier rewrites.
  4. Test Case Generator & Sandbox: Pairs the skills with innocent user prompts and runs them in a fresh container.
  5. Judge Agent: Evaluates the execution trace to verify the attack actually worked, routing failures back to earlier agents for iteration.
Figure 2: Overview of the SKILLCASCADE, a multi-agent red-teaming framework.

Finally, the authors prototype an adaptive defense called the Behavior-Composition Scanner, which asks an LLM to summarize each skill's "if-then" behavioral commitments, chain them together, and imagine a counterfactual scenario where that chain goes wrong.

Datasets

By pointing SKILLCASCADE at real-world skills on ClawHub, the authors generated SKILLCASCADE-BENCH, the first benchmark dedicated to cross-skill vulnerabilities. It features 213 human-audited test cases (with substantial inter-annotator agreement, Fleiss's $\kappa = 0.82$) across 10 domains—ranging from Healthcare and Finance to E-commerce—averaging 3.25 skills per cascade. Unlike prior benchmarks that test single-skill prompt injections or malicious scripts, every case here is self-contained, benign in isolation, and strictly requires multi-skill interaction to trigger one of seven harmful objectives (such as decision manipulation, output corruption, or data exfiltration).

Key Insights and Ideas

  • Harm operates at the semantic layer, not the code layer: Single-skill attacks usually leave dirty fingerprints—suspicious keywords, weird tool privileges, or overt prompt injections. Cascading attacks hug the benign baseline because they weaponize normal data-engineering practices (like re-labeling edge cases or down-weighting background info) across shared LLM context.
  • Simply concatenating skills doesn't fix scanner blindness: You might think, "Why not just feed all installed skills into an LLM scanner at once?" The authors tried this (Joint-LLM), and it still missed over 80% of attacks. Without structured counterfactual reasoning about how outputs flow into inputs, scanners get lulled to sleep by each skill's locally reasonable cover story.
  • The LLM backbone matters way more than the agent framework: Switching between host platforms (OpenClaw, Claude Code, Codex) shifted attack success by less than 6 percentage points, proving the vulnerability is baked into the shared-context paradigm itself. Smaller models and open-weight models were notably more gullible than frontier flagships.

Key Results

  • High Attack Success Rate (ASR): Across 24 combinations of agent frameworks and LLM backbones, cascades succeeded 89.4% of the time on average—ranging from 76.5% on Claude Opus 4.6 up to 97.1% on Qwen 3 72B. Even heavily safety-aligned domains like Healthcare saw over 80% ASR.
Figure 3: ASR breakdown along three dimensions. Each bar aggregates over all benchmark runs spanning multiple backbones and agent systems; error bars show standard deviation across runs.
  • Near-Total Evasion of Existing Defenses: Modified skills bypassed five per-skill scanners at rates between 86.6% and 94.3% (within 4.7 points of untouched, benign skills). Joint-skill scanners still approved 81.7%–83.0% of malicious cascades, and four runtime trajectory monitors failed to catch 88.5% of attacks on average.
  • True Indispensability: In ablation tests on three-skill cascades, reverting just one modified skill back to its original version caused ASR to plummet from ~90% down to 13%–18%.
  • Proof-of-Concept Defense: Their proposed Behavior-Composition Scanner slashed attack stealth on causal cascades by over 30 percentage points (dropping stealth from 83.0% to 52.8%), though parallel compositional and hybrid attacks remained tougher nuts to crack (58.6% and 64.1% stealth).

Limitations and Future Work

The authors note that all experiments took place in controlled sandboxes rather than live production systems, meaning the 89.4% ASR represents a worst-case stress test rather than real-world frequency. Furthermore, the threat model requires victims to co-install multiple attacker-controlled skills—feasible via bundled vendor suites, though its exact prevalence in wild marketplaces remains an open empirical question. Looking ahead, because their counterfactual scanner is only a partial fix—especially struggling when harmless fragments aggregate in parallel—building rigorous, system-level compositional defenses is wide-open territory for future security research.

Summary updated

Abstract

A skill is a modular package of natural-language instructions, executable scripts, and reference resources that an agent can load at runtime to extend its capabilities for a specific task. Skill-based agent systems therefore enable flexible reuse of third-party capabilities, but the openness of this skill ecosystem also opens up a new attack surface. Prior work has focused on vulnerabilities within individual skills, but little attention has been paid to risks that arise from interactions across skills. In this paper, we introduce skill cascading attacks, a threat paradigm in which a malicious objective is distributed across multiple skills so that each modification looks benign in isolation, yet their combined execution is harmful. For instance, in a prescription-review pipeline, the first skill weakens signals of recently discontinued medications in the extracted history, the second downgrades the severity of any drug interaction tied to them, and the third suppresses the resulting low-priority alert in the final summary, so that a severe drug-interaction warning silently disappears before reaching the physician. To systematically study this safety blind spot, we develop SkillCascade, an automated multi-agent red-teaming framework, and release SkillCascade-Bench, a benchmark of 213 validated cascading test cases across multiple agent systems and domains. Across representative agents (e.g. OpenClaw, Claude Code, CodeX) and LLM backbones, cascaded interactions reliably induce harmful behaviors while evading existing per-skill scanners and runtime monitors. Our findings highlight a gap between component-level integrity and system-level safety, and call for defenses that reason over cross-skill interactions rather than individual skills in isolation.
BibTeX
@inproceedings{zhu2026stealth,
  author = {Zihao Zhu and Siwei Lyu and Adel Bibi and Baoyuan Wu},
  title = {{Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=gP2hPTzpfh},
}
Figure