Group 3.2 · Area2 Sub-Topics3 External Sources

Vulnerability Inheritance in Generated Code (CVEs) & Supply-Chain Attacks

AI coding models reproducing insecure patterns or hallucinated packages, alongside supply-chain compromises in AI SDKs.

Pillar 2 · Risk Awareness Lens: Summarizes measurable technical, privacy, security, and societal harms with direct links to primary audits, advisories, and studies.

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 sources

Read full technical definitions, primary evaluations, reporting, or official statutory texts directly at these external sources.

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 items
Item 01

Insecure Code Patterns & Known CVEs

SQL injection, path traversal, broken authentication, and weak crypto patterns reproduced from public training code.

Item 02

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.

5/5 Helpful left today