{
 "id": "AIR-2022-0031",
 "slug": "pytorch-nightly-compromised-via-dependency-confusion-on-pypi",
 "title": "PyTorch-nightly Compromised via Dependency Confusion on PyPI",
 "summary": "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.",
 "type": "attack_on_ai",
 "categories": [
  "supply_chain"
 ],
 "severity": 3,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "PyTorch-nightly"
 ],
 "incident_date": "2022-02-03",
 "incident_date_precision": "day",
 "first_reported": "2022-02-03",
 "sources": [
  {
   "url": "https://atlas.mitre.org/studies/AML.CS0015",
   "publisher": "MITRE ATLAS",
   "title": "Compromised PyTorch Dependency Chain",
   "published_at": "2022-02-03"
  },
  {
   "url": "https://pytorch.org/blog/compromised-nightly-dependency",
   "publisher": "pytorch.org",
   "title": "PyTorch statement on compromised dependency",
   "published_at": "2022-02-03"
  },
  {
   "url": "https://bleepingcomputer.com/news/security/pytorch-discloses-malicious-dependency-chain-compromise-over-holidays",
   "publisher": "BleepingComputer",
   "title": "Analysis by BleepingComputer",
   "published_at": "2022-02-03"
  }
 ],
 "source_count": 3,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_atlas",
 "tags": [
  "supply_chain",
  "dependency_confusion",
  "pypi"
 ],
 "created_at": "2026-10-18T06:55:08.239Z",
 "updated_at": "2026-10-18T06:55:08.239Z"
}
