PyTorch-nightly Compromised via Dependency Confusion on PyPI
Attack on AI3 Confirmed exploitationSupply chain
Attackers uploaded a malicious dependency package to PyPI mimicking PyTorch-nightly, causing pip to install compromised code. The supply chain incident exposed sensitive information from affected Linux machines.
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Supply chainMalicious or backdoored models, poisoned packages, unsafe deserialization and other compromised AI dependencies.
- Supply chain
- owasp llm top 10
- mitre atlas
- Both rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 3 · Confirmed exploitationUsed against real targets; limited or unclear impact.
- targets
- Framework / tooling
- products
- PyTorch-nightly
- incident date
- 3 Feb 2022
- first reported
- 3 Feb 2022
- origin
- MITRE ATLASDerived from MITRE ATLAS (Apache 2.0, © MITRE).
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- supply_chain · dependency_confusion · pypi
- record
- created 2026-10-18 06:55Z · updated 2026-10-18 06:55Z · json
Sources · 3
- 2022-02-03Compromised PyTorch Dependency ChainMITRE ATLAS · atlas.mitre.org/studies/AML.CS0015
- 2022-02-03PyTorch statement on compromised dependencypytorch.org · pytorch.org/blog/compromised-nightly-dependency
- 2022-02-03Analysis by BleepingComputerBleepingComputer · bleepingcomputer.com/news/security/pytorch-discloses-malicious-dependency-chain-
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2023-03-31PyTorch-Nightly PyPI Package Compromised with Malicious Dependency3 Exploitedon AISupply chain4 src
- 2023-12-19CVE-2023-6730: Deserialization vulnerability in Hugging Face transformers2 Disclosedon AIInfra vulnSupply chain1 src
- 2023-10-30PoisonGPT Open Source Model Supply Chain Demonstration1 Researchon AISupply chainPoisoning2 src
- 2022-02-03Backdoor Attacks on Deep Learning Models in Mobile Apps1 Researchon AISupply chainEvasion2 src
- 2023-12-01AI Hallucinations Exploited for Supply Chain Attacks via Slopsquatting3 Exploitedby AISupply chain1 src
- 2023-03-31Mobile Deep Learning Apps Vulnerable to Neural Payload Injection1 Researchon AIPoisoningSupply chain3 src