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.
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
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
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
This paper introduces 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.
Zi-Hao Zhu, Siwei Lyu, A. Bibi et al.· arXiv.org· 0 citations
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
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.