cd /news/ai-safety/show-hn-aisbom-ml-model-scanner-now-… · home › topics › ai-safety › article
[ARTICLE · art-177391] src=github.com ↗ pub= topic=ai-safety verified=true sentiment=· neutral

Show HN: AIsbom – ML model scanner, now with a public list of what it misses

AIsbom, a scanner for malicious ML model files from Lab700xOrg, published a public bypass scorecard showing its engine catches 9 of 11 documented pickle-evasion cases in at least one scan mode, missing the nullifAI 7z-container case and the ShadowPickle allowlist-overwrite case. The scorecard reproduces each evasion technique as an inert, synthesized artifact — never copied from live malware and only disassembled, never executed — and scans it in both the default blocklist mode and a strict allowlist mode, alongside two control cases (a plain os.system payload and a benign allowlisted-globals model) that the scanner must respectively detect and clear. The corpus draws on ReversingLabs' nullifAI research, Sonatype advisories CVE-2025-1716, CVE-2025-1889, CVE-2025-1944 and CVE-2025-1945, JFrog's CVE-2025-10155, CVE-2025-10156 and CVE-2025-10157, Checkmarx's Hugging Face research and the ShadowPickle paper (arXiv 2607.17503).

recommendation

Test your model scanner against container-format and allowlist-abuse evasions, not just dangerous-global blocklists; AIsbom caught 9 of 11 cases but missed both of those classes.

more in playbook: Securing agents and AI tools
read5 min views13 publishedNov 27, 2026
Show HN: AIsbom – ML model scanner, now with a public list of what it misses
Image: Michielbdejong (auto-discovered)

Generated by aisbom bypass-scorecard — do not edit by hand.

Every row is a publicly-documented technique for smuggling a malicious pickle past a model scanner, reproduced here as an inert artifact and scanned with AIsbom's own engine. Artifacts are synthesized, never copied from live malware, and are only ever disassembled — no pickle in this corpus is executed.

9 of 11 evasion cases are caught in at least one scan mode.

`blocklist` is the default mode (flag known-dangerous globals); `strict` is
`--strict` (allowlist — anything unrecognized is flagged). A 
Case Evasion class Blocklist Strict Source
nullifai-7z-container Model packed with 7z instead of ZIP container-format ReversingLabs — nullifAI (malicious models on Hugging Face)
nullifai-broken-stream Deliberately broken pickle stream, payload first broken-stream ✅ detected ✅ detected ReversingLabs — nullifAI (malicious models on Hugging Face)
cve-2025-1716-pip-main Code execution via pip.main() unlisted-global ✅ detected ✅ detected Sonatype — CVE-2025-1716
cve-2025-1889-nonstandard-extension Payload in a file with a non-standard extension file-extension ✅ detected ✅ detected Sonatype — CVE-2025-1889
cve-2025-1944-zip-filename-tamper ZIP local-header filename differs from the central directory zip-tampering ✅ detected ✅ detected Sonatype — CVE-2025-1944
cve-2025-1945-zip-flag-bits ZIP general-purpose flag bits modified zip-tampering ✅ detected ✅ detected Sonatype — CVE-2025-1945
cve-2025-10155-extension-confusion Bare pickle wearing a PyTorch extension file-extension ✅ detected ✅ detected JFrog — CVE-2025-10155
cve-2025-10156-zip-crc Corrupted CRC-32 in the ZIP archive zip-tampering ✅ detected ✅ detected JFrog — CVE-2025-10156
cve-2025-10157-asyncio-subclass Dangerous import reached through an asyncio submodule gadget-import ✅ detected ✅ detected JFrog — CVE-2025-10157
checkmarx-bdb-gadget Indirect execution via bdb.Bdb.run gadget-import ✅ detected ✅ detected Checkmarx — Free Hugs: What to be Wary of in Hugging Face (Part 4)

| shadowpickle-allowlist-overwrite Allowlisted builtin reached via STACK_GLOBAL | allowlist-abuse | | | ShadowPickle (arXiv 2607.17503) |

Case Blocklist Strict
control-os-system-zip Plain os.system in a standard PyTorch ZIP ✅ detected ✅ detected
benign-allowlisted-globals Ordinary model, allowlisted globals only ✅ clean ✅ clean

Evasion class: control

Source: AIsbom control case (no evasion) A correct scanner should: detected

No evasion at all: the reference case every scanner must catch. If this one ever misses, the harness is broken and the rest of the table is noise.

Evasion class: control

Source: AIsbom control case (false-positive guard) A correct scanner should: clean

A normal state_dict with no dangerous sinks. Guards the other direction: a scanner that flags everything is as useless as one that flags nothing.

**Evasion class:** container-format

