Manuscript Offprint

arXiv:2610.17727

SkillScreen: High-Recall Screening of Malicious Agent Skills with Decision Models

Jerrold Huang, Junwei Quan, Saiyue Lyu, Zihan Guo, Yingqiang Ge

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Agent skills turn natural-language instructions into actions, creating a security challenge: legitimate automation and malicious behaviour can look deceptively similar. A practical screen must catch nearly every attack while keeping the review load manageable. We present SkillScreen, a compact decision model trained to score skill maliciousness directly from SKILL.md in a single forward pass. On MaliciousSkillBench, SkillScreen flags 20–25% of benign skills at 99% recall on unseen attack families, substantially fewer than the word-level classifier and prompted LLM judges tested. Under the same training protocol, it also generalizes better than a fully fine-tuned encoder to unseen sources. Yet unfamiliar benign sources sharply increase false positives, showing that recognizing new attacks does not ensure reliable screening of new skill collections. Our results demonstrate the value of task-trained decision models for high-recall skill screening. Project page: https://jerroldh.github.io/SkillScreen-webpage/

1 Introduction

Agent skills package natural-language instructions in a SKILL.md file, often with scripts and configuration, that an AI agent loads to manage files, write code or query a service (Agent Skills project, 2026). The agent carries out these instructions with the tools and permissions it has been granted, so a skill turns text into actions. Skills shared through public registries form a software supply chain. Registry analyses have identified malicious skills that steal credentials, execute remote code and manipulate agent behaviour (Liu et al., 2026). Controlled evaluations also show that skill-file attacks can induce data exfiltration and destructive actions (Schmotz et al., 2026). Registries and users therefore need to screen skills before they are installed.

Screening is hard because legitimate automation and malicious behaviour can look deceptively similar. Benign developer tools also run shell commands, read credentials and contact remote services (Chen et al., 2026). What separates an attack is how these capabilities are used in context (Schmotz et al., 2026). A practical screen must maintain high recall, since one missed attack can compromise its users, while keeping the false-positive rate (FPR) low enough to limit human review. These goals are difficult to meet together because lowering the decision threshold to catch more attacks might also flag more benign skills.

Existing screens struggle to meet both requirements. A static scanner matches risky patterns and detects 10.5% of malicious skills on MaliciousSkillBench (NVIDIA, 2026; Wang et al., 2026). Prompted LLM judges can inspect skill instructions, but they are expensive to query and tend to make overly conservative predictions. Moreover, their coarse-grained scores make it difficult to achieve high recall without excessive false positives: on the benchmark's main split, all tested judges incorrectly flag at least 87% of benign skills when operating at 99% recall.

To address these limitations, we introduce SkillScreen, a lightweight decision model that detects malicious agent skills directly from SKILL.md in a single forward pass. As illustrated in Figure 1, SkillScreen formulates detection as natural language inference (NLI), pairing each skill's instructions with the fixed hypothesis This AI agent skill is malicious. By fine-tuning OpenJev-2B (Alex-Wortega, 2026) with LoRA, SkillScreen learns to produce continuous maliciousness scores that enable flexible threshold calibration. These scores allow us to select a threshold targeting 99% recall on validation data. In our evaluation, SkillScreen yields fewer false positives than prompted LLM judges at matched high recall and runs locally without potential costly per-query API fees.

∗^{*}Equal contribution.

State the task

SkillScreen

Specialized maliciousness scoring

False-positive control

at high recall

Figure

Figure 1: SkillScreen specializes a small language model for false-positive control at high recall. Training and inference use the same skill, hypothesis and model. Cross-entropy supervises NLI outputs with skill labels. Dashed teal arrows mark updates to LoRA adapters and the head. Validation data calibrate scores and select a threshold for 99% recall. Model, calibration and threshold are frozen before test scoring. Layers and score axis are schematic.

On MaliciousSkillBench’s 9,740 labelled skills from eleven sources, SkillScreen detects 95.6% of malicious skills from attack families unseen in training at a 3.3% FPR. It matches a fully fine-tuned ModernBERT-large encoder in this setting, and at 99% recall it flags about half as many benign skills as a word-level SVM and under a third as many as prompted judges. Under the same one-epoch protocol, it generalizes better than the encoder to unseen sources (FPR 24 points lower at 99% recall). Yet unfamiliar benign sources sharply increase false positives for every trained detector: recognizing new attacks does not ensure reliable screening of new skill collections. We make three contributions.

• A compact high-recall screen. We introduce SkillScreen with a frozen, seed-aware protocol that compares detectors at matched high recall with paired resampling, and release the model, the scripts and the per-skill predictions behind Table 1.

• Evidence under attack and source shift. Across structural, source and random splits, SkillScreen keeps recall high and needs the fewest false positives at 99% recall among the detectors we test.

• Mechanism and bottleneck. Task training drives the gain, and an NLI initialization with a task-naming hypothesis halves false positives when labels are limited. Benign-source coverage, rather than attack novelty, is the central obstacle to deployment.

References (60)