Threat libraryModel supply chain

Model supply chain: know what you load before it runs.

A model file can run code when it loads, and the libraries around it can be poisoned. Most teams cannot list the models they use.

A model file · inspectedIllustrative

A model file · inspected: ml-pipeline to model load, "load classifier.pt from a public hub". Checks: Pickle runs code failed, Safetensors version exists flagged. Verdict: monitored, Flagged for review.

In short

Model supply chain attacks reach you through the AI components you download: model weights in formats that run code when loaded, poisoned libraries such as model gateways, and malicious extensions for AI tools. Public cases include malicious models on Hugging Face and a credential-stealing image-tool extension. An AI bill of materials makes them findable.

Last reviewed

A team downloads a model whose file runs hidden code the moment it is loaded.

Model files are inspected without running them, and safe formats are preferred by policy.

Public incidents

What has happened, graded by evidence.

Each case is a component trusted because of where it came from, not because anyone checked it.

Graded by evidenceEvidence gradesDocumented: A primary source, or several consistent ones. Claimed: One vendor, one outlet or the attacker; not confirmed elsewhere. Demonstrated: A researcher's proof of concept, with no named victim.Read the research

Model supply chain · public casesIllustrative

Model supply chain · public cases: Jul 2024 Malicious AI extension; Feb 2025 Models evade a scanner; Mar 2026 Library releases poisoned (one secondary source).

  • Documented WorldFeb 2025

    Malicious models slip past a scanner

    What happened

    Pickled models on Hugging Face ran code when they were loaded. ReversingLabs found PyTorch models packed so that the hub's pickle scanner missed them. Pickle scanning works from a list of known-bad patterns; formats such as safetensors avoid running code on load by design.

    Infosecurity Magazine: malicious AI models on Hugging Face, Feb 2025

    Source
  • Claimed World24 Mar 2026

    Malicious releases of an AI library

    What happened

    A widely used model-gateway library shipped malicious versions briefly. A research note relays that malicious LiteLLM releases sat on PyPI for about 40 minutes. The library is pulled by a very large number of builds, so a short window still reaches many.

    Cloud Security Alliance research note: LLMjacking evolved, 2026

    Source
  • Documented WorldJuly 2024

    Studio chat leaked over AI art

    What happened

    Hacktivists leaked internal Slack data and spread a malicious AI extension. NullBulge leaked about 1.1 TB of Disney's internal Slack, citing opposition to AI art, and was linked to a malicious ComfyUI extension that stole credentials from people using the image tool.

    PetaPixel: hacktivists leak Disney Slack over AI images, July 2024

    Source

The answer

How ColossalX answers, step by step.

Know what you load, inspect it without running it, and keep watching it after you approve it.

Core

  1. List the components

    How it works

    An AI-BOM per repository separates models and AI libraries from the rest. Bills of materials export in CycloneDX or SPDX, and approved baselines flag a component whose version moves under an unchanged name. CERT-In's minimum AI-BOM fields are shown per component.

  2. Inspect model files

    How it works

    Weights, datasets and loader configs are read, never executed. Unsafe formats, remote-code loading and loader scripts are flagged, with a policy that prefers safe formats such as safetensors. Publisher signatures can be checked offline once you set a trust root.

    Signature checks need a trust root you set.

  3. Watch after approval

    How it works

    AI components are re-checked daily against newly published flaws. A daily watch covers poisoned weights, malicious packages and compromised agent dependencies, matched to the components you actually hold.

  4. Check the libraries

    How it works

    Libraries are checked against malicious-package lists and exploited flaws. A match on the OpenSSF malicious-packages list is critical, and reachability shows whether your code calls the vulnerable function at all.

AI-BOM · one repositoryIllustrative

AI-BOM · one repository: Models Two, one unsafe format; AI libraries Pinned to a baseline; Daily re-check New advisory matched; Export CycloneDX or SPDX. Recorded, then watched.

Said plainly

What lives outside ColossalX.

ColossalX inspects files and tracks components. Where models come from, and what they learned, needs your own pipeline controls.

  • Lives with

    Your model registry

    What to do

    Mirrors, pinning and signing at source are set in your pipeline. Pull models through an internal mirror, pin them by hash, prefer publishers who sign their releases and use safe formats. ColossalX checks signatures only after you set the trust root it should accept.

  • Lives with

    Your model testing

    What to do

    A backdoor in what a model learned is not a file problem. Scanning finds code that runs on load, not behaviour trained into the weights. Test models on your own tasks before use, and red-team the agents built on them.

Today

One step you can take today.

List the model files your teams load from public hubs and note their formats. Convert or replace pickle-based files with safetensors wherever the model offers it.

Who asks for these controlsCERT-InEU AI Act

This week · one listIllustrative

This week · one list: Model Name and source hub; Format Pickle or safetensors; Loaded by Which pipeline; Action Convert, pin or replace. Your first model list.

Honest by design

What we will not tell you.

Models · stated plainlyIllustrative

Models · stated plainly: Signatures Trust root you set; Learned backdoors Not a file check; Model files Read, never run. Limits over promises.

x, not measured

Model signature checks need a trust root you set, and publishers who sign.

All 3 limits
  • File inspection finds code that runs on load, not behaviour trained into a model.
  • The LiteLLM incident is relayed by a single secondary source.

Questions

Questions buyers ask

Why can loading a model file run code?

Some formats, notably Python pickle, rebuild objects when loaded and can call arbitrary functions in the process. A malicious model in that format runs its code the moment a pipeline loads it. Formats such as safetensors store only tensors and avoid this by design, which is why ColossalX prefers them by policy.

Are model hub scanners enough?

They help but are not enough on their own. Pickle scanners work from lists of known-bad patterns, and ReversingLabs found malicious models packed in a way one hub's scanner missed. Inspect files yourself, prefer safe formats, pin what you approve and keep watching for new advisories.

What is an AI bill of materials?

An AI-BOM lists the AI components a system uses, such as models, datasets and AI libraries, with versions, suppliers and hashes, the way an SBOM lists software packages. CERT-In's technical guidelines set minimum fields for one. ColossalX builds one per repository and exports it in CycloneDX or SPDX.

Does ColossalX verify model signatures?

It can check a model's publisher signature offline against its bundle using OpenSSF Model Signing, once you set the trust root it should accept. It depends on publishers signing their models in the first place, so a model nobody signed has nothing to verify.

Next step

Know your x before you load it.

See the models and AI libraries in each repository, which formats run code, and what changed since approval.

  1. 01Tell us which AI you run
  2. 02See this attack tried, safely
  3. 03Decide what to fix first