Manuscript Offprint

arXiv:2610.07645

SkillPoison: Progressive Skill Poisoning via Successful Experiences

Lizhi Zhang, Xin He, Dianxuan Fu, Yuyuan Feng, Jiatong Li, Qi Wang, Xin Wang, Qinggang Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Self-improving LLM agents increasingly distill successful experiences into persistent, reusable skills. Existing skill attack methods corrupt this learning pipeline by injecting malicious triggers, behaviors, or false facts into individual experiences or extracted skills. However, such attacks are easily detected, and the injected malicious behaviors often fail to accumulate as persistent skills. In this paper, we show that skill poisoning can arise even from verified successful experiences, without making any individual trajectory malicious. Based on this insight, we propose SkillPoison, a novel framework that progressively poisons skill via successful experiences. SkillPoison first constructs a set of successful experiences that reinforce a target behavior, and then removes the contextual conditions that constrain when the behavior applies. Rather than injecting malicious content, SkillPoison shapes the skill extractor's generalization, allowing useful behavior to support task success while inducing harmful behavior when they are misapplied. Extensive experiments on three benchmarks show that SkillPoison achieves 95.71% attack success rates, while all injected experiences remain task-correct and pass verification and lexical inspection. Our code, data and implementation details are available for the community at https://github.com/DEEP-JLU/SkillPoison.

1 INTRODUCTION

Self-evolving LLM agents improve over time by learning from accumulated execution experiences (Wang et al., 2023; 2024a). Skill evolution provides a persistent form of such learning: agents extract procedural knowledge from task experiences, consolidate it into reusable skills, and refine these skills through subsequent interactions (Wang et al., 2026a). Once formed, a skill can be retrieved to guide downstream tasks, allowing knowledge acquired from prior interactions to influence subsequent planning and execution (Wang et al., 2026a; Zheng et al., 2025). Despite these benefits, such persistence also amplifies critical security risks: A corrupted or adversarially manipulated skill can persist beyond its originating interaction and repeatedly affect downstream executions. Securing how skills are formed, maintained, and reused is therefore becoming increasingly important for reliable self-evolving agents (Li et al., 2026; Badhe & Tiwari, 2026; Xiong et al., 2026).

Existing attacks on agent skills generally target either the skill artifact or its formation process. (i) Artifact-based attacks directly modify already-formed skills by embedding malicious instructions, executable code, or other adversarial content (Liu et al., 2026b; Qu et al., 2026). Once compromised, such skills can be repeatedly retrieved and reused, allowing adversarial behavior to persist across downstream executions. However, these attacks typically require direct access to the skill artifact or its surrounding resources (Liu et al., 2026d). This assumption becomes increasingly restrictive as modern self-evolving agents autonomously create, organize, and update their own skills (Ouyang et al., 2026). (ii) Formation-based attacks avoid this requirement by exploiting the agent's native skill-learning mechanism. Rather than directly modifying the final skill, they manipulate the task interactions, execution trajectories, or evolution evidence consumed during skill formation (Kim et al., 2026; Chen et al., 2026a). These manipulated signals are processed by the same analysis.

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

and consolidation mechanisms used for legitimate skill learning, steering the formation process to interpret attacker-desired behaviors as reusable knowledge and encode them into persistent skills. Consequently, adversarial behavior can be learned and consolidated through the agent's own formation process, enabling persistent influence without directly editing the final skill.

Figure

Figure 1: Two paradigms of skill attack.

