Skip to content

v0.2.0: catch hallucinated dependencies

Choose a tag to compare

@LucasYanzy LucasYanzy released this 28 Nov 12:31
· 5 commits to main since this release

Catch hallucinated dependencies

AI assistants regularly suggest packages that don't exist (5.2% of suggestions from commercial models and 21.7% from open-source ones in Spracklen et al., USENIX Security 2025), and attackers register those names ("slopsquatting"). VeriCode now looks up every package declared in requirements*.txt, pyproject.toml and package.json on PyPI or npm:

  • critical: the package does not exist
  • high: first published less than 30 days ago
  • medium: one letter away from a very popular package (numpi, expres)

Critical and high findings set ok: false and fail --strict. --no-cve skips this lookup along with the CVE query. Network errors are skipped, never reported.

Also

  • Directory excludes, inline vericode: ignore, project virtualenv preference, pytest result summary
  • CI moved to Node 24 actions

Full notes: CHANGELOG.md

🤖 Generated with Claude Code