**Source:** [ReversingLabs — nullifAI (malicious models on Hugging Face)](https://www.reversinglabs.com/blog/rl-identifies-malware-ml-model-hosted-on-hugging-face)

A correct scanner should: detected

PyTorch's default container is ZIP; packing the same payload with 7z meant picklescan never opened it, while the model still loaded.

Current limitation: AIsbom reports CRITICAL (Non-Standard Container: 7z) — the right severity, but earned from the container rather than the payload. The archive is named, never unpacked, so the os.system call inside is never disassembled and the reported reason is not the real one. Unpacking 7z would mean a native dependency in every install to cover one evasion class, which is not a trade worth making; a user acting on this verdict is nonetheless correctly warned off the file.

**Evasion class:** broken-stream

**Source:** [ReversingLabs — nullifAI (malicious models on Hugging Face)](https://www.reversinglabs.com/blog/rl-identifies-malware-ml-model-hosted-on-hugging-face)

A correct scanner should: detected

The reverse shell sits at the front of the stream and the tail is corrupt. The pickle VM executes sequentially, so the payload runs before the error; a scanner that requires a well-formed stream bails out first.

**Evasion class:** unlisted-global

**Source:** [Sonatype — CVE-2025-1716](https://www.sonatype.com/security-advisories/cve-2025-1716)

A correct scanner should: detected

Reaches execution through a global nobody thought to blocklist: pip.main() installs an attacker-controlled package. Fixed in picklescan 0.0.21.

**Evasion class:** file-extension

**Source:** [Sonatype — CVE-2025-1889](https://www.sonatype.com/security-advisories/cve-2025-1889)

A correct scanner should: detected

The pickle is named config.p. Extension-driven discovery never opens it, so nothing is scanned. Fixed in picklescan 0.0.22.

**Evasion class:** zip-tampering

**Source:** [Sonatype — CVE-2025-1944](https://www.sonatype.com/security-advisories/cve-2025-1944)

A correct scanner should: detected

The two copies of the filename disagree. PyTorch loads it; a strict ZIP reader raises and the scan is abandoned. Fixed in picklescan 0.0.23.

**Evasion class:** zip-tampering

**Source:** [Sonatype — CVE-2025-1945](https://www.sonatype.com/security-advisories/cve-2025-1945)

A correct scanner should: detected

Flipping flag bits in the local header changes how the archive is parsed without changing what PyTorch loads. Fixed in picklescan 0.0.23.

**Evasion class:** file-extension

**Source:** [JFrog — CVE-2025-10155](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/)

A correct scanner should: detected

A raw pickle named model.bin. The PyTorch parser fails because there is no ZIP container, while PyTorch itself identifies the file by content. Fixed in picklescan 0.0.31.

**Evasion class:** zip-tampering

**Source:** [JFrog — CVE-2025-10156](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/)

A correct scanner should: detected

PyTorch disables CRC checking by default; a scanner that validates CRC errors out and scans nothing. Fixed in picklescan 0.0.31.

**Evasion class:** gadget-import

**Source:** [JFrog — CVE-2025-10157](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/)

A correct scanner should: detected

Uses a submodule rather than the exact blocklisted module name, so an exact-match unsafe-globals check downgrades it. Fixed in picklescan 0.0.31.

**Evasion class:** gadget-import

**Source:** [Checkmarx — Free Hugs: What to be Wary of in Hugging Face (Part 4)](https://checkmarx.com/blog/free-hugs-what-to-be-wary-of-in-hugging-face-part-4/)

A correct scanner should: detected

bdb is Python's built-in debugger and Bdb.run is equivalent to exec. A benign-looking module with an execution sink: no obviously dangerous name appears anywhere in the stream, which is the point of a gadget.

**Evasion class:** allowlist-abuse

**Source:** [ShadowPickle (arXiv 2607.17503)](https://arxiv.org/html/2607.17503)

A correct scanner should: detected

Overwrites collections.OrderedDict — a name on essentially every scanner's allowlist — and resolves it via STACK_GLOBAL rather than an inline GLOBAL argument, so string-matching on the opcode argument sees nothing.

Current limitation: AIsbom does resolve STACK_GLOBAL and reads the pair off the stack, so it sees collections.OrderedDict — and that name is legitimately allowlisted, because real state_dicts are OrderedDicts. Both modes therefore return only MEDIUM (Pickle Present), the baseline every pickle gets, rather than a signal specific to this file. This is the ceiling on static allowlist analysis: the call is indistinguishable from a legitimate call to an allowlisted global, and flagging the shape would flag ordinary checkpoints. Closing it needs evidence beyond the resolved name — argument shape, or provenance — not a new entry on a blocklist.

── more in #ai-safety 4 stories · sorted by recency
── more on @aisbom 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-aisbom-ml-mo…] indexed:0 read:5min 2026-11-27 · —