LLM-powered agents increasingly rely on third-party skills that combine natural-language instructions with executable code, creating supply-chain risks that may span both artifacts. Existing skill scanners often rely on rule matching or direct LLM judgments and provide limited support for tracing such cross-domain behavior. We present the Supply-Chain Scanner for Agent Skills (SCS), a static analysis framework that unifies instructions and code for security analysis. SCS compiles natural-language instructions into a constrained Python-style intermediate representation using a limited set of security-oriented APIs. It then constructs program dependence graphs for instructions and bundled code and connects them into a cross-domain graph (xPDG). A Trust-Sensitivity-Capability (TSC) model propagates security properties over the graph to support structured, largely deterministic risk detection. On a manually verified benchmark of 117 malicious and 117 benign skills, SCS achieves the highest average accuracy (85.6%), recall (95.2%), and F1-score (86.9%) among evaluated methods across five LLMs, with 80.2% precision and average token consumption of 13.7 million. Its NL-to-IR compiler achieves 92.5%-94.5% step-level correctness on 400 human-annotated instruction steps. Finally, analyzing 66,157 real-world ClawHub skills yields 2,473 candidates, of which 627 are confirmed malicious through auxiliary dynamic validation and manual review.
National Yang Ming Chiao Tung University(国立阳明交通大学);CISPA Helmholtz Center for Information Security(CISPA赫尔姆霍兹信息安全中心);Institute of Science Tokyo(东京科学大学)
MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detection
Nanjing University(南京大学);Griffith University(格里菲斯大学);Nanyang Technological University(南洋理工大学);Wake Forest University(维克森林大学);University of New South Wales(新南威尔士大学)
SkillsMetric: Mapping the Detection Boundary of Static Analysis for Malicious Agent Skills
The Graduate Center, City University of New York(纽约城市大学研究生中心);Hunter College, City University of New York(纽约城市大学亨特学院);The Ohio State University(俄亥俄州立大学)
SkillSieve: A Hierarchical Triage Framework for Detecting Malicious AI Agent Skills
Department of Earth Science and Engineering(地球科学与工程系);Imperial College London(帝国理工学院伦敦分校);Department of Computer Science(计算机科学系);University College London(伦敦大学学院);Lingban Technology Co., Ltd.(灵伴科技有限公司);State Key Laboratory of General Artificial Intelligence, Peking University(北京大学通用人工智能国家重点实验室)
Seeing Is Not Screening: Multimodal Hidden Instruction Attacks on Agent Skill Scanners
Nanyang Technological University, Singapore(南洋理工大学,新加坡);Chongqing University, China(重庆大学);Northeastern University, China(东北大学);University of Chinese Academy of Sciences, China(中国科学院大学);Beihang University, China(北航大学)
"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild
Griffith University(格里菲斯大学);Nanyang Technological University(南洋理工大学);University of New South Wales(新南威尔士大学);Zhejiang Key Laboratory of Digital Fashion and Data Governance, Zhejiang Sci-Tech University(浙江数字时尚与数据治理重点实验室,浙江科技大学)
SkillDRE: Dual-Stage Red-Team Evolution of Agent Skills via Pre-Execution and Runtime Feedback
Beijing University of Posts and Telecommunications(北京邮电大学);North China Electric Power University(华北电力大学);Chongqing University of Posts and Telecommunications(重庆邮电大学)
When Experience Becomes Instruction: Trajectory Poisoning in Self-Evolving Agent Skill Systems
Ant Group(蚂蚁集团);Zhejiang University(浙江大学);Tsinghua University(清华大学);Hangzhou Dianzi University(杭州电子科技大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Xi’an Jiaotong University(西安交通大学)
SkillScope: Toward Fine-Grained Least-Privilege Enforcement for Agent Skills
Sun Yat-sen University(中山大学);State Key Laboratory of Internet Architecture, Tsinghua University(清华大学互联网架构国家重点实验室);Shandong University(山东大学);The Hong Kong University of Science and Technology(香港科技大学)
Beyond Over-Refusal: Defending Indirect Prompt Injection via Latent Instruction Manifolds
Zhejiang University(浙江大学);Hong Kong Polytechnic University(香港理工大学);University of Science and Technology of China(中国科学技术大学);OPPO Research Institute(OPPO研究院)
Structured Security Auditing and Robustness Enhancement for Untrusted Agent Skills
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)