MITRE ATLAS 2026.10 · AML.T0011.001 · Critical severity

User Execution: Malicious Package

Threat actors distribute malicious packages via PyPI, npm, or IDE marketplaces that execute stealers or backdoors during installation or import. In AI ecosystems, adversaries actively register package names frequently hallucinated by LLMs (slopsquatting) as well as typosquats of popular ML and agent libraries.

Technique dossier overview

Category
Supply chain
Severity
Critical
Attack surface
Model Weights & Supply Chain · Tool-Using Agents & MCP
Framework maturity
Realized
Platforms
Enterprise
Tactics
Execution
Catalog entry modified

Open AML.T0011.001 in Interactive Technique Workbench

How the mechanism works

  1. Attackers identify recurring non-existent package names emitted by coding LLMs or mimic high-volume ML/MCP library names.
  2. They publish valid-looking packages containing obfuscated `setup.py` install hooks, lifecycle scripts, or compromised extension updates.
  3. Developers, coding agents, or CI pipelines install the package—often straight from AI-generated instructions—executing the payload immediately.

Detection & telemetry signals

Architectural defensive countermeasures

Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)

OWASP LLM Top 10 (2025)
OWASP rationale
Malicious and slopsquatted packages weaponize AI software supply chains (LLM03) by exploiting hallucinated package recommendations (LLM09) and unsafe automated execution (LLM05).
NIST AI RMF functions
NIST AI RMF guidance
Follow NIST AI RMF GOVERN 6.1 and MANAGE by validating AI-recommended dependencies against internal allowlists and sandboxing package installation.

Mapped defensive controls

Related technique records

Documented incidents & exercises (10)

Source citation records

Common questions

What is User Execution: Malicious Package (AML.T0011.001)?
Threat actors distribute malicious packages via PyPI, npm, or IDE marketplaces that execute stealers or backdoors during installation or import. In AI ecosystems, adversaries actively register package names frequently hallucinated by LLMs (slopsquatting) as well as typosquats of popular ML and agent libraries.
How do you mitigate User Execution: Malicious Package?
MITRE ATLAS maps 5 mitigations to AML.T0011.001: Restrict Library Loading, Code Signing, Vulnerability Scanning, User Training, and Maintain an AI Bill of Materials. Configure CI/CD and developer workstations to resolve packages exclusively from curated internal artifact proxies blocking unvetted public packages.