← Lab /AI/ML

Stealthy skill composition attacks achieve 98% success while evading audits

CoRedSkill can embed malicious operations in skill workflows with high attack success and low detection

AI/ML arXiv 14 Oct 2026 Attack Prototype evidence Threat model

Published as “CoRedSkill: Stealthy Skill Composition Attacks via AST-Guided Injection”

Why it matters

The work shows that malicious behavior can be hidden in legitimate skill compositions, highlighting the need for stronger composition-aware auditing and runtime defenses.

Summary

COREDSKILL achieves 98.0% attack success, 95.3% task success, and only 3.3% detection, yielding a joint success rate of 90.7%-far higher than four prior baselines (6.7-42.7%). It does this by decomposing workflows into clean skills and injecting malicious code via AST rewriting while preserving skill utility. Detection rates rise to up to 20% under some LLM auditors and to 28.7% with composition-aware auditing, showing limits to its stealth. The paper evaluates 150 benchmark cases across three attack objectives.

What they found 2

  1. High overall effectiveness with low detection

    “In the main evaluation, COREDSKILL achieves 98.0% attack success and 95.3% task success with a 3.3% detection rate”

  2. Joint success rate surpasses baselines

    “joint success rate of 90.7% (attack success, task completion, and audit evasion in the same case) compared with 6.742.7% for the four baselines”

Caveats 6

  • Detection rate increases to 20.0% under the GLM audit backend (Table 2).
  • Composition-aware auditing raises overall detection to 28.7% (Section 4.6).
  • Runtime defenses still detect the attack in 10.7% of cases with HITL and 1.3% with DefenseClaw.
  • Attack construction in COREDSKILL relies on predefined attack specifications and workflow interfaces, and automatic adaptation to arbitrary existing skill packages has not been evaluated.
  • We verify preservation of skill utility against output acceptance criteria for 150 offline evaluation cases, without evaluating dynamic service interactions or long-term operation.
  • Our runtime defense evaluation measures the detection capabilities of risk and policy rules using execution records, without evaluating how online blocking affects subsequent execution and attack outcomes.

What’s new here 4

  • Uses AST-guided rewriting to embed malicious operations inside task helper functions while keeping original logic intact.
  • Preserves skill utility and normal task completion in multi-skill compositions, unlike prior single-skill or naive composition attacks.
  • Introduces a 150-case benchmark covering 50 tasks and three attack objectives for systematic evaluation.
  • Demonstrates evasion of both static LLM-based skill scanners and runtime risk/policy defenses.

Threat model stated by the source

Adversarythird-party skill publisher
Capabilityinspect original skill documentation and code, construct and publish multiple modified skills, alter instructions, code, resources, and I/O interfaces
AssumesUser requests define authorized actions; Agent’s model, prompts, and permission set are fixed by deployment; Auditing tools can examine skill packages and runtime records