Skip to main content
Mallory
← Back to News
ai-platform-securitydependency-confusion-typosquatpackage-repository-poisoningopen-source-dependency-vulnerability

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 Flags MCP and AI Package Hallucinations as Emerging Supply Chain Risks

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-cli package 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
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Mar 28, 2024 – Jul 14, 2026
  1. Jul 14, 20265mo ago

    Proof-of-concept package 'huggingface-cli' is published and widely downloaded

    A 2023 proof of concept used the hallucinated package name 'huggingface-cli,' which was published as a benign placeholder and later downloaded more than 30,000 times. The example demonstrated how hallucinated dependency names could be claimed in public registries.

    AI Supply Chain Security: How AI Attacks & Defends Code | Xygeni
  2. Jul 14, 20265mo ago

    Xygeni outlines AI software supply chain attack patterns

    Xygeni published an analysis describing AI as a meaningful software supply chain attack surface, highlighting slopsquatting, autonomous agent-driven dependency risk, malicious package campaigns, MCP exposure, and secret leakage through AI-generated code.

    AI Supply Chain Security: How AI Attacks & Defends Code | Xygeni
  3. Jan 1, 202611mo ago

    OWASP publishes MCP Top 10 beta-stage project page

    OWASP published its MCP Top 10 project page describing a 2025 list of ten security risk categories for Model Context Protocol-enabled AI systems. The page states the project is in Phase 3 beta release and pilot testing.

    OWASP MCP Top 10 | OWASP Foundation
  4. Mar 28, 20243y ago

    Lasso publishes research on AI package hallucinations

    Lasso Research published findings on AI package hallucinations, documenting the risk that AI systems may invent package names that can then be abused in software supply chains.

    Lasso Research: AI Package Hallucinations
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

1 linked
Open Worldwide Application Security Project
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.