Skip to content

Hack Atlas · ATLAS / DEF-20 · Operations & Supply Chains

The Release That Was Not the Release

A familiar package version shipped someone else’s bytes. Installers trusted a name.

The version number was real. The artefact was not the one the maintainers built. Downstream installed a name.

File
ATLAS / DEF-20
Domain
Release provenance
Framework
Provenance over version
Studio
26 min studio
Stance
Educational / defensive

Fig. 00 — Provenance over version — signature diagram

PUSHBUFFERPULLSTOPFIXTHE BUFFER WAS HIDING THE DEFECT

00 / Abstract

On 21 October 2026, public reporting described a compromise of LiteLLM’s release path. LiteLLM is an open-source gateway used to reach several model providers. A malicious 1.107.0 appeared on the Python Package Index, and compromised container images were described in Docker registries. Teams that pin ‘the latest’ or that trust a registry because the project is popular installed someone else’s build under a familiar name.

The implementation, as a system: maintainers publish through an automated path. Installers treat that path as the maintainer. There is often no second channel that says ‘this digest was signed by a key held offline.’ When the release identity is stolen or the automation is changed, the package index tells the truth about what was uploaded and a lie about who intended it.

This studio is about designing a release so that a stolen publisher login cannot mint a trusted artefact. It is not a description of the malicious package.

A package name plus a version is not a provenance. If the publisher identity can be satisfied by the release system alone, every installer has delegated trust to that system.

01 / Classification

HACKERS does not publish payloads, commands, vulnerable configurations, or any sequence that could be repeated. The walkthrough is a map of trust. A studio that becomes a manual is a defect. Authorise / Test / Improve.

On 21 October 2026, public reporting described a compromise of LiteLLM’s release path. LiteLLM is an open-source gateway used to reach several model providers. A malicious 1.107.0 appeared on the Python Package Index, and compromised container images were described in Docker registries. Teams that pin ‘the latest’ or that trust a registry because the project is popular installed someone else’s build under a familiar name.

02 / Hidden frame

The index is a noticeboard, not a notary.

Open source distribution is a convenience that became a trust root. pip, container registries, and internal proxies all answer the question ‘what should I run?’ with ‘whatever is named this.’ The name is not the bytes. The bytes are not the review.

A second assumption: pinning a version is safety. Pinning freezes a lie if you pinned after the swap, and it does nothing if your pin is a floating tag. The object to pin is a digest that was signed before publication, checked by the installer.

A third assumption: the blast radius is one library. A gateway sits on API keys for model providers. A bad release is not a bug. It is a new principal inside every process that imported it, with the process’s environment in reach.

03 / Four false objects

Name the false object, then drop it.

  1. C1

    The version is the artefact

    1.107.0 means the maintainers’ 1.107.0.

    Only a signed digest means that.

  2. C2

    The registry is the maintainer

    Upload rights are treated as authorship.

    Authorship is a key that does not live on the publisher.

  3. C3

    Pinning is enough

    A lockfile created after the event freezes the wrong bytes.

    Pin the reviewed digest, and refuse unsigned upgrades.

  4. C4

    It is only a library

    Impact is scored as a dependency advisory.

    Impact is the secrets and network of the process that imported it.

04 / The system

What actually sat on the table.

Open source distribution is a convenience that became a trust root. pip, container registries, and internal proxies all answer the question ‘what should I run?’ with ‘whatever is named this.’ The name is not the bytes. The bytes are not the review.

Walkthrough: a maintainer’s release robot is a highly privileged employee. It can speak in the project’s name to every installer on earth. Designs that protect the robot’s password but let the robot sign anything have protected the wrong object. The signature must be over the digest, by a key the robot does not hold.

Containers repeat the pattern. An image tag is a moving pointer. A signature on the tag is meaningless if the tag can be moved. Sign the digest. Deploy the digest.

HACKERS does not publish payloads, commands, vulnerable configurations, or any sequence that could be repeated. The walkthrough is a map of trust. A studio that becomes a manual is a defect. Authorise / Test / Improve.

05 / What it looked like while it was happening

Do not study the outfit.

CI stayed green. The package page looked like every other release. The name matched the documentation.

The first honest signal was downstream behaviour, which is the worst place to discover a trust failure.

The implementation, as a system: maintainers publish through an automated path. Installers treat that path as the maintainer. There is often no second channel that says ‘this digest was signed by a key held offline.’ When the release identity is stolen or the automation is changed, the package index tells the truth about what was uploaded and a lie about who intended it.

06 / The chain

ProjectA popular gateway is a reasonable dependencyPublisherRelease automation can upload under the project nameIndexThe registry serves the upload as the versionInstallerDownstream resolves a name, not a signed digestProcessThe imported code runs with the application’s secretsRefuse to run a digest you did not expect and the rest of the chain is noise.
How a release becomes a principal

Apparent health against the actual grant

Login succeeded

Authority was never granted for this action

Vendor is reputable

The vendor identity can reach the crown jewel

Version number matches

The artefact was not the reviewed build

Dashboard is green

The picture shares a trust root with the failure

Name, upload, run

S1 Familiar project

Installer belief 95 / Actual grant 50

S2 New version

Installer belief 80 / Actual grant 20

S3 Install

Installer belief 75 / Actual grant 10

S4 In process

Installer belief 40 / Actual grant 5

Code inherits the environment.

Release calculus

  1. A1

    Split the keys

    The identity that uploads cannot be the identity that signs.

  2. A2

    Digest, not tag

    Deployments bind to immutable digests.

  3. A3

    Environment is data

    Imported code is assumed to be able to read the process environment.

  4. A4

    Refuse by default

    Unsigned or unexpected digests do not install.

