← Lab /Security & privacy

Skill extraction hides backdoors, making attacks hard to detect and persistent

SkillJack can embed malicious behaviors into agents' reusable skill repertoires that evade detection and survive deletion of original poisoned records

Security & privacy arXiv 4 Aug 2026 Attack Prototype evidence Threat model

Published as “SkillJack: Persistent Skill Backdoors in Self-Evolving Agents”

Why it matters

Clearing an agent's memory no longer removes a poisoned behavior; defenders must track and revoke derived skills and re-evaluate them at each transformation boundary.

Summary

SkillJack shows that extracting poisoned experience into reusable skills dramatically lowers detection-from 98.5% of raw trajectories flagged by an LLM judge to only 11.4% of the extracted skills-while the resulting malicious skills still succeed (56.2% on SkillX, 89.2% on Anything2Skill) and 80.0% of them persist after the original records are deleted. The evidence comes from two independent systems, a shared 150-trajectory dataset, and both static and runtime evaluations. The paper’s claims are supported by clear quantitative gaps but are limited by small sample sizes and lack of replication across models.

What they found 5

  1. Extraction reduces LLM-judge detection from 98.5% to 11.4%

    “the LLM judge flags 98.5% of the raw framed trajectories but only 11.4% of the skills extracted from them”

  2. 80.0% of skill-based attacks survive after source trajectories are deleted

    “the persistence rate is 80.0% after source-record deletion”

  3. On SkillX, malicious skills trigger the policy-violation proxy for 56.2% of attack-oriented tasks and 20.0% of clean tasks

    “risky skills are selected and trigger the violation proxy for 56.2% of attack-oriented tasks, and for 20.0% of unrelated clean tasks”

  4. On Anything2Skill, derived skills trigger the policy-violation proxy for 89.2% of attack-oriented queries

    “the derived skills trigger the policy-violation proxy at an 89.2% rate”

  5. LLM judge relies heavily on metadata: detection drops from 36.7% (code only) to 10.0% when benign name and documentation are added

    “LLM-judge detection is 36.7% when only code is shown but 10.0% once a benign name and documentation are attached”

Caveats 6

  • Clean-task trigger rate of 20.0% on SkillX indicates substantial collateral activation.
  • A2S retrieval shows a 95.0% clean-task retrieval rate, meaning malicious skills surface even on benign queries.
  • Direct-baseline skills still achieve 27.0% detection, showing the attack is not universally invisible.
  • The model is an implementation detail, and our conclusions have not yet been replicated across models.
  • The small samples and rule-based monitor make this an exploratory study.
  • The defense results are preliminary.

What’s new here 4

  • Demonstrates a new attack surface: poisoning the experience-to-skill pipeline of self-evolving agents.
  • Shows that skill extraction sanitizes malicious content ("sanitization whitewashing").
  • Shows that extracted skills survive source-record deletion ("persistence isolation").
  • Validates the effect across two independently implemented systems.

Threat model stated by the source

Adversaryattacker who can inject poisoned experience records into the agent's learning corpus
Capabilityinject poisoned trajectories; cannot directly modify the skill library or extraction code
Assumesskill extraction pipeline runs unchanged; agent uses experience-to-skill automation