OWASP Flags MCP and AI Package Hallucinations as Emerging Supply Chain Risks
Emerging Technology Risk · 3 sources · Updated 5mo ago · First seen Jul 16, 2026

OWASP has published a beta Top 10 for Model Context Protocol (MCP), warning that MCP-enabled AI systems introduce new attack surfaces across token handling, privilege management, tool integrity, supply chain security, command execution, authentication, telemetry, shadow deployments, and context sharing. The project frames MCP as a fast-growing integration layer for AI tools and agents, and highlights the need for stronger controls as organizations connect models to external tools, data sources, and developer workflows.
Security researchers and vendors are also warning that AI is expanding software supply chain risk through package hallucinations and slopsquatting, in which attackers register malicious packages under names invented by coding assistants. One cited proof of concept involved the hallucinated package huggingface-cli, which was later downloaded more than 30,000 times after publication as a benign placeholder. Researchers say autonomous coding agents can amplify the danger by installing dependencies with little or no human review, while related risks include malicious package campaigns, secret leakage in AI-generated code, and broader compromise of developer environments and software delivery pipelines.
Why it matters
Impact assessment
OWASP's MCP Top 10 and recent reporting on package hallucinations indicate a growing software supply chain exposure for organizations using AI coding assistants, autonomous agents, and MCP-enabled integrations. The most affected populations are software engineering teams, DevOps/AppSec functions, AI platform teams, and any enterprise connecting models to external tools, repositories, APIs, or internal data sources.
The impact can be severe because compromise paths include malicious dependency installation, secret exposure, unauthorized tool access, repository modification, command execution, and downstream build contamination. Exposure is potentially widespread rather than narrowly targeted because the risks stem from common developer workflows, public package registries, and emerging MCP deployments; the story cites real-world evidence of unsafe package adoption through the hallucinated huggingface-cli package being downloaded more than 30,000 times, but does not provide confirmed in-the-wild malicious exploitation tied to that specific package.
Affected entities and environments
- Organizations using AI coding assistants that suggest or auto-install dependencies
- Teams deploying autonomous coding agents with limited human review
- Enterprises adopting MCP-enabled AI systems, agents, connectors, plugins, and tool servers
- Developer environments, CI/CD pipelines, package management workflows, and software delivery pipelines
- Public package registry consumers across open-source ecosystems
Severity and business consequences
- Malicious packages can introduce backdoors, credential theft, or build-time compromise
- Secret leakage in AI-generated code can expose tokens, API keys, and environment credentials
- MCP weaknesses can enable unauthorized access to connected systems, data exfiltration, and operational misuse of tools
- Compromise of developer workflows can create downstream reputational, financial, and operational disruption across released software
Scope and exploitation status
- Scope is broad because package hallucination and MCP risks are architectural and workflow-driven, not limited to one vendor product
- The article describes high-volume malicious-package campaigns as a baseline supply chain attack model in 2025
- Known evidence cited includes the benign placeholder
huggingface-clipackage downloaded more than 30,000 times after publication - No specific active threat actor, malware family, or confirmed exploitation campaign is named in the provided references


