Cover illustration for “Dependency Hallucination in AI-Generated Package Manifests”

Essay AI Code Generation

Dependency Hallucination in AI-Generated Package Manifests

AI coding assistants hallucinate fake package names that attackers can weaponize instantly.

Priya Subramaniam9 min read

Ship Code Weekly

AI Code Generation

The clearest measurement of this problem comes from Spracklen et al., who ran 2.23 million code samples across 16 models, covering both Python and JavaScript.
From Dependency Hallucination in AI-Generated Package Manifests