arXiv(opens in a new tab)cs.CRAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.27424

Beyond F1: Evaluating Coverage and Failure Recovery in AI Model Security Scanners

Qianlong Lan, Vinothini Pandurangan, Anuj Kaul, Indranil Sanyal

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

ABSTRACT

Static scanners are increasingly used to identify executable or otherwise unsafe content in machine-learning artifacts, yet conventional evaluation metrics characterize only cases where a scanner yields a usable security judgment. We evaluate ModelScan, ModelAudit, and Fickling using a controlled, artifact-backed benchmark on a synthetic corpus of 170 Pickle and PyTorch focused artifacts across 145 specimen families, 135 of which have binary security ground truth and 10 of which are intentionally malformed without labels. We explicitly distinguish non-N/A coverage, analysis completion, definitive security decisions, non-security findings, and unsupported outcomes. On labeled families, ModelAudit produced definitive security decisions for all 135 families (100%), Fickling for 110 (81.5%), and ModelScan for 67 (49.6%). Conditional on making a definitive judgment, ModelScan achieved 100% precision, recall, and F1. Fickling identified no unique true-positive families beyond those found by the combination of ModelAudit and ModelScan. Furthermore, for the 48 malicious families where ModelScan failed to complete its analysis, both ModelAudit and Fickling generated detections consistent with ground truth. These findings underscore the need to separate judgment accuracy from judgment availability, as well as incremental detection coverage from tool-level redundancy.

Keywords AI Model Security · Model Supply-Chain Security · Security Scanner Benchmarking · Secure Deserialization · Pickle Security · Static Analysis · Failure Recovery

1 Introduction

Model distribution creates a critical security boundary: artifacts may contain serialized objects, custom operators, embedded payloads, or malformed structures that exploit parser vulnerabilities. Python explicitly warns that Pickle data from untrusted sources can execute arbitrary code during unpickling [8]. PyTorch serialization inherits this vulnerability surface and documents restricted loading mechanisms such as weights_only [9]. Model sharing platforms therefore deploy artifact scanning as an essential layer of supply-chain defense [2, 3].

We conduct a controlled, offline benchmark of three open-source model-security scanners: ModelScan, ModelAudit, and Fickling. Rather than reducing scanner output to a simple binary safe/unsafe decision, we explicitly track non-N/A coverage, successful completion, semantic security findings, incomplete analysis, and execution errors. Our analysis further evaluates family-level overlap, renamed-artifact robustness, operational latency, and the capacity of heterogeneous scanners to recover a defensible security decision when a primary scanner fails. This design addresses a central systems-security question: whether combining heterogeneous open-source scanners expands security coverage, improves decision availability under scanner failure, or merely introduces redundant confirmation.

Our evaluation is motivated by the insight that scanner quality encompasses two distinct dimensions: whether a scanner is correct when it yields a security judgment, and whether it can produce such a judgment in the first place. Standard conditional detection metrics capture the former but mask the latter. Consequently, we treat incomplete, unsupported, and structurally relevant outcomes as explicit, measurable operational states.

This paper makes three contributions:

  1. We define a family-aware evaluation methodology that separates observed non-N/A coverage, analysis completion, definitive security decisions, non-security findings, and execution failures. We report both corpus-wide and labeled-family decision coverage alongside conventional conditional detection metrics.

  2. We apply this methodology to a frozen synthetic benchmark of ModelScan, ModelAudit, and Fickling comprising 170 Pickle/PyTorch-focused artifacts organized into 145 specimen families.

  3. We distinguish incremental detection coverage from failure-mode redundancy through family-level scanner-overlap and recovery analysis, and additionally characterize false-positive causes, execution latency, and filename/extension robustness.

Figure 1 summarizes the benchmark’s three analytical layers: whether a scanner produces a usable judgment, whether that judgment is correct relative to specimen-level ground truth, and whether multiple scanners provide incremental coverage or recovery.

Figure

Figure 1: Benchmark evaluation model separating judgment availability, conditional correctness, and cross-scanner composition.

References (3)

  • An empirical study of security warnings from static application security testing tools
  • Pickleball: Secure deserialization of pickle-based machine learning models
  • An empirical study on the effectiveness of static c code analyzers for vulnerability detection