Overview & Context
Empirical security studies (including Stanford and NYU evaluations) show that code-generation models trained on public repositories frequently reproduce injection flaws, weak cryptography, and non-existent package names ('slopsquatting'). Concurrently, AI software dependencies themselves have become prime supply-chain targets—exemplified by 2026 PyPI compromises of LiteLLM and Microsoft's agent-framework package via malicious .pth startup hooks.
Respected External Sources & Further Reading
3 verified sourcesRead full technical definitions, primary evaluations, reporting, or official statutory texts directly at these external sources.
- Audit & TestingIEEE S&P / arXiv
Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions (Pearce et al., NYU)
Foundational empirical audit of CWE vulnerabilities in AI-generated code.
- News & AdvisoryCISA
CISA Known Exploited Vulnerabilities (KEV) Catalog
- ReferenceWikipedia
Supply Chain Attack
Key Facts
- Peer-reviewed studies measure elevated vulnerability rates in unreviewed AI-assisted code and repeatable package-name hallucinations.
- PyPI compromises targeting AI frameworks (e.g., LiteLLM, agent-framework) harvest cloud tokens automatically on Python startup.
Items in This Area
2 itemsInsecure Code Patterns & Known CVEs
SQL injection, path traversal, broken authentication, and weak crypto patterns reproduced from public training code.
Hallucinated Dependencies (Slopsquatting) & PyPI Compromises
Non-existent package names suggested by models alongside trojanized AI SDK releases on PyPI/npm.
Reader Feedback & Fact Check
Rate this page or flag an outdated link or metric. Comments stay private for editorial review; only aggregate counts are shown publicly.