← Lab /AI/ML

Skill detectors evaded with up to 97% success by crafted malicious skills

The Pretext attacker can bypass static and LLM-based skill scanners while delivering payloads

AI/ML arXiv 30 Sep 2026 Attack Prototype evidence

Published as “Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents”

Why it matters

Current skill verification pipelines that rely on static checks plus an LLM judge can be bypassed, and making them more conservative leads to prohibitive false-positive rates, limiting practical deployment.

Summary

PRETEXT can evade the popular SkillSpector skill scanner with up to 97% attack success rate (ASR) against a frozen detector and 77% against a co-adaptive one. The white-box LLM attacker iteratively moves the malicious payload into natural language and splits it across files, bypassing both static checks and the LLM semantic judge. In adaptive scenarios the detector’s false-positive rate climbs to 62%, reducing benign utility while still allowing many attacks. The paper evaluates three open-source LLMs over multiple generations and reports these numbers, but does not test commercial scanners.

What they found 3

  1. PRETEXT achieves up to 97% success against a frozen detector and 77% against a co-adaptive detector.

    “PRETEXT achieves up to 97% and 77% against a frozen detector and a co-adaptive one”

  2. The adaptive detector exhibits a very high false-positive rate, up to 62% in the gpt-oss blind scenario.

    “the false positive (FP) rate is very high (up to 62% in the gpt-oss blind scenario)”

  3. Against the qwen3t model, PRETEXT attains an ASR of 96.7% across generations.

    “PRETEXT, across generations, shows a very high ASR against qwen3t (96.7)”

Caveats 3

  • In adaptive Mode B the attack success rate drops (e.g., to 40-50% depending on model) compared to the frozen case.
  • The adaptive detector’s false-positive rate rises dramatically (up to 62%), indicating a trade-off between security and utility.
  • We do not evaluate how PRETEXT transfers to existing commercial scanners, due to their closed-source, proprietary nature and non-public rules and specifications.

What’s new here 4

  • Demonstrates a white-box LLM attacker that learns across generations to defeat combined static+LLM skill scanners.
  • Introduces a co-evolutionary setting where both attacker and detector adapt, revealing high false-positive rates in adaptive defenses.
  • Shows that moving payloads into natural-language instructions and file-splitting can bypass deterministic static analysis.
  • Provides detailed metrics on attacker memory convergence, plasticity, and detector coverage.