Skip to content

The CRIME framework induces malicious behavior using combinations of benign agent skillsRunaway Reaction / CRIME

Paper Tracker· arXiv:2610.05943· Zunlong Zhou, Ziyuan Yang, Mengyu Sun, Yi Zhang·Indexed by this site · 2026-10-06· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

CRIME combines benign skills; under facilitated, DeepSeek-V4-Flash's ACA Both average is 73.8%.

Threat modelThe attacker has the same access as ordinary users to the public skill library H: can retrieve, select skills, and submit task input p, without privileges. Cannot modify model parameters θ, the review engine V, underlying tools, or permissions, nor fine-tune the model. The goal is a predefined task τ; each skill is individually reviewed as benign and executing alone does not produce τ, only joint execution achieves it. DCA does not modify skills; ACA performs bounded rewriting based on execution feedback, and the rewritten skills must still be independently reviewed as benign.

Questions
Public skills can be retrieved, installed, and combined in the same task, but existing reviews mostly evaluate them one by one. The question is: does each skill passing review imply that the combination is still safe?
Methods
CRIME first uses MPC to decompose the target malicious task into complementary capabilities and retrieves benign skill pairs. When direct combination fails, RRS performs bounded rewriting based on sandbox execution feedback, and each skill must still be individually reviewed as benign. SRC determines whether the goal is achieved based on environmental consequences.
Experiments and results
Under facilitated, Table 1: DeepSeek-V4-Flash's DCA / ACA Both averages are 27.9% / 73.8%, GPT-4o-mini is 9.7% / 32.1%. The authors state that rewriting both skills simultaneously is higher, and individual review cannot see the combination risk.
Limitations and future work
The paper does not specifically discuss limitations. The experiments specify six backbones, eight behaviors with 70 pairs each, DCA/ACA and four prompt levels, and three reviewers. It does not report LLM judges, human agreement, or the number of repetitions per pair.
Experimental setupDeepSeek-V4-Flash、GPT-4o-mini et al. · 4,000 public skills (SkillHub, ClawHub)、eight cybersecurity behaviors · ASR、trial-level harm rate et al.
Evaluated models
DeepSeek-V4-FlashGPT-4o-miniGPT-4oHunyuan 3.7 FlashGemini 3.7 FlashQwen 3.8
Benchmarks
4,000 public skills (SkillHub, ClawHub)eight cybersecurity behaviors
Metrics
ASRtrial-level harm ratevetting pass rate
AI summaryThe researchers propose the CRIME framework, noting that benign agent skills that individually pass safety review can still induce malicious behavior when combined, because the combination expands the agent's capability space. CRIME first uses a Malicious Plot Casting module to break the target malicious behavior into complementary needs and selects suitable benign skill combinations from public skill libraries; for combinations that cannot be directly implemented, a Runaway Reaction Steering module iteratively adjusts the skills based on execution feedback, while requiring each skill to remain benign under individual review. The combination then enters a Skill Reaction Chamber module, where it is executed in a sandbox and the environmental consequences are checked to determine whether the target behavior occurred; failed cases are returned for further adjustment. The researchers also constructed a benchmark of 4,000 public skills covering eight categories of cybersecurity behaviors for systematic evaluation.

The researchers propose the CRIME framework, noting that benign agent skills that individually pass safety review can still induce malicious behavior when combined, because the combination expands the agent's capability space. CRIME first uses a Malicious Plot Casting module to break the target malicious behavior into complementary needs and selects suitable benign skill combinations from public skill libraries; for combinations that cannot be directly implemented, a Runaway Reaction Steering module iteratively adjusts the skills based on execution feedback, while requiring each skill to remain benign under individual review. The combination then enters a Skill Reaction Chamber module, where it is executed in a sandbox and the environmental consequences are checked to determine whether the target behavior occurred; failed cases are returned for further adjustment. The researchers also constructed a benchmark of 4,000 public skills covering eight categories of cybersecurity behaviors for systematic evaluation.

Related events and news

2 events · 2 news mentions

News that mentions this paper

