TAM-H-ACT-028 · Human · Act: The harm · New in TAM

Poisoning the Internal Registry

The insider publishes a tampered package to an internal or public registry that the company's builds will pull in.

Builds trust package registries. An insider with publish rights to an internal npm, PyPI, Maven or container registry can push a new version with a hidden payload. Every service that depends on it picks it up on the next build.

They can also exploit naming. Publishing a package on the public registry with the same name as an internal one, and a higher version number, can trick misconfigured build tools into pulling the public copy.

The tell is often the publishing path. Legitimate releases come from CI with provenance. A version pushed from a laptop token, outside the release process, deserves a close look.

What it looks like

  • A developer publishes `@corp/auth-utils` 4.2.1 from their laptop with a postinstall script that sends environment variables out.
  • An engineer pushes a modified base container image to the internal registry under an existing tag.
  • A public PyPI package is published with the same name as an internal library and a version of 99.0.0.

Detections (2)

Controls (2)