Despite this progress, existing formation-based skill attacks still mainly treat poisoning as an experience-level behavior injection problem: they attempt to expose a malicious behavior, trigger, or activation rule in individual records and rely on the native pipeline to preserve it as reusable knowledge. This paradigm faces two critical limitations in practice. (i) Direct Exposure of Malicious Behavior. Existing attacks often encode the target behavior or its activation condition directly in individual records or trajectories (Wang et al., 2026b; Chen et al., 2024; Dong et al., 2025). Although such explicit encoding provides a strong signal for subsequent skill formation, it simultaneously exposes the adversarial behavior to trajectory analysis and formation-time validation (Zheng et al., 2026; Yang et al., 2026c; Gao et al., 2026). The injected behavior is inherently adversarial and therefore often conflicts with the original task requirements or execution constraints, making the attack easier to be detected and rejected before skill consolidation. (ii) Fail to Accumulate into Persistent Skills. Existing attacks are primarily designed to poison the current task, where attack effectiveness is reflected by incorrect outputs, degraded performance, or violations of task constraints. Such outcomes, however, provide weak supervision for skill formation. Native Skill-learning pipelines usually consolidate behaviors that are repeatedly supported by verified successful executions. Once a malicious behavior successfully disrupts the current execution, the resulting trajectory provides little support for retaining that behavior as reusable procedural knowledge (Chen et al., 2026b; Ni et al., 2026). This mismatch between task-level attack effectiveness and skill-level learning makes malicious behaviors difficult to accumulate through experience and promote into persistent skills.

In this paper, we introduce a new paradigm of skill attack: poisoning through verified successful experiences rather than malicious trajectories. Rather than inserting an adversarial behavior into a task execution, we exploit a locally valid behavior and reinforce its association with task success across experiences, encouraging the native skill-learning pipeline to retain it as reusable knowledge beyond its locally valid contexts. However, posing skill via successful experiences is promising but challenging: (i) How can the target behavior be grounded in verified task success? The behavior must naturally fit the task requirements and execution logic, and its contribution to the successful outcome must be sufficiently clear to distinguish it from incidental actions. (ii) How can repeated local success be promoted into an overly general skill? A successful experience only establishes that the behavior is valid under its local task conditions. The attacker must accumulate consistent support across experiences so that the native formation process recognizes the behavior as reusable procedural knowledge, while failing to preserve its original applicability conditions.

To address these challenges, we propose SkillPoison, which reinforces a locally valid target behavior across diverse successful experiences, inducing its retention and overgeneralization in the resulting skill. SkillPoison comprises three components. ① Hierarchical Task Selection selects tasks with successful experiences where the target behavior naturally occurs and affects output. ② Local Evidence-Grounded Success Attribution constructs attribution evidence for each selected task, explicitly linking the target behavior in its experience to verified task success. ③ Global Cross-Experience Inductive Reinforcement organizes successful experiences across task categories to promote retention of the target behavior as reusable knowledge. These components poison skill formation through task-valid experiences, enabling the target behavior to persist without direct skill modification or explicit malicious instructions. Our contributions are summarized as follows:

• We identify two key limitations of existing Formation-based Skill Attacks: direct exposure of malicious behavior in individual experiences and the failure to accumulate sufficient success evidence across diverse task contexts for its reliable consolidation into persistent, reusable skills.

Figure

(a) Outcomes of target-behavior formation across the evaluated attack–pipeline combinations.

Figure

(b) Two bottlenecks faced by Formation-based Attacks during experience-to-skill promotion.

Figure 2: Outcomes and failure modes of Formation-based Attacks. (a) Formation outcomes of SkillJack and PoisonedEvolution on Trace2Skill and AutoSkill. (b) Two stage-wise bottlenecks. Excessive behavior exposure triggers rejection during trajectory analysis. Failed experiences or isolated successes provide insufficient evidence for skill-level generalization, hindering retention.

• We propose SkillPoison, which poisons skill formation through verified successful experiences in which the target behavior is locally valid. Its three components identify natural occurrences of the behavior, link them to verified task success, and reinforce this association across diverse tasks.

• We evaluate SkillPoison on three benchmark datasets across two experience-to-skill frameworks. Experimental results show that SkillPoison outperforms existing methods in attack effectiveness across most settings, while ablation studies quantify component contributions to these gains.

References (55)