Documented Incident · AML.CS0015 · Critical severity

Compromised PyTorch Dependency Chain

Between December 25 and December 30, 2022, a real-world dependency confusion attack compromised the PyTorch-nightly Linux installation chain via a malicious package named torchtriton uploaded to the public PyPI registry. Because pip prioritized the public index over the PyTorch nightly index, developers installing nightly builds executed an embedded binary that exfiltrated system metadata, SSH keys, and local credentials.

Incident dossier metadata

Case ID
AML.CS0015
Classification
Incident
Date
Severity
Critical
Sector
AI/ML Open-Source Software Supply Chain
Attack vector
Dependency Confusion & Malicious PyPI Package
System type
PyTorch-nightly Linux developer and build environments
CVE / reference
AML.CS0015
Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0015%3A

Inspect AML.CS0015 in Interactive Incidents & Cases Hub

Defensive takeaway

Pin cryptographic package hashes, enforce private registry priority or isolated index configurations (--index-url without unsafe fallback), and monitor build hosts for unexpected outbound exfiltration.

Mapped AI security techniques

Source citation records