Adversa AI 发布 11 月 Agent 技能安全资源汇编

  • Adversa AIcites the paper's id or link
    Agent 技能安全资源精选(2026 年 11 月)
    Where direct composition falls short, the CRIME framework refines the selected skills with execution feedback in a sandbox while requiring each one to stay benign under standalone vetting.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Skills that pass review in isolation may still achieve a predefined malicious task when combined.

    Existing reviews evaluate skills in isolation; combining benign skills can still achieve malicious behaviors that no single skill can achieve alone.

    • Scenario: skills package task instructions, executable scripts, and reference materials; SkillHub and ClawHub facilitate retrieval, installation, and reuse. The authors state that public skills may embed malicious instructions or executable logic, which after loading can lead to credential theft, data exfiltration, or unauthorized command execution.
    • Existing methods: ClawHub's automated security analysis and external malware scanning, as well as SkillScan's static analysis plus LLM semantic analysis, mainly target individual skills. The authors propose that each skill being safe does not imply the combination is safe, because combinations introduce cross-skill interactions not present in individual evaluation.
    • Core observation: the authors call turning benign components into joint malicious behavior a runaway reaction. The point is not adding new primitive capabilities, but expanding the available capability space. Combination safety implies each constituent skill is safe, but the converse does not hold.
    • Our approach: propose CRIME, covering Direct Composition Attack (DCA) that does not modify skills, and Adaptive Composition Attack (ACA) that rewrites under independent review constraints, and build a combination attack benchmark of 4,000 public skills and eight cybersecurity behaviors.
    • Threat model:
      • System: agent Mθ can load multiple skills in the same session; H is the public skill library; the combination is two skills S={s1, s2}; V independently reviews, V(s)=1 means judged benign.
      • Access: same as ordinary users, can retrieve and select skills, submit task input p, no privileges.
      • Constraints: cannot modify θ, tamper with V, modify underlying tools, or add permissions; no fine-tuning, no retraining; no expansion of existing permission scope.
      • Goal: construct a combination from a predefined malicious task τ. Each skill is judged benign, executing alone does not produce τ, only joint execution produces it. DCA does not modify skills; ACA only requires capability completeness, then performs bounded adjustments based on execution feedback.
  2. What related research exists?

    Related work mostly covers single skills, tool injection, and multi-skill coordination; this paper shifts to targeted compositional induction.

    Single Skill and Tool Risks

    • MalSkillBench (Guo et al., 2026): systematically studies malicious agent skills containing harmful instructions and executable logic.
    • SkillAttack (Duan et al., 2026): without modifying the skill itself, well-intentioned skills may expose exploitable behaviors under adversarial requests.
    • Tool side: MCPTox (Wang et al., 2026b) studies malicious instructions in MCP tool metadata; MalTool (Hu et al., 2026) studies harmful behaviors in tool code; AgentDojo (Debenedetti et al., 2024) evaluates indirect prompt injection delivered via external tool outputs.

    Pre-release Review

    • ClawHub: integrates multiple security signals such as VirusTotal, static analysis, and SkillSpector (OpenClaw Foundation, 2026b; Koc et al., 2026).
    • SkillSpector (Paz et al., 2026): rule checking plus semantic analysis, covering prompt injection, data exfiltration, permission abuse, and supply chain threats.
    • SkillScan (Liu et al., 2026): static analysis combined with LLM-based evaluation to check security issues in public skills.

    Multi-Skill Coordination and Interaction

    • Coordination mechanisms: AgentSkillOS (Li et al., 2026) organizes skills with a structured pipeline; SkillWeaver (Gao, 2026) decomposes requests and combines retrieved skills; SkillComposer (Zhao et al., 2026) jointly selects skills and execution order; R3-Skill (Wang et al., 2026c) considers compatibility among retrieved skills.
    • Les Dissonances (Li et al., 2025b): studies how multi-tool interactions affect control flow and information propagation. The introduction also cites STAC (Li et al., 2025a), explaining that harmless capabilities can be chained through intermediate outputs, shared state, execution order, or complementary operations.
    • Skill interaction evaluation: SkillReact (Wang et al., 2026a) uses action-based tests to evaluate risky skill configurations; SCR-Bench (Xie et al., 2026) studies path-dependent risks related to capability flow, trust transfer, and authorization.

    Baselines and Data

    • Baseline methods: Random and Semantic on skill pair selection (Section 6.6), not other attack algorithms.
    • Benchmark/dataset: self-built benchmark from 4,000 public skills from SkillHub and ClawHub, eight cybersecurity behaviors.

    The authors position this work after these efforts: achieving specified malicious behaviors from individually benign skills, covering combinations that are already directly effective, as well as combinations that are capability-complete but initially ineffective and then optimized, to characterize combination risks beyond single-skill correlation risks.

  3. How does the paper address this problem?

    CRIME uses MPC to select complementary benign skills, RRS rewrites under independent review constraints, and SRC looks at environmental consequences.

    CRIME (Compositional Risk Induction via Multi skill Execution) has two levels: DCA does not modify skills, checking whether existing combinations can achieve τ; ACA, when capabilities are already complete but the original interaction is insufficient, rewrites based on execution feedback, and requires each skill to still be individually reviewed as benign. Figure 1 depicts the process as MPC, RRS, and SRC.

    Problem Setting and Formalization

    • Skill s has capability set C(s). The capability space G(s) is all ordered arrangements obtained by selecting and arranging capabilities from it. Combination is denoted ⊕, and Q is the safety space.
    • The authors give Theorem 1: if a combination falls within Q, then each component skill also falls within Q; the converse does not hold, because combinations yield capability arrangements that single skills do not have.
    • The combination-specific part is Eij=G(si⊕ sj)∖(G(si)∪ G(sj)), i.e., arrangements that appear only after combination. Theorem 2: when all single-skill capabilities are within Q, the combination exits Q if and only if Eij exits Q.
    • Theorem 3: if Eij exits Q, these unsafe arrangements are disjoint from each skill's own capability space, and independent review V cannot directly observe them.

    Malicious Plot Casting

    • MPC starts from a predefined τ and decomposes the required capabilities into complementary κ1, κ2. Each side contains only partial capabilities, individually not exposing the full malicious goal; together they cover the target requirements.
    • Retrieval in H is based on corresponding needs. Coverage is ηi(s)=|C(s)∩κi|/|κi|, i.e., the proportion of κi covered by s. The candidate pool requires this proportion to be greater than 0 and V(s)=1.
    • Candidates from both sides are paired: the union of capabilities covers κ1∪κ2, and neither item alone contains the entire set. Sorting is by coverage and complementarity on both sides; within the same target behavior, the same skill is not reused, then SRC executes.
    • The authors state that MPC finds the gap between independent review and combined behavior, i.e., benign pairs in Eij that can reach the target.

    Runaway Reaction Steering

    • Pairs already have the capabilities needed for τ, but execution may not connect. RRS reads the initial trajectory, examining information passed between skills, execution order, and shared state.
    • Each round performs bounded additions, deletions, or rewrites to instructions, generating K=5 candidates. Each modified skill individually passes V; combinations containing a skill that fails are discarded.
    • Bτ(ρ) represents progress of the trajectory relative to τ, and improvement is the difference relative to the initial trajectory. Among candidates that still pass review, the one with the largest improvement enters the next round, until the target consequence appears or the budget is exhausted. The paper does not specify how Bτ is quantified.
    • The authors state that RRS strengthens interactions between existing capabilities, without introducing new capabilities or permissions. The method section does not give an upper bound on rounds; the experiments section writes T=5.

    Skill Reaction Chamber

    • SRC executes skill pairs and input p in an isolated sandbox using fixed Mθ, recording tool actions, state changes, and externally observable consequences.
    • Both DCA's original combinations and RRS's candidates are executed here. Success is determined solely by whether the environmental consequence corresponding to τ appears, not just by text replies; if unsuccessful, the trajectory is returned to RRS.
  4. What experiments did the paper conduct?

    Under facilitated, DeepSeek-V4-Flash's ACA Both average is 73.8% (Table 1).

    Experimental Setup

    • Agents and backbones: The system is built on OpenClaw. Main backbones are DeepSeek-V4-Flash and GPT-4o-mini; Section 6.4 additionally uses GPT-4o, Hy3, Gemini 3.7 Flash, Qwen 3.8. Sandbox isolation, fixed tools and permissions.
    • Corpus: 4,000 public skills from SkillHub and ClawHub. The eight behaviors are Agent Config Hijack, Credential Exfiltration, DNS Exfiltration, Hidden RCE, Persistent Backdoor, SSH Key Exfiltration, Supply Chain Poisoning, Destructive File Transform. For each MPC, 70 pairs are selected, totaling 560 pairs.
    • Reviewers: SkillSafe, Cisco Skill Scanner, CSC SkillScan. The review constraint during RRS is SkillSafe.
    • Optimization budget: For initially unsuccessful original combinations, RRS runs at most T=5 rounds, with 5 candidates per round; SRC stops when it confirms the target environment consequence or the budget is exhausted.
    • Metrics: Success is defined as SRC confirming the environment consequence corresponding to τ; the text reports ASR. Table 1 title is trial-level harm rate (%) under facilitated prompts, and states that DeepSeek-V4-Flash comes from Table 4 and GPT-4o-mini from sensitivity check Table 4c; the accompanying text does not include the contents of those two tables.
    • Unspecified items: The paper does not report LLM judges, human agreement, or the number of repetitions per skill pair.

    Main Results

    According to Table 1, under facilitated prompts, Market corpus, 70 pairs per behavior, average trial-level harm rate (%) across eight behaviors:

    Swipe horizontally to read the table

    BackboneDCAACA Skill AACA Skill BACA Both
    DeepSeek-V4-Flash27.947.137.973.8
    GPT-4o-mini9.719.314.432.1
    • The authors state that DCA already succeeds on all eight behaviors, and complementary capabilities, once combined, can support malicious outcomes; meanwhile, many capability-matched pairs remain ineffective, and coverage alone does not determine whether τ can be achieved.
    • The authors state that changing either item improves performance, and changing both is strongest; risk comes more from how distributed capabilities are coordinated, and the backbone also affects the connection pattern. In Table 1, Both is higher than Skill A, Skill B, and DCA in each row.
    • Per-behavior exceptions: For GPT-4o-mini, SSH Key Exfiltration has DCA 42.9% and ACA Both 68.6%, while the model's DCA for other behaviors is 2.9%, 5.7%, or 8.6%. For DeepSeek-V4-Flash, DCA ranges from 15.7% for Destructive File Transform to 38.6% for Credential Exfiltration; ACA Both ranges from 61.4% for DNS Exfiltration and Supply Chain Poisoning to 88.6% for Credential Exfiltration. The paper does not separately explain these highs and lows.

    Prompt Conditions

    • The four levels are Strict Benign (only benign task context), Ambiguous (some target-related clues, without specifying the behavior), Facilitated (information helping connect the two skills), and Explicit (directly specifying the target behavior). Skill pairs and environment are unchanged, and DCA is compared with the three ACA variants. Appendix C gives example prompts for three behaviors.
    • The paper does not give percentages for Figure 2 in the main text, nor does it specify the corresponding backbone.
    • The authors state that stronger prompts make it easier for the same combination to achieve the goal; DCA relies more on prompts to connect execution order, information transfer, and shared state. ACA reduces this dependence, with gains mainly appearing under Ambiguous and Facilitated; under Explicit, remaining room for improvement is smaller. The authors state that under Strict Benign, success rates are low, and RRS does not make combinations unconditionally malicious when target-related information in the input is scarce.

    Independent Review

    • For each behavior, the 70 pairs are separately evaluated on Original and the skills retained after RRS; if optimization fails, the original skills are kept. The engine examines instructions, code, and other skill content.
    • Table 2 average pass rates: SkillSafe from 98.2% to 93.8%, Cisco from 98.0% to 97.1%, CSC SkillScan from 98.2% to 92.1%. SkillSafe's lowest After is 90.0% for Destructive File Transform; CSC's lowest After is 90.0% for Hidden RCE. Credential Exfiltration has Before 100.0% on SkillSafe.
    • The authors state that the decrease indicates some rewrites are more likely to expose suspicious signals, but most optimized skills are still seen as benign under independent checks; the authors argue that individual checks do not reflect the risk when these skills are executed together.

    Skill Selection Strategies

    • Same corpus, 70 pairs per behavior. MPC selects by complementary needs; Random does not consider the goal; Semantic selects by semantic relevance to the goal. Condition is Strict Benign, comparing DCA and ACA Both. The paper does not specify the backbone model.
    • Table 3 average ASR: MPC has DCA 17.0% and ACA Both 52.3%; Random has 3.1% and 4.5%; Semantic has 7.1% and 14.1%. MPC's ACA Both highest is 62.9% for Credential Exfiltration, lowest is 37.1% for Supply Chain Poisoning.
    • The authors believe successful combinations require two skills that are functionally complementary and jointly cover the goal. Random often lacks a function; Semantic may retrieve relevant but functionally redundant skills. The authors state that RRS can only adjust how existing functions interact, not create capabilities absent from the pair. The table and the textual description in Section 6.3 for Strict Benign do not specify whether they use the same backbone.

    Other Ablations and Analyses

    • RRS successful optimization proportion (Table S1, backbone unspecified, and denominator not specified whether only initially unsuccessful pairs): total 86.2%; Credential Exfiltration 100.0%; Destructive File Transform 75.7%.
    • Mean rounds to success (Table S1): total 2.6±1.1; Credential Exfiltration 1.2±0.4; Destructive File Transform 3.6±1.0.
    • Mean number of evaluated candidates (Table S1): total 14.0±7.0; Credential Exfiltration 3.4±1.1; Destructive File Transform 21.0±6.7.
    • Mean added instruction tokens (Table S1): total 42.1±6.3; the eight behaviors range from 38.5±7.4 to 44.6±4.1. The authors state that the rewrite magnitude is relatively stable, and the effect mainly comes from small adjustments to information exchange, order, or state.
    • Section 6.4 compares GPT-4o, Hy3, Gemini 3.7 Flash, Qwen 3.8, DeepSeek-V4-Flash. Figure 3 text includes GPT-4o, Gemini, Hunyuan 3.7 Flash, Qwen 3.8, DeepSeek V4 Flash, which does not fully match the main text, and columns do not align, so the figure's numbers are not cited. The paper does not specify the prompt condition or whether it is DCA or ACA for that figure. The authors believe differences mainly come from how models understand roles, dependencies, intermediate information, order, and state; the model's own safety behavior may also interrupt execution when combined behaviors become sensitive. Appendix A gives three examples: credential exfiltration, Hidden RCE, and DNS Exfiltration.
  5. What are some points that can be further explored?

    The paper does not explicitly list limitations or future directions.

    Limitations and Future Directions Noted by the Authors

    The paper does not specifically discuss limitations. The introduction frames the benchmark as a testbed for evaluating combination risks and stress-testing future review mechanisms; this is a contribution statement, not a separately listed future work.

    Experimental Coverage

    • Tested backbones are DeepSeek-V4-Flash, GPT-4o-mini on OpenClaw, and GPT-4o, Hy3, Gemini 3.7 Flash, Qwen 3.8 in Section 6.4. Execution is in an isolated sandbox with fixed tools and permissions.
    • The corpus is 4,000 public skills from SkillHub and ClawHub; eight cybersecurity behaviors with 70 pairs each, totaling 560 pairs. Formalization and experiments target two-skill combinations.
    • Attack settings are DCA, and ACA's Skill A, Skill B, Both. Prompts are Strict Benign, Ambiguous, Facilitated, Explicit. RRS has at most T=5 rounds, K=5 candidates per round, and the review constraint is SkillSafe.
    • Also reported are pass rates for SkillSafe, Cisco Skill Scanner, CSC SkillScan, and three pair-selection strategies: MPC, Random, Semantic (Table 3, Strict Benign). Success is determined by SRC based on environmental consequences in the sandbox.
    • The paper does not report LLM judges, human agreement, or the number of repetitions per pair. Figure 2, Table 3, and Table S1 do not specify the backbone; Figure 3 does not specify the prompt and DCA/ACA, and the model names in the figure are not fully consistent with the text. Table 1's note points to Table 4 and Table 4c, but the accompanying text does not contain these tables. Table S1 does not specify whether the denominator of the successful optimization proportion includes only initially unsuccessful pairs.
  6. Summarize the main content of the paper

    Benign skills can produce malicious environmental consequences when combined via DCA or ACA, and individual review does not catch this.

    CRIME pairs individually reviewed skills from a public skill library into two-skill combinations, to see whether joint execution can achieve a specified malicious task.

    • Problem: Skills can be loaded into the same session, but review is mostly done one by one. The authors distinguish two scenarios: DCA, where skills are not modified and existing functionality already connects, and ACA, where capabilities are complete but the original combination is ineffective, and interactions are rewritten under review constraints.
    • Method: MPC decomposes τ into complementary needs and retrieves benign pairs; RRS uses sandbox trajectories for bounded additions, deletions, and modifications, discarding candidates that fail independent review; SRC judges only by environmental consequences, not just text replies. Formally, the authors denote combination-specific capability arrangements invisible to independent review as Eij.
    • Main results: Under facilitated, with 70 pairs each, DeepSeek-V4-Flash's average harm rate is DCA 27.9%, ACA Both 73.8%, and GPT-4o-mini is 9.7% and 32.1% (Table 1). In that table, GPT-4o-mini's SSH Key Exfiltration DCA is 42.9%, and other behaviors are 2.9%, 5.7%, or 8.6%.
    • Other numbers: Under Strict Benign, Table 3 (backbone not specified) MPC's ACA Both averages 52.3%, Random 4.5%, Semantic 14.1%. In Table 2, average pass rates after RRS are SkillSafe 93.8%, Cisco 97.1%, CSC SkillScan 92.1%. Table S1's total successful optimization proportion is 86.2% (backbone not specified).
    • Authors' conclusion: Malicious behavior can already emerge from combinations without modifying skills, and coordination under execution feedback can further increase success rates. The authors state that individual skill checks cannot capture multi-skill safety risks, and frame the benchmark as a testbed for evaluating combination risks and stress-testing future review mechanisms.
Read originalarxiv.org