Nothing runs unless the digest was signed by a key that cannot publish.

Where the design has to change

P1 Identity

Who may cause a release, a signature, or a spend.

A logged-in person, package, or vendor is treated as the grant.

P2 Provenance

Proof that an artefact is the one that was reviewed.

A name and a version number are treated as provenance.

P3 Blast radius

How far one secret, runtime, or script can reach.

One credential is valid in every tenant, wallet, or pipeline.

P4 Independent picture

A measurement that does not share the failing trust root.

The dashboard, the package page, and the operator screen are the same story.

10 / Failure taxonomy

Failure taxonomy and corresponding defences
IDFailureWhat brokeControl
F1The version is the artefact1.107.0 means the maintainers’ 1.107.0.Only a signed digest means that.
F2The registry is the maintainerUpload rights are treated as authorship.Authorship is a key that does not live on the publisher.
F3Pinning is enoughA lockfile created after the event freezes the wrong bytes.Pin the reviewed digest, and refuse unsigned upgrades.
F4It is only a libraryImpact is scored as a dependency advisory.Impact is the secrets and network of the process that imported it.
Fig. — Failures and the controls that match them

The same join in other systems

A bank vault

The teller’s key also opens the vault

Custody is a ceremony, not a login

A hospital pharmacy

The supplier’s label is the prescription

The drug and the authority to administer it are different objects

Air-traffic control

A radio call is a clearance

Clearance is a separate grant, logged and bounded

A package name plus a version is not a provenance. If the publisher identity can be satisfied by the release system alone, every installer has delegated trust to that system.

Refuse to run a digest you did not expect and the rest of the chain is noise.

Defence as architecture

  1. 01 Sign offline

    A release key lives outside the publisher. Automation can propose a digest. It cannot bless it.

  2. 02 Verify on install

    Internal proxies refuse artefacts that fail signature or digest policy.

  3. 03 Secrets out of the import

    Provider credentials are fetched at call time by a broker, not left in the environment of a fat process.

  4. 04 Two-channel announcement

    A release is also named on a channel the registry cannot edit. Disagreement stops the rollout.

The system as built

  • Upload rights equal authorship.
  • Version tags float.
  • The application process holds every provider key.
  • Detection depends on someone noticing bad behaviour.

The system that would have contained it

  • Upload and signature are different people, different keys.
  • Production runs digests only.
  • A broker holds provider keys. The app holds a short lease.
  • Disagreement between registry and announcement channel is a page.

Second-order system

  1. Every importer

    One bad release is a simultaneous change in thousands of processes.

  2. Model providers

    Stolen API keys become the attacker’s quota and the victim’s bill.

  3. Trust in open source

    Teams that respond by vendoring everything lose the patch stream. The answer is provenance, not isolation from updates.

Typical brief versus HACKERS studio
TopicTypical briefHACKERS studio
What most courses teachA vulnerability name and a patch link.The trust that made the patch late, and the redesign that makes the class fail closed.
What a board hearsWe were targeted by a sophisticated actor.Which ordinary permission did the actor inherit, and who can revoke it in one action?
What an engineer is askedRotate the keys.Which keys, in which blast radius, with which proof they cannot be re-read from the same store?
Fig. — The join lives between chairs

15 / What the brief missed

Elite programmes still stop at the object.

A university lab that copies this file into a how-to has failed the ethics charter.

The transferable object is the control design: identity, provenance, blast radius, and an independent picture.

HACKERS does not publish payloads, commands, vulnerable configurations, or any sequence that could be repeated. The walkthrough is a map of trust. A studio that becomes a manual is a defect. Authorise / Test / Improve.

16 / Design studio

Do not admire the turning point. Redesign the join.

Draw the crown-jewel outcome this incident could reach in two hops.

  1. Exercise 01

    Draw the crown-jewel outcome this incident could reach in two hops.

  2. Exercise 02

    Name the permission that was inherited, not stolen in the cinematic sense.

  3. Exercise 03

    Write the one control that makes the chain fail closed without a hero on call.

Interrogate the join

Show a release from the last week where the signer is not the uploader.

If you cannot show the artefact, the grant, and the revoke path, the control is a slogan.

48-hour authorised studio

  1. Hour 0–4

    Name the jewel

    Write the outcome that must not move: funds, secrets, identity, or a physical process.

  2. Hour 4–24

    Draw two hops

    List every identity, package, script, and vendor that can influence that outcome.

  3. Hour 24–48

    Install a fail-closed

    Put a bound, a second channel, and a named revoke on the widest hop. Do not add a tool that only alerts.

Anti-patterns

  • Calling the incident sophisticated when the permission was ordinary.
  • Rotating secrets inside the same store that was read.
  • Patching a runtime and leaving the secrets that runtime could already see.
  • A third-party script, package, or vendor with the same authority as first-party code.

19 / The transferable lesson

A version number is not a provenance. Sign the digest with a key the publisher does not hold.

The CI job that pushes cannot hold the signing key. Tags are for humans. Machines deploy digests. The internal registry is the enforcement point, not a wiki page. Imported code receives a short lease, not the long-lived provider key. If the announcement channel and the index diverge, stop.

Questions we are asked

Should we stop using public packages?
No. You should stop treating a name as a notary. Sign, pin digests, and keep secrets out of the importing process.
Is a lockfile enough?
Only if it was created from a reviewed digest and your installer refuses to update without a new review.

Public sources

Cited for classification and method. Not as a manual. Atlas cases are educational and defensive.