{"slug": "show-hn-aisbom-ml-model-scanner-now-with-a-public-list-of-what-it-misses", "title": "Show HN: AIsbom – ML model scanner, now with a public list of what it misses", "summary": "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).", "body_md": "*Generated by `aisbom bypass-scorecard` — do not edit by hand.*\n\nEvery 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.\n\n**9 of 11** evasion cases are caught in at least one scan mode.\n\n`blocklist` is the default mode (flag known-dangerous globals); `strict` is\n`--strict` (allowlist — anything unrecognized is flagged). A \n\n| Case | Evasion class | Blocklist | Strict | Source | \n|---|---|---|---|---|\n| `nullifai-7z-container` Model packed with 7z instead of ZIP | container-format |  |  | [ReversingLabs — nullifAI (malicious models on Hugging Face)](https://www.reversinglabs.com/blog/rl-identifies-malware-ml-model-hosted-on-hugging-face) | \n| `nullifai-broken-stream` Deliberately broken pickle stream, payload first | broken-stream | ✅ detected | ✅ detected | [ReversingLabs — nullifAI (malicious models on Hugging Face)](https://www.reversinglabs.com/blog/rl-identifies-malware-ml-model-hosted-on-hugging-face) | \n| `cve-2025-1716-pip-main` Code execution via pip.main() | unlisted-global | ✅ detected | ✅ detected | [Sonatype — CVE-2025-1716](https://www.sonatype.com/security-advisories/cve-2025-1716) | \n| `cve-2025-1889-nonstandard-extension` Payload in a file with a non-standard extension | file-extension | ✅ detected | ✅ detected | [Sonatype — CVE-2025-1889](https://www.sonatype.com/security-advisories/cve-2025-1889) | \n| `cve-2025-1944-zip-filename-tamper` ZIP local-header filename differs from the central directory | zip-tampering | ✅ detected | ✅ detected | [Sonatype — CVE-2025-1944](https://www.sonatype.com/security-advisories/cve-2025-1944) | \n| `cve-2025-1945-zip-flag-bits` ZIP general-purpose flag bits modified | zip-tampering | ✅ detected | ✅ detected | [Sonatype — CVE-2025-1945](https://www.sonatype.com/security-advisories/cve-2025-1945) | \n| `cve-2025-10155-extension-confusion` Bare pickle wearing a PyTorch extension | file-extension | ✅ detected | ✅ detected | [JFrog — CVE-2025-10155](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/) | \n| `cve-2025-10156-zip-crc` Corrupted CRC-32 in the ZIP archive | zip-tampering | ✅ detected | ✅ detected | [JFrog — CVE-2025-10156](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/) | \n| `cve-2025-10157-asyncio-subclass` Dangerous import reached through an asyncio submodule | gadget-import | ✅ detected | ✅ detected | [JFrog — CVE-2025-10157](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/) | \n| `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)](https://checkmarx.com/blog/free-hugs-what-to-be-wary-of-in-hugging-face-part-4/) | \n| `shadowpickle-allowlist-overwrite` Allowlisted builtin reached via STACK_GLOBAL | allowlist-abuse |  |  | [ShadowPickle (arXiv 2607.17503)](https://arxiv.org/html/2607.17503) | \n\n| Case | Blocklist | Strict | \n|---|---|---|\n| `control-os-system-zip` Plain os.system in a standard PyTorch ZIP | ✅ detected | ✅ detected | \n| `benign-allowlisted-globals` Ordinary model, allowlisted globals only | ✅ clean | ✅ clean | \n\n**Evasion class:** control\n\n**Source:** [AIsbom control case (no evasion)](https://github.com/Lab700xOrg/aisbom)\n\n**A correct scanner should:** detected\n\nNo 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.\n\n**Evasion class:** control\n\n**Source:** [AIsbom control case (false-positive guard)](https://github.com/Lab700xOrg/aisbom)\n\n**A correct scanner should:** clean\n\nA normal state_dict with no dangerous sinks. Guards the other direction: a scanner that flags everything is as useless as one that flags nothing.\n\n**Evasion class:** container-format\n\n**Source:** [ReversingLabs — nullifAI (malicious models on Hugging Face)](https://www.reversinglabs.com/blog/rl-identifies-malware-ml-model-hosted-on-hugging-face)\n\n**A correct scanner should:** detected\n\nPyTorch's default container is ZIP; packing the same payload with 7z meant picklescan never opened it, while the model still loaded.\n\n**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.\n\n**Evasion class:** broken-stream\n\n**Source:** [ReversingLabs — nullifAI (malicious models on Hugging Face)](https://www.reversinglabs.com/blog/rl-identifies-malware-ml-model-hosted-on-hugging-face)\n\n**A correct scanner should:** detected\n\nThe 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.\n\n**Evasion class:** unlisted-global\n\n**Source:** [Sonatype — CVE-2025-1716](https://www.sonatype.com/security-advisories/cve-2025-1716)\n\n**A correct scanner should:** detected\n\nReaches execution through a global nobody thought to blocklist: pip.main() installs an attacker-controlled package. Fixed in picklescan 0.0.21.\n\n**Evasion class:** file-extension\n\n**Source:** [Sonatype — CVE-2025-1889](https://www.sonatype.com/security-advisories/cve-2025-1889)\n\n**A correct scanner should:** detected\n\nThe pickle is named config.p. Extension-driven discovery never opens it, so nothing is scanned. Fixed in picklescan 0.0.22.\n\n**Evasion class:** zip-tampering\n\n**Source:** [Sonatype — CVE-2025-1944](https://www.sonatype.com/security-advisories/cve-2025-1944)\n\n**A correct scanner should:** detected\n\nThe 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.\n\n**Evasion class:** zip-tampering\n\n**Source:** [Sonatype — CVE-2025-1945](https://www.sonatype.com/security-advisories/cve-2025-1945)\n\n**A correct scanner should:** detected\n\nFlipping flag bits in the local header changes how the archive is parsed without changing what PyTorch loads. Fixed in picklescan 0.0.23.\n\n**Evasion class:** file-extension\n\n**Source:** [JFrog — CVE-2025-10155](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/)\n\n**A correct scanner should:** detected\n\nA 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.\n\n**Evasion class:** zip-tampering\n\n**Source:** [JFrog — CVE-2025-10156](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/)\n\n**A correct scanner should:** detected\n\nPyTorch disables CRC checking by default; a scanner that validates CRC errors out and scans nothing. Fixed in picklescan 0.0.31.\n\n**Evasion class:** gadget-import\n\n**Source:** [JFrog — CVE-2025-10157](https://jfrog.com/blog/unveiling-3-zero-day-vulnerabilities-in-picklescan/)\n\n**A correct scanner should:** detected\n\nUses a submodule rather than the exact blocklisted module name, so an exact-match unsafe-globals check downgrades it. Fixed in picklescan 0.0.31.\n\n**Evasion class:** gadget-import\n\n**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/)\n\n**A correct scanner should:** detected\n\n`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.\n\n**Evasion class:** allowlist-abuse\n\n**Source:** [ShadowPickle (arXiv 2607.17503)](https://arxiv.org/html/2607.17503)\n\n**A correct scanner should:** detected\n\nOverwrites 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.\n\n**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.", "url": "https://wpnews.pro/news/show-hn-aisbom-ml-model-scanner-now-with-a-public-list-of-what-it-misses", "canonical_source": "https://github.com/Lab700xOrg/aisbom/blob/main/docs/bypass-scorecard.md", "published_at": "2026-11-27 17:03:07+00:00", "updated_at": "2026-11-27 17:14:31.437692+00:00", "lang": "en", "topics": ["ai-safety", "ai-infrastructure", "machine-learning", "ai-tools"], "entities": ["AIsbom", "Lab700xOrg", "ReversingLabs", "Sonatype", "JFrog", "Checkmarx", "Hugging Face", "ShadowPickle"], "also_reported_by": [], "takeaway": "AIsbom's blocklist and strict modes each caught 9 of 11 documented pickle-evasion cases, missing the 7z-container and ShadowPickle allowlist-overwrite techniques, so scanners should be tested against container-format and allowlist-abuse evasions rather than gadget imports alone.", "recommendation": {"advice": "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.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/show-hn-aisbom-ml-model-scanner-now-with-a-public-list-of-what-it-misses", "markdown": "https://wpnews.pro/news/show-hn-aisbom-ml-model-scanner-now-with-a-public-list-of-what-it-misses.md", "text": "https://wpnews.pro/news/show-hn-aisbom-ml-model-scanner-now-with-a-public-list-of-what-it-misses.txt", "jsonld": "https://wpnews.pro/news/show-hn-aisbom-ml-model-scanner-now-with-a-public-list-of-what-it-misses.jsonld"}}