Skip to content
NewA calmer, faster ZeroHour

Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents

arXiv cs.CRby Tobias Kaisar ()1 min read4 · 1 read
AI summary · grok-4.7Summaries by Vani AI

Pretext builds malicious agent skills that evade SkillSpector-style scanners at up to 97 percent.

Pretext is a white-box attacker that iteratively writes agent skills which evade pre-install scanners while still carrying a payload and completing the benign task. Skills are used by agents such as OpenClaw and Claude Code; defenses like NVIDIA's SkillSpector combine static checks with an LLM semantic judge. Moving the payload into natural language defeats static analysis, and framing it as the skill's purpose while splitting instructions across files keeps the LLM score under the block threshold. Across three open-source models, success reached up to 97% against a frozen detector and 77% against a co-adaptive one.

Key facts
  • Pretext moves malicious skill payloads from code into natural-language instructions.
  • Legitimate-purpose framing and cross-file splits keep the LLM judge below its block threshold.
  • Evasion reaches 97% against a frozen detector and 77% against a co-adaptive one.
  • Evaluated defenses include NVIDIA SkillSpector-style scanners for agents such as Claude Code.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

Skills extend an agent's capabilities by injecting instructions and information into the context, and are widely used by agents such as OpenClaw and Claude Code. Prior work shows third-party marketplaces host malicious skills that give attackers direct influence over the victim's agent.

arXiv cs.CR

By Tobias Kaisar · arxiv.org

Read the full article at arXiv cs.CR

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.