|国家预印本平台
| 注册
首页|Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents

Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents

Tobias Kaiser Aritra Dhar

✕
Arxiv_logoArxiv

Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents

Tobias Kaiser Aritra Dhar

作者信息

Abstract

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. The emerging defense scans skills before installation, pairing deterministic static checks with an LLM-based semantic judge, as in NVIDIA's SkillSpector. We show that such defenses fall to an attacker who knows the detector. Our white-box LLM attacker, Pretext, iteratively crafts skills that evade detection while still delivering the payload and performing the benign task: moving the payload from code into natural language leaves static analysis inert, while framing it as the skill's legitimate purpose and splitting instructions across files keeps the LLM stage below its blocking threshold. Across three open-source models, Pretext achieves up to 97\% and 77\% against a frozen detector and a co-adaptive one, respectively, revealing major gaps in current skill scanners.

引用本文复制引用

Tobias Kaiser,Aritra Dhar.Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents[EB/OL].(2026-10-08)[2026-10-12].https://arxiv.org/abs/2609.39607.

学科分类

计算技术、计算机技术
首发时间: 2026-10-08
下载量:0
|
点击量:9
段落导航相关论文