{
 "id": "AIT-0876",
 "slug": "2023-purportedly-hallucinated-software-packages-with-potential-malware-reportedly",
 "standard": "index",
 "title": "AI models kept suggesting a nonexistent \"huggingface-cli\" package, and a researcher's stand-in drew 15,000 downloads",
 "summary": "Security researcher Bar Lanyado of Lasso Security found that AI models repeatedly recommended a Python package called huggingface-cli that did not exist. In December 2023 he uploaded a harmless package under that name to PyPI, and it drew more than 15,000 downloads in three months, The Register reported. Instructions for Alibaba's GraphTranslator project told users to install it. Lanyado said attackers could use the trick to spread malware, though he had found no malicious use.",
 "aiid": 731,
 "entities": {
  "deployers": [
   "developers-using-ai-generated-suggestions",
   "bar-lanyado"
  ],
  "developers": [
   "openai",
   "meta",
   "google",
   "deepseek-ai",
   "cohere",
   "bigscience"
  ]
 },
 "date": "2023-12",
 "room": "chatbot-harms",
 "severity": "low",
 "status": "news",
 "published": "2026-11-19",
 "sources": [
  {
   "id": "a731r3952",
   "title": "AI hallucinates software packages and devs download them – even if potentially poisoned with malware",
   "publisher": "The Register",
   "date": "2024-03-28",
   "url": "https://www.theregister.com/2024/03/28/ai_bots_hallucinate_software_packages/",
   "kind": "news",
   "author": "Thomas Claburn",
   "archive": "https://web.archive.org/web/20261117142034/https://www.theregister.com/2024/03/28/ai_bots_hallucinate_software_packages/",
   "domain": "theregister.com"
  },
  {
   "id": "a731r5064",
   "title": "AI code helpers just can't stop inventing package names",
   "publisher": "The Register",
   "date": "2024-09-30",
   "url": "https://www.theregister.com/2024/09/30/ai_code_helpers_invent_packages/",
   "kind": "news",
   "archive": "https://web.archive.org/web/20260312231051/https://www.theregister.com/2024/09/30/ai_code_helpers_invent_packages/",
   "domain": "theregister.com"
  },
  {
   "id": "a731r5065",
   "title": "AI code suggestions sabotage software supply chain",
   "publisher": "The Register",
   "date": "2025-04-12",
   "url": "https://www.theregister.com/2025/04/12/ai_code_suggestions_sabotage_supply_chain/",
   "kind": "news",
   "archive": "https://web.archive.org/web/20260414181026/https://www.theregister.com/2025/04/12/ai_code_suggestions_sabotage_supply_chain",
   "domain": "theregister.com"
  },
  {
   "id": "a731r5067",
   "title": "AI-hallucinated code dependencies become new supply chain risk",
   "publisher": "BleepingComputer",
   "date": "2025-04-12",
   "url": "https://www.bleepingcomputer.com/news/security/ai-hallucinated-code-dependencies-become-new-supply-chain-risk/",
   "kind": "news",
   "archive": "https://web.archive.org/web/20261031030216/https://www.bleepingcomputer.com/news/security/ai-hallucinated-code-dependencies-become-new-supply-chain-risk/",
   "domain": "bleepingcomputer.com"
  },
  {
   "id": "a731",
   "title": "AIID incident #731",
   "publisher": "AI Incident Database",
   "date": "2023-12-01",
   "url": "https://incidentdatabase.ai/cite/731",
   "kind": "index"
  }
 ],
 "history": [
  {
   "date": "2026-11-19",
   "event": "Imported from the AI Incident Database (incident 731) with the reports it lists.",
   "source": "a731"
  },
  {
   "date": "2026-11-19",
   "event": "Checked against The Register and summarized in our own words.",
   "source": "a731r3952"
  }
 ],
 "level": "checked",
 "checked": "2026-11-19",
 "url": "https://aiincidenttracker.com/incidents/2023-purportedly-hallucinated-software-packages-with-potential-malware-reportedly",
 "permalink": "https://aiincidenttracker.com/AIT-0876",
 "roomName": "Chatbot harms"
}
