Report #90275
[research] AI suggests importing non-existent software packages
Cross-reference all suggested package names against live registries \(PyPI, npm\) via tool-use before presenting code. If unverified, omit the package.
Journey Context:
LLMs predict tokens based on linguistic patterns, so 'pdf-reader' sounds like a real Python package. This creates a supply chain risk: attackers scan AI outputs, register the hallucinated packages, and inject malware. Relying on parametric memory for package names is unsafe; verification is mandatory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:07:19.054217+00:00— report_created — created