Skip to content

SKILLLITE: Evidence-Guided Auditing of Malicious Agent Skills with Small ModelsSKILLLITE: Evidence-Guided Malicious Skill Auditing with Compact LLMs

arXiv· arXiv:2609.36879· Haoran Ou, Gelei Deng, Xuanye Zhang, Wenbo Guo, Tianwei Zhang, Kwok-Yan Lam·Indexed by this site · 2026-09-30· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

NTU proposes SKILLLITE, using evidence extraction and a compact LLM for pre-deployment malicious Agent Skill auditing; F1 is 0.905 on MalSkillBench and 0.966 on SkillTrustBench.

Threat modelThird-party skill supply chain: attackers publish skills that appear benign but contain malicious behavior, can modify any artifact in the package, and obfuscate or hide logic. Defenders hold the full skill package and perform binary classification (BENIGN/MALICIOUS) before deployment or execution. Scope is limited to pre-execution in-package auditing; purely runtime behavior and attacks against the underlying agent infrastructure, model, or execution environment are out of scope.

Questions
Third-party Agent Skills expand the supply chain attack surface, with malicious behaviors hidden in heterogeneous artifacts and often resembling legitimate operations. Existing auditing mostly relies on commercial or large-scale LLMs; how effectively compact, locally deployable models can audit complex Skill packages remains unclear.
Methods
SKILLLITE performs evidence-guided auditing of the complete Skill package before deployment: deterministic analyzers extract security-relevant behaviors, a compact LLM performs intent analysis and risk adjudication, and in between, findings are anchored to source code and synthesized into an evidence report with functional descriptions and security policies.
Experiments and results
The authors state that on MalSkillBench, SkillTrustBench, and MASB, SKILLLITE's overall F1 is 0.905, 0.966, and 0.807 respectively, higher than the listed baselines; relative to direct zero-shot on five compact LLMs, F1 improves by 9.2 to 73.6 percentage points across 15 settings. Per-skill latency is 27.4, 28.5, and 19.4 seconds, respectively.
Limitations and future work
The authors note that remaining errors are predominantly false negatives, as static auditing cannot see risks that only appear at runtime. Evaluation covers three benchmarks, five scanners, and five compact backbones (SkillSpector's LLM configuration uses GPT-4.1-nano instead); ablations are done only on the full SkillTrustBench binary classification set.
Experimental setupGemma4:e4b、Qwen3.5:9B et al. · MalSkillBench、SkillTrustBench et al. · Acc、Precision et al.
Evaluated models
Gemma4:e4bQwen3.5:9BDeepSeek-R1:8BMixtral-8x7B
Benchmarks
MalSkillBenchSkillTrustBenchMaliciousAgentSkillsBench (MASB)
Metrics
AccPrecisionRecallF1FPRFNRLatency (s)
AI summarySKILLLITE is an evidence-guided agent framework that uses compact, locally deployable LLMs to detect malicious behavior in Agent Skills. The research points out that small models struggle to identify hidden malicious behavior in complex Skill packages; SKILLLITE first extracts safety-related behaviors and infers the Skill's intended functionality, then assesses maliciousness based on that.

SKILLLITE is an evidence-guided agent framework that uses compact, locally deployable LLMs to detect malicious behavior in Agent Skills. The research points out that small models struggle to identify hidden malicious behavior in complex Skill packages; SKILLLITE first extracts safety-related behaviors and infers the Skill's intended functionality, then assesses maliciousness based on that.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How to use a compact, locally deployable LLM to audit malicious behavior hidden in complex Skill packages before deployment.

    How to effectively audit whether third-party Agent Skills are malicious using a compact LLM in a local environment with limited compute and privacy constraints.

    • Scenario and importance: The authors state that LLM agents extend their capabilities through Agent Skills, where a Skill packages task instructions, executable components, and auxiliary resources. Third-party Skills are widely distributed, forming a supply chain attack surface. Malicious Skills can abuse agent permissions, access sensitive resources, manipulate execution, or communicate externally without authorization, and security-sensitive operations may themselves be necessary for benign tasks. Cisco (2026) states that ClawHavoc planted more than 800 malicious Skills in ClawHub, about 20% of the registry; CERT-EU (2026) also records another OpenClaw supply chain incident.
    • Limitations of existing methods: Rule-based static analysis (e.g., Cisco Skill Scanner, NVIDIA SkillSpector) struggles to judge context-dependent behavior. LLM-based auditing performs better but often relies on commercial or large-scale models, involving external services or high local overhead; Skill source code and configuration may also have to remain in a controlled local environment. The effectiveness of compact LLMs in auditing complex Skill packages remains largely unexplored.
    • Core observation: The authors summarize two types of difficulty (Figure 1). Security-relevant behaviors are sparse and distributed across instructions, scripts, configurations, and auxiliary resources; individual artifacts often do not reveal the full malicious behavior, and isolated operations only appear malicious when placed in functional context. Compact LLMs have limited reasoning ability, making it difficult to simultaneously locate evidence, connect scattered observations, and explain security implications.
    • Proposed in this paper: SKILLLITE, an evidence-guided agentic auditing framework. It uses analyzers to extract security behaviors, uses a compact LLM for intent analysis and risk adjudication, anchors behaviors to functional context before determining maliciousness, and provides traceable reasoning.
    • Threat model:
      • Target: An attacker publishes third-party Skills that appear benign but contain malicious behaviors, such as unauthorized resource access, sensitive information leakage, or unexpected command execution.
      • Knowledge and capability: The attacker can modify any artifact in the Skill package (instructions, source code, configuration, auxiliary resources) and can use obfuscation or hidden artifacts to conceal malicious logic.
      • Defender: Holds the complete Skill package and determines benign or malicious before deployment or execution. Formalized as f(S) → y, y ∈ {BENIGN, MALICIOUS}.
      • Scope: Only pre-execution auditing of malicious behavior within the package. Purely runtime behavior, as well as attacks against the underlying agent infrastructure, models, or execution environment, are out of scope.
  2. What related research exists?

    Related work is divided into skill mechanisms, malicious skill threats, and pre-deployment detection; the authors position this paper in the gap of compact LLM auditing.

    The paper divides related work into three groups: Agent Skills, malicious skills, and malicious skill detection.

    Agent Skill mechanisms

    • Skill package structure (OpenAI, 2026; Anthropic, 2026; Jiang et al., 2026a; Xu & Yan, 2026) — Skills typically contain SKILL.md, plus optional scripts, references, templates, and other auxiliary resources, loaded on demand to reduce context usage, without retraining the underlying model.
    • Applications and composition — coding (Li et al., 2026b), document processing (Zhou et al., 2026), data analysis (Abaskohi et al., 2025), web automation (Zheng et al., 2025), and domain tasks (Jiang et al., 2026a; Li et al., 2026a); also selection (Zhang et al., 2026), composition (Li et al., 2026a), and cross-task adaptation (Alzubi et al., 2026).
    • Open ecosystem — community registries and marketplaces let third parties publish, discover, and integrate skills, extending the agent supply chain to components not maintained by the original developers.

    Malicious skills and measured threats

    • Attack surface (Liu et al., 2026b; Chen et al., 2026a; Feng et al., 2026) — executable scripts, configuration, and external resources can embed credential theft, data exfiltration, or unauthorized command execution; third-party distribution amplifies the impact.
    • Field measurement (Liu et al., 2026b) — collected 98,380 skills from public registries, confirmed 157 behaviorally verified malicious skills, with threats including credential theft, remote code execution, and adversarial instructions.
    • More complex mechanisms — trigger-based backdoors (Feng et al., 2026), runtime skill manipulation (Chen et al., 2026a), harmful behavior amplification (Jiang et al., 2026b), and multidimensional risks (Hossain et al., 2026). The authors state these threats differ from conventional malicious code and attacks on LLMs/agents.

    Pre-deployment malicious skill detection

    • Rule-based static analysis — Cisco Skill Scanner (Cisco AI Defense, 2026) and NVIDIA SkillSpector (NVIDIA, 2026) scan for suspicious commands, credential handling, prompt injection patterns, and dangerous installation logic. The authors state they are efficient and interpretable but lack the contextual understanding needed to judge whether sensitive behavior is malicious or functional.
    • LLM semantic auditing — triage (Hou & Yang, 2026), structured behavior reasoning (Wang et al., 2026), intent–implementation consistency (He et al., 2026), risk localization (Etteib et al., 2026), and SkillProbe's multi-agent collaborative auditing (Guo et al., 2026b). On the scanner side, there are also AI-Infra-Guard (Tencent Zhuque Lab, 2025) and SkillWard (Fangcun AI, 2026), which typically combine static findings with LLM semantic analysis.
    • Known shortcomings — Guo et al. (2026a) state that existing representative detectors remain weak against prompt injection and agent control risks. The authors also state that existing LLM methods generally rely on commercial or large-scale models; when compute is limited (Liu et al., 2024; Chen et al., 2026b) or privacy requirements are strict (Das et al., 2025; Zhao & Song, 2024; Wang et al., 2025), compact models are preferred, and this direction is largely unexplored.

    Baseline methods (Section 4.1): SkillSpector, AI-Infra-Guard Skill-Scan, Cisco Skill Scanner, SkillWard, Skill Vetter; SkillSpector and Cisco each have static and LLM-assisted configurations. Benchmarks: MalSkillBench (Guo et al., 2026a), SkillTrustBench (ski, 2026), MaliciousAgentSkillsBench (Liu et al., 2026b).

    The authors position this paper as: malicious skill auditing on compact, locally deployable LLMs, using evidence extraction and anchoring to reduce the model's reasoning burden.

  3. How does the paper address this problem?

    SKILLLITE uses deterministic analyzers to extract evidence, then a compact LLM performs intent analysis and risk adjudication.

    SKILLLITE decomposes auditing into four roles: security evidence extraction, intent analysis, evidence synthesis, and risk adjudication (Figure 2). Deterministic analyzers are responsible for discovering sparse, scattered security-relevant behaviors; the compact LLM only performs intent inference and adjudication based on structured evidence, to reduce direct reasoning over complex heterogeneous packages.

    Problem formulation

    • Input and output: Input is the complete Skill package S, prediction f(S) → y, y ∈ {BENIGN, MALICIOUS}, occurring before deployment or execution.
    • Package representation: S = {a1, …, an}, where ai is an instruction, script, configuration, or auxiliary resource. Default backbone is Gemma4:e4b, deployed locally with Ollama, no fine-tuning.
    • Behavior classes are not maliciousness: The security-relevant behavior classes B include sensitive resource access, external communication, system execution, persistence, covert behavior, and agent control manipulation. The same behavior can appear in benign and malicious Skills and cannot be judged in isolation.

    Security evidence extraction

    • Analyzer set: D = {D1, …, Dm}, deterministic and complementary. Appendix A.1 / Table 4 lists four types: general security patterns (local files, network, system commands, permission changes), language-aware code analysis (process calls, network APIs, environment variables, dynamic execution), covert payload checks (encoded payloads, hidden auxiliary logic, split payloads, obfuscated execution), and agent control signals (approval bypass, sandbox bypass, control flow hijacking, autonomous confirmation bypass).
    • Finding records: F(S) is obtained by applying each analyzer to each artifact. Each finding records the behavior, source artifact, supporting evidence, and attributes (Figure 2 example includes rule name, source, matched fragment, and strength). These signals serve only as evidence and do not directly determine the final maliciousness decision. The appendix gives analyzer coverage; the main text does not expand the specific rule table.

    Intent analysis and evidence synthesis

    • Intent specification: The Intent Analyst reads the Skill specification Sspec (SKILL.md) and outputs P = (g, C^exp): the declared functional goal g, and the expected capabilities C^exp that support that goal and are proportionate. For example, a deployment-type Skill may be expected to have network access and command execution, while a document-processing type may not. Unexpected behaviors are not directly judged malicious and are left to the adjudication stage. Appendix D.1 gives the full prompt, requiring output of the declared purpose and expected capabilities.
    • Anchoring: Each observation e_k = (b_k, a_k, x_k, c_k, s_k), respectively behavior, source artifact, supporting evidence, surrounding source code context, and evidence strength. Evidence set E = {e1, …, en}.
    • Evidence report: R = (E, C^risk). C^risk places E together with the functional specification P and applicable security policies Π. The report has two sides: anchored evidence describes what was observed and where it appears; risk context gives functional expectations and policies.

    Risk adjudication and success determination

    • Three complementary aspects: Functional necessity (whether the capability is reasonably required for the declared function); benign counter-evidence (whether source-anchored evidence can provide a credible reason for the suspicious behavior); for critical agent risks, generic functional reasons are insufficient and direct, risk-specific counter-evidence is required.
    • Combination rather than single point: Adjudication looks at both individual behaviors and their combinations, including cases where each appears reasonable but together form a harmful pattern. The compact LLM gives a maliciousness judgment and traceable reasoning on R, with reasoning pointing to evidence and functional context.
    • Decision policy (Appendix D.1, only the mechanism is retained): Having security-sensitive capabilities alone does not mean malicious; necessary and proportionate behaviors are usually treated as benign; strong, unexplained, or deceptive behaviors support a malicious judgment; critical agent risks require direct, risk-specific benign counter-evidence. Output includes a review of suspicious evidence, benign counter-evidence, whether an abuse chain exists, whether malicious, a 0–100 confidence score, and reasoning. The success determination in experiments is a binary classification metric, not that confidence score itself.
  4. What experiments did the paper conduct?

    On three benchmarks, SKILLLITE's F1 is 0.905, 0.966, 0.807, and higher than direct zero-shot with the same backbone.

    Experimental setup

    • Backbones tested: Default Gemma4:e4b. Cross-model tests also include Qwen3.5:9B, DeepSeek-R1:8B (thinking on/off), Mixtral-8x7B. Open-source models are deployed locally via Ollama 0.20.7 without fine-tuning, one GPU per instance. Environment is Ubuntu 22.04, 2×AMD EPYC 7543, 250 GB memory, NVIDIA RTX A6000 48 GB, Python 3.11.4 (Table 5).
    • Datasets: MalSkillBench contains 3,944 malicious and 4,000 benign, covering code injection, prompt injection, and hybrid attacks, 15 malicious behavior categories, 108 attack vector × behavior × insertion strategy combinations in total (Appendix A.2). SkillTrustBench comes from more than 62,000 real Skills, 9 security categories; after binary classification, 1,014 suspicious are removed, leaving 2,863 malicious and 1,643 benign, 4,506 in total. MASB, from 98,380 Skills in two public registries, yields 157 malicious Skills (13 attack techniques, six kill chain stages) after static screening plus behavioral verification in an isolated environment, and is combined with 299 verified benign Skills from the same ecosystem to form 456 samples.
    • Baselines: SkillSpector, AI-Infra-Guard Skill-Scan, Cisco Skill Scanner, SkillWard, Skill Vetter. The first two and Cisco have static and LLM-assisted variants. LLM-assisted baselines use the same underlying model as SKILLLITE where supported. SkillSpector's original LLM pipeline with Gemma4:e4b failed on all three benchmarks due to high failure rates from the 300-second per-sample timeout, so GPT-4.1-nano was used instead, with the workflow unchanged (Appendix A.3). SkillWard maps UNSAFE to malicious; Skill-Vetter maps warning to malicious. Baselines use official implementations and default configurations.
    • Metrics: Acc, Precision, Recall, F1 (primary metric), FPR, FNR, and average end-to-end seconds per Skill. Category analysis reports recall only for malicious samples; SkillTrustBench and MASB categories are multi-label and non-mutually exclusive.
    • Input: Complete Skill package (specification, implementation code, configuration, auxiliary artifacts). The paper does not report the number of repetitions, nor agreement checks with human annotations.

    Main results

    Per Table 1 (MalSkillBench, SkillTrustBench) and Table 2 (MASB). Default backbone is Gemma4:e4b; SkillSpector (LLM) uses GPT-4.1-nano.

    Swipe horizontally to read the table

    MethodMalSkillBench F1SkillTrustBench F1MASB F1
    Cisco SkillScanner (Static)0.3730.7960.122
    Cisco SkillScanner (LLM)0.7640.8640.703
    NVIDIA SkillSpector (Static)0.5670.8560.224
    NVIDIA SkillSpector (LLM)0.6670.8500.262
    SkillWard0.7520.9010.131
    Skill-Vetter0.7350.8540.761
    Tencent AI-Infra-Guard0.8500.8850.797
    SKILLLITE0.9050.9660.807
    • Detection: The authors state that SKILLLITE has the best overall detection on the two main benchmarks, with strong precision and recall simultaneously. On MalSkillBench, its Acc is 0.909, Prec 0.944, Recall 0.869, FPR 0.051, FNR 0.132; on SkillTrustBench, Acc 0.957, Prec 0.971, Recall 0.961, FPR 0.050, FNR 0.039. The authors state that conservative methods often miss detections, while sensitive methods often judge legitimate sensitive operations as malicious; after anchoring to source code and functional context, both types of errors decrease.
    • Efficiency: 27.4 seconds per Skill on MalSkillBench, 28.5 seconds on SkillTrustBench. The authors state that on MalSkillBench it is about 3.5 times faster than the strongest competing baseline; in Table 1, AI-Infra-Guard is 97.1 seconds, and 27.4 relative to 97.1 is approximately that magnitude. Pure static scanning is faster (Cisco Static is 0.1 seconds on MalSkillBench) but has lower F1.
    • MASB: Acc 0.878, Prec 0.892, Recall 0.737, F1 0.807, FPR 0.048, FNR 0.263, latency 19.4 seconds. The authors state that overall Acc and F1 are the best with low FPR, indicating that generalization to the wild does not rely on aggressive strategies. AI-Infra-Guard has F1 0.797 and latency 94.2 seconds; the authors state this is about 4.9 times that of SKILLLITE. SKILLLITE's Recall (0.737) is lower than Skill-Vetter (0.892) and AI-Infra-Guard (0.873).

    Wild generalization and remaining errors

    • What was tested: MASB consists of malicious Skills from public registries confirmed by behavior. The authors state that remaining errors are mainly false negatives: security-sensitive behaviors may be consistent with the declared functionality.
    • Authors' interpretation: This reflects a general limitation of static auditing, which cannot see risks that only appear at runtime; how to use static auditing to discover more runtime risks is, in the authors' view, a question worth studying later. Baselines still trade off between high recall and conservative decisions.

    Compact LLM enhancement

    • What was tested: Figure 3 compares five backbones across three benchmarks between direct zero-shot and SKILLLITE (x-axis latency, y-axis F1). The authors state that F1 improves in all 15 model–benchmark settings, by 9.2 to 73.6 percentage points. Zero-shot shows a conservative bias: high precision but often misses malicious Skills, especially on MASB.
    • Numbers: Appendix C states that on MalSkillBench, DeepSeek-R1:8B's F1 rises from 59.2% to 80.5%, with latency 11.5 seconds. In Table 10 (MASB), Gemma4 E4B's F1 goes from 0.071 to 0.807 (latency 9.2 seconds to 19.4 seconds); Qwen3.5 9B from 0.074 to 0.714 (27.1 seconds to 65.5 seconds); DeepSeek-R1 8B (Thinking) from 0.108 to 0.717; DeepSeek-R1 8B (w/o Thinking) from 0.169 to 0.719, but FPR rises from 0.020 to 0.244; Mixtral's zero-shot F1 is 0.000 (Prec 0.000, Recall 0.000), and SKILLLITE is 0.618. The authors state that the improvement varies with backbone capability, and the additional latency remains practical. The full cross-model numbers in Table 8 and Table 9 appear after the truncation point in the main text; cells not fully read are not transcribed here.

    Category recall

    • MalSkillBench (Figure 4 text, 126–280 malicious samples per category): The authors state that SKILLLITE has strong recall in most categories, B6 (Reverse Shell) 0.993, B8 (Resource Abuse) 0.982; errors concentrate in fewer categories, such as B10 (Role Hijack) 0.497, B14 (Goal Hijacking) 0.706, and B15 is 0.380. The authors state that several high-sensitivity baselines have higher recall on these difficult categories, but with much higher overall FPR.
    • SkillTrustBench (T01–T09, malicious samples 96 to 2,450, multi-label): T06 (Persistence) recall 1.000, T07 (Tool Hijacking) 0.984. The authors state that most baselines are more inconsistent across categories, and high recall is often accompanied by higher overall FPR.
    • MASB: Figure 4 lists recall by attack technique (e.g., the RS row has SKILLLITE at 1.000). Multi-label and non-mutually exclusive. The last row is truncated in the text and is not completed.

    Other ablations and analyses

    • Table 3 (full SkillTrustBench binary classification): Full F1 0.966; removing Security Evidence Extraction gives F1 0.485, Recall 0.326, FNR 0.674; removing Intent Analysis gives F1 0.451, Prec 0.996, Recall 0.292, FNR 0.708; removing Evidence Synthesis gives F1 0.743, Recall 0.612, FNR 0.388.
    • Extraction: The authors state that without package-level extraction, sensitive behaviors in scripts, configurations, and other artifacts are no longer explicitly exposed, and recall drops the most.
    • Intent: Removing it still leaves high precision but misses most malicious Skills; the authors state the model lacks functional reference and exhibits conservative decisions.
    • Synthesis: The drop is smaller than the first two; the authors state that remaining findings can point to sensitive patterns but lack the implementation context explaining how they appear in the Skill.
    • Package feature analysis: Appendix B states that analysis was also done from package features; the visible part of the main text does not give a separate table of numbers, so none is added here.
  5. What are some points that can be further explored?

    The authors list the remaining false negatives and risks that only appear at runtime as issues after static auditing.

    Limitations and future directions noted by the authors

    • Static auditing cannot see runtime risks (Section 4.3): On MASB, the authors state that remaining errors are mainly false negatives; security-sensitive behaviors may appear consistent with the declared functionality; this reflects a general limitation of static auditing, which cannot observe risks that only appear at runtime.
    • Using static means to discover more runtime risks (Section 4.3): The authors state that how to reveal more runtime risks through static auditing remains a question worth studying.
    • Final performance is still affected by the underlying model capability (Section 4.4): The authors state that although SKILLLITE can enhance models with limited zero-shot capability, final performance is still affected by the underlying compact LLM's capability.
    • Directions in the conclusion (Section 5): The authors believe effective security auditing need not rely on scaling model capability; reorganizing how security evidence is exposed to the model is one direction for building practical, local, lightweight Agent Skill auditing systems. The paper has no separate Limitations section.

    Experimental coverage

    • Three benchmarks: MalSkillBench (3,944 malicious + 4,000 benign), SkillTrustBench binary subset (2,863 malicious + 1,643 benign, excluding 1,014 suspicious), MASB (157 behavior-confirmed malicious + 299 verified benign).
    • Backbones and deployment: Main experiments default to Gemma4:e4b; cross-model also includes Qwen3.5:9B, DeepSeek-R1:8B (thinking on and off), Mixtral-8x7B, all local Ollama, no fine-tuning. SkillSpector's LLM configuration switched to GPT-4.1-nano because Gemma4:e4b timed out.
    • Baseline configurations: Five scanners, of which Cisco and SkillSpector each have static and LLM-assisted variants; LLM-assisted uses the same backbone as SKILLLITE where supported. Ablations remove evidence extraction, intent analysis, and evidence synthesis on the full SkillTrustBench binary set (Table 3).
    • Task boundary (Section 3.1): Only pre-execution binary classification within the package. Purely runtime behavior, as well as attacks against the underlying agent infrastructure, models, or execution environment, are explicitly stated by the authors to be out of scope.
    • Not reported in the paper: Number of repetitions, agreement between the reviewing model and humans (judgments come from detector output mapping, not a separate LLM review threshold), and query counts beyond the main experiments. Latency is reported as average end-to-end seconds per Skill and measured under a controlled run configuration (Appendix C).
  6. Summarize the main content of the paper

    SKILLLITE externalizes evidence extraction, letting a compact LLM only make intent-conditioned risk adjudication, with F1 higher than the listed baselines on three benchmarks.

    SKILLLITE is a pre-execution auditing framework for malicious Agent Skills targeting compact, locally deployable LLMs; the authors are affiliated with Nanyang Technological University.

    • Problem: Third-party Skills package instructions, scripts, configurations, and auxiliary resources into the agent supply chain. Malicious behaviors are sparse and scattered, and often resemble legitimate security-sensitive operations. Rule-based scanning lacks functional context; existing LLM auditing mostly relies on commercial or large-scale models. When compact models directly audit the raw package, they struggle both to see implicit behaviors and to simultaneously locate, relate, and explain.
    • Method: Deterministic analyzers cover general security patterns, code analysis, covert payloads, and agent control signals, producing only evidence. The Intent Analyst obtains the declared goal and expected capabilities from SKILL.md. Evidence is anchored to source and context, and synthesized into a report with the functional specification and security policies. The Risk Adjudicator decides from three aspects—functional necessity, benign counter-evidence, and security risk—requiring direct counter-evidence for critical agent risks, and outputs traceable reasoning. Scope is pre-deployment BENIGN/MALICIOUS binary classification.
    • Main results: With default Gemma4:e4b, on MalSkillBench F1 0.905, FPR 0.051, 27.4 seconds per Skill (Table 1); on SkillTrustBench F1 0.966, FNR 0.039, 28.5 seconds; on MASB F1 0.807, FPR 0.048, FNR 0.263, 19.4 seconds (Table 2). The authors state that the closest AI-Infra-Guard on MASB has latency about 4.9 times that. Relative to direct zero-shot, F1 improves by 9.2 to 73.6 percentage points across 15 model–benchmark settings. After removing intent analysis, F1 on SkillTrustBench drops to 0.451 (Table 3).
    • Authors' conclusion: Directly auditing raw packages with compact LLMs remains difficult. Externalizing evidence discovery and anchoring, and letting the model focus on intent-conditioned risk adjudication, can simultaneously improve detection and maintain locally deployable latency. The authors believe this need not rely on scaling model capability. Remaining errors on MASB are mainly false negatives, and static auditing still cannot see risks that only appear at runtime.

Related papers

Show 1 more papers
Read originalarxiv.org