Skip to content

Runaway Reaction: When Benign Skills Compose into Malicious Behavior

Oct 2026 · 0 citations · 26 references
Computer Science

TL;DR

It is found that directly composing benign skills can already induce malicious behaviors, even when every individual skill passes security vetting, and some target malicious behaviors remain difficult to realize through direct composition, even when the selected skills collectively provide the required capabilities.

Abstract

Agent skills package task-specific knowledge and procedures that can be composed to support complex agent tasks, while public marketplaces provide a growing pool of reusable skills. Existing security vetting, however, largely evaluates skills in isolation, leaving composition-induced risks underexplored. Such risks arise because composing benign skills expands the agent's capability space, enabling behaviors unavailable to any skill alone. Interestingly, we find that directly composing benign skills can already induce malicious behaviors, even when every individual skill passes security vetting. We further find that some target malicious behaviors remain difficult to realize through direct composition, even when the selected skills collectively provide the required capabilities. To systematically instantiate these attacks, we present Compositional Risk Induction via Multi skill Execution (CRIME). CRIME first uses the Malicious Plot Casting (MPC) module to decompose a target malicious behavior into complementary requirements and identify suitable benign skill compositions from public skill repositories. For compositions that cannot directly realize the target behavior, the Runaway Reaction Steering (RRS) module uses execution feedback to iteratively refine the selected skills toward the target while requiring each skill to remain benign under standalone vetting. The resulting composition is then passed to the Skill Reaction Chamber (SRC) module, where the skill pair is executed in a sandbox and the resulting environmental consequences are examined to determine whether the target behavior has occurred. Unsuccessful cases are returned to RRS for further refinement. Furthermore, we construct a benchmark of 4,000 public skills across eight cybersecurity behaviors for systematic evaluation of composition-induced vulnerabilities.

View source

Similar papers

Preprint Oct 2026

Detecting Insecure Compositions of Clean Agent Skills via Capability-Flow Graph Analysis

K KnotScryer is developed to detect insecure skill compositions by treating skills as typed capability flows, and is designed to design a search policy that tracks protected or untrusted data along handoff edges to locate paths reaching insecure operations.

Yi-Hao Li, Chuan-Pu Fu, Yi Zhao et al. · 0 citations
Review Oct 2026

Understanding and Mitigating Cross-Session Attacks via Persistent Artifacts in Agent Skill Composition

Agent skills extend the capabilities of AI agents by bundling instructions, code, and resources into reusable packages. During skill execution, agents may produce or modify artifacts, such as files, configurations, and cached data, that are reused by other skills in later sessions. Since these artifacts can persist acr...

Dian-Shu Liao, Shi-Dong Pan, Guang-Dong Bai et al. · 2 citations
#artificial intelligence Preprint Oct 2026

CoRedSkill: Stealthy Skill Composition Attacks via AST-Guided Injection

Agents extend their capabilities through reusable skills that package instructions, executable code, and resources. Composing these skills enables complex task workflows, but their dependencies can also connect malicious operations across skills, making their combined intent difficult to identify through individual-pac...

Qi-Cheng Zhao, Sheng-Fang Zhai, Qing-Ni Shen et al. · 0 citations
#artificial intelligence Preprint Oct 2026

CoSA: The Conflict of Skills Attack in Real-World LLM Agent Ecosystems

The Conflict of Skills Attack (CoSA) is introduced, which adds locally admitted Skills to an existing pool to supply missing business operations or reshape artifact exchange, decision reuse, and target/action bindings (relationship reshaping).

Yu-Jian Zheng, Tian-Hao Li, Shang-Zhi Xu et al. · 0 citations

Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents

A white-box LLM attacker, Pretext, iteratively crafts skills that evade detection while still delivering the payload and performing the benign task: moving the payload from code into natural language leaves static analysis inert, and splitting instructions across files keeps the LLM stage below its blocking threshold.

Tobias Kaisar, Aritra Dhar · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.