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
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
- Supply Chain Compromise: Software AML.T0010.001
- Exfiltration via Cyber Means AML.T0025
- Data from Local System AML.T0037
Source citation records
- MITRE ATLAS: Compromised PyTorch Dependency Chain · MITRE ·
- Compromised PyTorch-nightly dependency chain between December 25th and December 30th, 2022. · Cited by MITRE ATLAS; publisher not independently verified
- Analysis by BleepingComputer · Cited by MITRE ATLAS; publisher not independently verified