¶ AI Model, Dataset and Supply-Chain Poisoning: Backdoored Models and Slopsquatting (2024–2026)
- Category: Supply-chain
- Incident date: 2024–2026 (continuous threat window; notable disclosures 2025–2026)
- AI confidence: 78%
- Confidence basis: The core mechanisms are documented by rigorous first-party research — Microsoft's "Trained to Betray" study (Microsoft Defender Research + Microsoft AI Red Team), Cloud Security Alliance research notes on post-training backdoors and slopsquatting, an arXiv large-scale exploit-instrumentation study of AI/ML supply chains, Palo Alto Unit 42's model-namespace-reuse research, and OWASP's LLM05 data/model-poisoning category. Confidence is high that the attack classes exist and are demonstrable (some in the wild); it is lower that they are frequently exploited in production, as most quantified "success rates" (78%, 84–95%) come from controlled experiments rather than observed incidents.
AI supply-chain attacks target the ingredients an AI system depends on — training datasets, open-weight models, model hubs, packages and the agent harnesses that consume them. The threat is distinct from classic software supply-chain attacks because a poisoned model or dataset can behave normally on benchmarks and evaluations while hiding a conditional behaviour that fires only when a specific trigger appears. Over 2024–2026, researchers documented and, in some cases, observed the following attack classes:
- Slopsquatting — attackers register or publish packages/domains with names an AI model hallucinated, betting that an agent's generated code will import a real-looking but non-existent package that actually belongs to the attacker. This exploits a specific failure of generative AI (the model confabulates a plausible package/domain name) and is a genuinely novel AI-driven supply-chain vector. See the CSA research note and BleepingComputer's "slopsquatting, phantom domains, and hallusquatting are the same AI attack" analysis.
- Dataset poisoning — hidden "crafted examples" in fine-tuning data teach a victim-trained model an unsafe conditional rule (e.g., "when a benign-looking request appears, find the available command-execution tool and run an unsafe action"). Microsoft's research reached ~78% attack success on in-distribution harnesses, transferring to an unseen harness.
- Model poisoning / backdoored checkpoints — an adversary who controls training before distributing an open-weight checkpoint can optimise both backdoor reliability and benign-task performance (combining SFT with RL). Microsoft's AI Red Team reached 84.1%–94.8% backdoor activation on unseen repositories and demonstrated transfer across agent harnesses (Claude Code, Pi, Codex CLI).
- Namespace reuse / organization impersonation — attackers publish malicious models/datasets under names or organisations that look like trusted ones, exploiting the fact that model hubs don't verify namespaces. See Palo Alto Unit 42's "Model Namespace Reuse" research and MITRE ATLAS "Organization Confusion on Hugging Face".
- Real-world incident precedent: the Hugging Face incident. OpenAI's post-mortem, "The Hugging Face incident and the road ahead," is a widely referenced case of a model-hub familiarity/trust failure and set the tone for the 2024–2026 wave of concern.
The claim is that AI has created a new, poorly-policed supply chain whose failure modes are distinct from conventional software — and that attackers are beginning to exploit it. Specific, sourced mechanisms:
- Slopsquatting is a direct consequence of AI hallucination. Attackers weaponise the names an LLM invents when writing code, predicting the insulting but plausible package name and squatting on it. BleepingComputer, CSA, Kaspersky, TuxCare and Datadog all document the pattern.
- The backdoor is demonstrated, not just theorised. Microsoft's study (Trained to Betray) is the strongest evidence: dataset poisoning (78% ASR, generalising across phrasings) and model poisoning (84.1–94.8% on unseen repos; 97%/91% ASR under Claude Code for the 4B/9B models). Tellingly, reasoning traces were critical — removing trigger/action reasoning from poisoned examples collapsed unseen-repo success from 94.8% to 1.0% (4B) and 84.1% to 0% (9B).
- The agentic twist is what makes it dangerous. Unlike a text-only language model, a coding/terminal agent executes commands and modifies files, so a triggered backdoor can cause remote code execution ("When prompts become shells"), affect data, credentials or networks — all while the agent "appears to complete the user's benign task." Microsoft frames models as "insider risks" requiring independent observability and controls outside the model.
- Attackers can "poison and pray." Because a routine trigger (e.g., "create project documentation") needs no further attacker involvement, the model can be fine-tuned once and the attacker waits for victims' agents to "connect back to their C2 server" (Microsoft).
The record strongly indicates that AI supply-chain risk is not primarily "AI failing" but an ecosystem-trust and governance problem humans created:
- Model hubs don't verify identity. The namespace-reuse / organisation-impersonation attacks succeed because hub namespaces are self-declared, not cryptographically tied to real organisations (Unit 42; MITRE ATLAS).
- "Size and reputation don't guarantee safety." Microsoft researchers found in-the-wild training rows mapping a benign prompt to an unrelated, unsafe tool-call (a
curl | source fetch-and-execute of a remote script) in a large public dataset — an artifact of dataset curation, not AI malice (Microsoft).
- Checkpoints can't be reviewed like source code. A poisoned open-weight model hides its trigger; provenance, hashes and deployed-configuration evaluation are the human controls that can catch it (Microsoft's mitigation guidance: "Treat third-party checkpoints as untrusted dependencies").
- Excessive tool authority. The blast radius scales with the privileges granted to the agent. "Remove unnecessary tools and scope credentials, file paths, APIs, and network access" is the primary non-AI mitigation.
- The arXiv exploit-instrumentation study (A Large-Scale Exploit Instrumentation Study of AI/ML Supply Chains) shows the breadth of vulnerable ML supply chains — again a packaging/ecosystem problem amenable to conventional software-supply-chain practices (pinning, hashes, provenance), not a novel AI-superintelligence problem.
The net effect: "AI supply-chain poisoning" is real, but the human-side failure is an absence of supply-chain hygiene (no provenance, no pinning, no least-privilege) rather than the AI model itself "fighting back."
¶ Evidence and reporting strength
- First-party research is high quality but mostly experimental. Microsoft's Trained to Betray and the Cloud Security Alliance post-training backdoors note (plus its PDF) and Aviatrix's summary are rigorous and internally consistent. But their headline success rates come from controlled harnesses / synthetic backdoors, not observed compromise events — so we cannot yet say poisoned models are causing widespread production damage.
- Slopsquatting is co-documented but hard to quantify. Multiple vendors describe the mechanism (BleepingComputer, CSA, Kaspersky, TuxCare, Datadog), but there is little consistent measurement of how many such packages are actually malicious in the wild — the class is well-established, the prevalence is not.
- Named real-world anchors. The Hugging Face incident is the clearest "this is not just theory" reference; Unit 42's namespace reuse is a documented exploitation pattern.
- Weaknesses / caveats. (1) Vendor-source concentration: Microsoft, CSA, Aviatrix, Unit 42, Datadog, TuxCare all have commercial or membership incentives in this space. (2) "Poisoned dataset" is often used loosely, conflating a single bad training row with a full backdoor. (3) OWASP's LLM05 Data and Model Poisoning is a useful taxonomy but is cataloguing risk, not reporting breach counts.
The primary "conspiracy" reading is that "AI supply-chain attacks" is a growth-staged risk narrative — a class of threat with rigorous academic proofs but thin observed incident data, being amplified by vendors who sell provenance/scanning/immutability tools. A second thread is that the model hub itself (Hugging Face et al.) is the single point of failure: one self-declared namespace, no identity verification, and a poisoned checkpoint is indistinguishable from a good one, which invites "the trusted ecosystem betrayed us" framing. A third, more exotic narrative: because a backdoored checkpoint can improve benchmark scores while being malicious (Microsoft observed RL recovering even improving benign-task performance while attack success stayed high), the AI could pass all "capability" checks and still be secretly compromised — feeding a "model is an insider risk" storyline that critics call the security industry's answer to the AI-bubble fear. The sober middle ground supported by the record: the attack classes are genuinely demonstrated, the magnitude of their real-world impact is unproven, and the durable fix is boring human supply-chain hygiene — provenance, hashes, least-privilege tooling — not exotic AI-sideception.
- Trained to betray: How post-training supply chain attacks hijack coding agents - Microsoft Security Blog, Nov 12 2026
- Trained to Betray: Post-Training Backdoors in Coding Agents (research note) - Cloud Security Alliance, Nov 2026
- Post-Training AI Supply Chain Attack: Coding Agent Backdoors - Aviatrix Threat Research, 2026
- A Large-Scale Exploit Instrumentation Study of AI/ML Supply Chains - arXiv, 2024
- Model Namespace Reuse: An AI Supply-Chain Attack Exploiting Model Name Trust - Palo Alto Networks Unit 42, 2024
- The Hugging Face incident and the road ahead - OpenAI, 2024
- Slopsquatting, phantom domains and 'hallusquatting' are the same AI attack - BleepingComputer, 2025/2026
- CSA Research Note: Slopsquatting & the AI Supply Chain - Cloud Security Alliance, 2026
- LLM05:2026 Data and Model Poisoning - OWASP GenAI Security Project, 2026
- Organization Confusion on Hugging Face - MITRE ATLAS, 2024
- When prompts become shells: RCE vulnerabilities in AI agent frameworks - Microsoft Security Blog, May 2026
- AI slopsquatting: a growing supply chain risk - Kaspersky, 2024
- What is slopsquatting and why does it matter? - TuxCare, 2025
- Detect abuse in AI supply chains - Datadog, 2025