SkillDRE: Dual-Stage Red-Team Evolution of Agent Skills via Pre-Execution and Runtime Feedback

📅 2026-09-26
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenge of malicious evolution in agent skills under dual defense mechanisms comprising pre-execution scanning and runtime protection. To this end, it proposes a two-stage feedback loop framework that introduces a novel cross-stage closed-loop evolution mechanism. Specifically, defensive feedback from both stages is transformed into adaptive red-teaming learning signals. By integrating scanner-guided optimization, task-conditioned verification, and large language model-based code generation, the framework enables the automated evolution of complete malicious skill packages. Experimental results demonstrate that the proposed method achieves an average attack success rate of 45.28%, outperforming baselines by approximately five percentage points. Furthermore, it effectively evades security scanners while preserving benign task performance.
📝 Abstract
Agent skills package instructions, executable code, and task-specific resources into reusable artifacts that agents can improve using execution feedback. The same mechanism also enables attackers to evolve malicious skills, making them more effective and less detectable. However, a candidate skill may pass pre-execution scanning yet fail to realize its target under runtime defenses, while a revision that repairs execution may introduce new scanner findings. We introduce SkillDRE, a fully automated framework for evolving complete malicious skill packages through a dual-stage feedback loop. Given a benign task and its associated skills, SkillDRE autonomously constructs and validates a task-conditioned malicious objective and a verifiable judge rule. It then holds both fixed while evolving the skill implementation, with preservation of legitimate task capability. SkillDRE combines scanner-guided evolution with runtime-guided refinement informed by execution outcomes observed under runtime defense. Each runtime-guided revision returns to the pre-execution stage for rescanning and further optimization before re-execution, forming a cross-stage closed loop. Evaluated on SkillsBench across four victim models, SkillDRE achieves an average attack success rate of 45.28%, exceeding the strongest baseline by 40.3%, while its final submitted skills receive no SkillScan findings and largely preserve benign-task performance. These results show that two-stage defense feedback can serve as a useful learning signal for adaptive red teaming and that evaluating either defense stage in isolation can miss the resulting attack capability. Codes is available at https://github.com/whfeLingYu/SkillDRE
Problem

Research questions and friction points this paper is trying to address.

Agent Skills
Red Teaming
Malicious Skill Evolution
Runtime Defense
Pre-execution Scanning
Innovation

Methods, ideas, or system contributions that make the work stand out.

Red Teaming
Agent Skills
Dual-Stage Feedback
Adaptive Attack
Closed-loop Evolution
💼 Related Jobs
No related jobs found.
Pengyu Zhu
Pengyu Zhu
North China Electric Power University
Artificial IntelligenceBrain-Computer InterfaceAI for SciencePattern Recognition
Jingyi Yang
Jingyi Yang
University of Science and Technology of China
Computer VisionDeep LearningAI AgentGenerative ModelsReinforcement Learning
Y
Yi Liu
Beijing University of Posts and Telecommunications
L
Li Sun
Beijing University of Posts and Telecommunications
S
Sen Su
Chongqing University of Posts and Telecommunications