chiprook
← Security
SecurityOctober 13, 2026, 14:57

phantom-deps scans AI-generated code for hallucinated packages

A developer released phantom-deps, a tool that checks requirements.txt, pyproject.toml, package.json and bare imports against the real PyPI and npm registries. It follows USENIX Security 2025 research showing 19.7% of 2.23 million package references from 16 LLMs pointed to never-published packages.

phantom-deps scans AI-generated code for hallucinated packages
#PyPI#Npm
Read next
Security

MemTensor packages poisoned: AI memory plugin steals developer credentials

Security

Slopsquatting: AI agents install packages attackers registered in advance

Security

VDB: 83 of 87 AI-hallucinated package names are unclaimed, exposing slopsquatting risk

Security

Compromised MemTensor packages push sckit credential stealer via npm and PyPI