The target: Ultralytics ships YOLO, one of the most widely used computer-vision libraries — millions of downloads.
The attack: the attacker didn't touch the source code. They opened pull requests whose branch names carried a malicious payload, exploiting a GitHub Actions script-injection flaw in the project's build workflow. The poisoned CI then injected code straight into the official release after review, before it was published to PyPI.
The payload: an XMRig cryptominer that mined Monero on every machine that installed the trusted package. Bad versions sat live on PyPI for hours.
Signed builds and reproducible release verification (Part 4): if the published artifact must match a signed, attested build, a pipeline that silently adds a miner produces a signature that doesn't check out.