AI Security Atlas › All entries › Model Supply Chain & Training Integrity

ThreatHigh severity

Hallucinated Package Squatting

Attackers register package names that coding assistants hallucinate, so developers or agents that install the suggestion pull in malware.

Open in the interactive atlas →

Impact

Malicious code runs on developer machines and in CI with access to source and secrets.

Why this severity

Impact High × Likelihood Medium = High

Impact high: code execution in development and CI. Likelihood medium: package hallucination is measured in research and demonstrated, but installing the suggestion is still required.

Impact High: Code execution, credential compromise, exposure of regulated or confidential data, irreversible actions, or system-wide failure.
Likelihood Medium: Publicly demonstrated against real products or in peer-reviewed research, or seen in the wild only with a prior foothold such as stolen credentials.

Method: OWASP Risk Rating Methodology

Evidence

Related

Exploits

Mitigated by

Remediation

  1. Install only from an allowlist or internal mirror.
  2. Check package age, maintainers, and download history before first use.
  3. Block agents from installing packages without approval.

How to verify

Framework mapping

OWASP Top 10 for LLM Applications 2025

OWASP Top 10 for Agentic Applications 2026

MITRE ATLAS

NIST AI RMF 1.0