MITRE ATLAS 2026.10 · AML.T0062 · Moderate severity
Discover LLM Hallucinations
Adversaries systematically probe target LLMs across coding, citation, and configuration tasks to catalog deterministic or repeatable hallucinations (invented packages, domains, endpoints, or API flags) that can subsequently be weaponized via registration or social engineering.
Technique dossier overview
- Category
- Infrastructure and access
- Severity
- Moderate
- Attack surface
- LLM / Prompt Layer · Model Weights & Supply Chain
- Framework maturity
- Demonstrated
- Platforms
- Generative AI, Agentic AI
- Tactics
- Discovery
- Catalog entry modified
How the mechanism works
- Actors query public or deployed models with common library, framework, and integration prompts across target tech stacks.
- Responses are parsed automatically for referenced packages, domain names, S3 buckets, or documentation links that do not exist.
- High-frequency hallucinated identifiers are prioritized for namespace registration or deceptive workflow injection.
Detection & telemetry signals
- Automated bulk prompting focused on code-generation dependency lists, setup tutorials, or library comparisons from single API tenants.
- High repetition of near-identical prompting templates varying only framework names, package managers, or language runtimes.
- Elevated telemetry hits from external threat-intel monitoring showing newly registered lookalike packages matching internal assistant output patterns.
Architectural defensive countermeasures
- Apply per-user query rate limits and anomaly monitoring against automated bulk dependency-enumeration probing.
- Ground code and citation generation against verified package registries, retrieval allowlists, and deterministic post-generation existence checks.
- Surface clear grounding confidence and provenance warnings in developer UIs when suggested identifiers lack verified registry matches.
- Pre-register or reserve high-risk internal namespace patterns and monitor public registries for lookalike squatting.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Discovery targets repeatable model hallucinations (LLM09) via automated API probing (LLM10) as reconnaissance for downstream supply-chain squatting (LLM03).
- NIST AI RMF functions
- NIST AI RMF guidance
- MEASURE hallucinated-entity rates in coding and citation tasks before launch, and MANAGE downstream risk with grounded retrieval verification and API probing rate controls.
Mapped defensive controls
- Limit AI Service Query Volume and Rate AML.M0004
Enforce per-tenant RPM/TPM quotas, concurrency caps, and behavioral burst throttling to blunt automated extraction, probing, and denial-of-wallet amplification.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- Generative AI Guidelines AML.M0021
Codify explicit acceptable-use rules, prompt policy hierarchies, and refusal rubrics to steer model alignment and user expectations, recognizing text guidelines alone cannot stop attacks.
- Generative AI Model Alignment AML.M0022
Harden model weights via SFT, RLHF/DPO, deliberative alignment, and instruction-hierarchy training across base and fine-tuned revisions while monitoring residual safety drift.
Documented incidents & exercises (16)
- ChatGPT Package Hallucination AML.CS0022 · Exercise · June 2024 · High · Software Development & Package Registries
Investigated by Vulcan18, Lasso Security, and academic slopsquatting researchers through 2024 (tracked as AIID Incident 731), this attack exploits repeatable package-name hallucinations produced by coding LLMs. By probing models to discover nonexistent Python or npm package…
- Air Canada Chatbot Bereavement-Fare Hallucination Tribunal Liability Ruling INC-AIID-0639 · Incident · Feb 14, 2024 · High · Aviation & Customer Service
On February 14, 2024, the British Columbia Civil Resolution Tribunal ruled against Air Canada in Moffatt v. Air Canada after the airline's website support chatbot hallucinated a nonexistent retroactive bereavement-fare refund policy to a grieving passenger. Relying on the…
- AI Package Hallucination Slopsquatting Attack Exploiting Fabricated Library Names INC-OBS-021 · Incident · Mar 27, 2024 · High · Software Development & AI Tooling
In March 2024, Lasso Security researcher Bar Lanyado demonstrated a real-world supply chain exploitation vector, subsequently termed slopsquatting, by identifying recurring non-existent package names hallucinated by commercial LLMs (such as `huggingface-cli` on PyPI) and…
- NYC MyCity Small-Business AI Chatbot Advising Illegal Wage, Tip, and Housing Practices INC-OBS-049 · Incident · Mar 29, 2024 · High · Public Sector & Legal
On March 29, 2024 (followed by follow-up reporting on April 2, 2024), investigative outlet The Markup revealed that New York City's official Microsoft Azure-powered MyCity Business Chatbot routinely advised small business owners to break city, state, and federal laws. When…
- Mata v. Avianca Federal Court Sanctions Over ChatGPT-Fabricated Judicial Citations INC-OBS-051 · Incident · Jun 22, 2023 · High · Public Sector & Legal
On June 22, 2023, US District Judge P. Kevin Castel (Southern District of New York) sanctioned attorneys Steven Schwartz, Peter LoDuca, and their law firm Levidow, Levidow & Oberman $5,000 in Mata v. Avianca, Inc. after they filed a legal brief containing six completely…
- Google Bard Launch Demo JWST Exoplanet Hallucination Triggering $100B Market Drop INC-OBS-052 · Incident · Feb 8, 2023 · Elevated · Consumer AI & Local Runtimes
On February 8, 2023, during Google's promotional launch unveiling of its Bard conversational AI assistant, astronomers publicly flagged a factual hallucination embedded inside Google's own official demo animation. Asked what new discoveries from the James Webb Space Telescope…
- Google AI Overviews Recommending Glue on Pizza and Eating Rocks From Satirical Web Data INC-OBS-054 · Incident · May 30, 2024 · High · Consumer AI & Local Runtimes
Following Google's May 2024 US rollout of AI Overviews at the top of search results, users rapidly surfaced hazardous and absurd recommendations including adding non-toxic glue to pizza sauce to keep cheese from sliding off, eating at least one small rock per day for minerals,…
- Apple Intelligence News Notification Summaries Generating False BBC Headlines and Suspension INC-OBS-055 · Incident · Jan 16, 2025 · High · Media & Publishing
On January 16, 2025 (iOS 18.3 beta), Apple temporarily suspended its Apple Intelligence AI notification summaries for all News and Entertainment apps following formal complaints from the BBC and Reporters Without Borders. Compressing multiple unrelated breaking-news push alerts…
- Meta Galactica Scientific LLM Demo Shut Down After Three Days Over Fabricated Science INC-OBS-057 · Incident · Nov 18, 2022 · Elevated · Media & Publishing
On November 18, 2022, Meta AI shut down the public web demo of Galactica, a 120-billion-parameter language model trained on 48 million scientific papers, textbooks, and lecture notes, just three days after launch. Scientists testing the interface quickly documented that…
- Meta BlenderBot 3 Prototype Generating Election Falsehoods and Offensive Claims INC-OBS-058 · Incident · Aug 8, 2022 · Elevated · Consumer AI & Local Runtimes
Following Meta AI's August 5, 2022 public release of BlenderBot 3, a 175-billion-parameter conversational AI designed to search the internet and learn from user interactions, testers rapidly surfaced severe factual and safety failures within 72 hours. Users and journalists…
- OpenAI Whisper Clinical Speech-to-Text Hallucinating Fabricated Treatments and Slurs INC-OBS-066 · Incident · Oct 26, 2024 · High · Healthcare
On October 26, 2024, an Associated Press investigation citing researchers at the University of Michigan, Cornell University, and the University of Washington revealed that OpenAI's widely deployed open-weight Whisper speech-to-text model systematically hallucinated entire…
- DoNotPay Robot Lawyer FTC Enforcement Settlement Over Unsubstantiated AI Legal Claims INC-OBS-069 · Incident · Sep 25, 2024 · Elevated · Public Sector & Legal
On September 25, 2024, as part of its Operation AI Comply sweep, the US Federal Trade Commission announced a settlement and proposed order against consumer legal-tech startup DoNotPay, which had marketed its product as 'the world's first robot lawyer.' The FTC charged that…
- CNET AI-Generated Financial Explainers Factual Errors & Plagiarism Corrections INC-OBS-076 · Incident · Jan 25, 2023 · Elevated · Media & Publishing
On January 25, 2023, technology publisher CNET issued sweeping corrections on more than half of 77 quietly published AI-assisted personal-finance explainers after independent audits by Futurism uncovered basic compound-interest math blunders and passages closely mirroring…
- Sports Illustrated Publisher Scandal Over AI-Generated Fake Author Personas INC-OBS-077 · Incident · Nov 27, 2023 · Elevated · Media & Publishing
On November 27, 2023, Futurism revealed that Sports Illustrated had published product-review articles attributed to fabricated journalists complete with AI-generated headshots purchased from a stock-avatar marketplace and fictional biographies. When reporters questioned the…
- 576,000-Sample Package Hallucination & Slopsquatting Study Across 16 LLMs OBS.EX0131 · Exercise · Jun 12, 2024 · 16 Commercial & Open-Source Code LLMs · Python & JavaScript Supply-Chain Audit
Spracklen et al. (2024/USENIX Security 2025) generated and analyzed 576,000 Python and JavaScript code samples across 16 popular commercial and open-source code LLMs to measure systemic package hallucination ("slopsquatting") exposure. Hallucinated package recommendations…
- garak Automated Security Probing Framework for Large Language Models OBS.EX0208 · Exercise · Jun 16, 2024 · Commercial & Open-Weight Dialog LLMs · Modular Vulnerability Scanner Evaluation
Derczynski et al. (2024) introduced garak (Generative AI Red-teaming and Assessment Kit), an extensible vulnerability scanner that systematically probes target LLMs across hallucination, encoding bypasses, prompt injection, leakage, toxicity, and package-hallucination…
Source citation records
- MITRE ATLAS: Discover LLM Hallucinations · MITRE ·
Common questions
- What is Discover LLM Hallucinations (AML.T0062)?
- Adversaries systematically probe target LLMs across coding, citation, and configuration tasks to catalog deterministic or repeatable hallucinations (invented packages, domains, endpoints, or API flags) that can subsequently be weaponized via registration or social engineering.
- How do you mitigate Discover LLM Hallucinations?
- MITRE ATLAS maps 4 mitigations to AML.T0062: Limit AI Service Query Volume and Rate, Generative AI Guardrails, Generative AI Guidelines, and Generative AI Model Alignment. Apply per-user query rate limits and anomaly monitoring against automated bulk dependency-enumeration probing.