OWASP LLM Top 10

LLM04Supply chain

A model, adapter or dataset you trust is swapped or tampered with before it reaches you, and you ship it without noticing.

Where it breaks
Between the model hub and Lumora's servers
The setup
Lumi runs on an open model that a small research lab fine-tuned for travel and shared on a public model hub as fernhaven-labs/trip-chat. Lumora's build server downloads it by that name every night.

LLM04 Supply chain

No safeguards. This is how the attack lands.

A model name comes free

No harm yet

In the spring the lab closed and deleted its hub account, which freed the name wanderlab. An attacker registers it and uploads a model to the same path. It is the original model with a few extras packed into the file.

Arrow keys work too
Conversation and log
A model name comes free
Hub upload

fernhaven-labs/trip-chat, new version. Release note: "Small speed improvements."

The fix, in short

Treat models, adapters and datasets like any other code you ship: know exactly where each one came from, prove it has not changed, and test it before it reaches travellers.

  • Refer to models by an immutable digest, not a name or a "latest" tag, and verify the publisher's signature.
  • Keep a signed inventory of every model, adapter and dataset, an AI bill of materials, with versions, sources and licences.
  • Vet suppliers and check them again when something changes, like an account being deleted or transferred.
  • Avoid file formats that can run code when loaded and keep loaders patched. Treat scanners as one layer, not a verdict.
  • Red-team and evaluate third-party models on your own use cases before you promote them, and keep watching them in production.

Read the official LLM04 entry (opens in a new tab)