Join our Newsletter — 33% off our NHI Course
Home› Glossary› AI Security› Large Language Model Poisoning
AI Security

Large Language Model Poisoning

← Back to Glossary
By NHI Mgmt Group Updated October 29, 2026 Domain: AI Security

Large language model poisoning is the deliberate manipulation of training data, fine-tuning data, or retrieval sources so a model learns false, biased, or malicious patterns. It can alter outputs, behaviour, or embedded associations, and in a connected system it may also influence downstream decisions, tool use, or policy enforcement.

What this poisoning changes in an LLM

large language model poisoning is dangerous because the model can absorb the manipulated material as if it were legitimate training or retrieval knowledge. That can shift predictions, recommendations, and refusals in ways that look normal during casual testing but behave incorrectly under real prompts.

Poisoning is not limited to obvious sabotage. It can create subtle bias, hidden trigger behaviour, or false associations that only appear for specific topics, identities, tool paths, or retrieval patterns, which makes the problem especially hard to spot once the model is deployed.

For practical threat modeling, this is the same class of failure described in OWASP LLM Top 10 LLM04 Data and Model Poisoning Guide and the broader AI Data Poisoning and Backdoors Guide.

Where poisoning enters the lifecycle

Poisoning can happen before training, during fine-tuning, or through retrieval sources that feed the model at runtime. In each case, the attacker is trying to alter what the model learns or what context it trusts, rather than breaking the model with a single prompt.

The most exposed points are usually data ingestion, dataset curation, external corpus intake, and any process that allows untrusted content to be promoted into a trusted learning source. If those gates are weak, the model can be trained on data that is already contaminated.

Good supply-chain hygiene matters because poisoning is often a provenance problem as much as a model problem. The AI Supply Chain Security and AI-BOM Guide is relevant here because it explains how models, datasets, packages, and tools should be inventoried and traced before they influence production systems.

Why detection is difficult

Poisoned datasets can look valid, especially when the malicious content is small, distributed, or blended with real examples. A model may appear healthy during benchmark testing while still carrying an embedded backdoor, a biased preference, or a retrieval dependency that only shows up in narrow conditions.

That is why provenance, versioning, and rollback matter as much as output quality. When the origin of training or retrieval content is unclear, it becomes much harder to tell whether a model failure is random drift, ordinary hallucination, or deliberate tampering.

Poisoning is also harder to detect when an organisation lacks a baseline for expected behaviour. LLM Security Guide helps place poisoning alongside other model and application weaknesses, while Adversarial ML Taxonomy Guide gives the broader attack-class context needed to distinguish poisoning from evasion or extraction attacks.

How it affects downstream decisions and controls

The impact of poisoning is not confined to output text. In connected systems, a poisoned model can influence downstream decisions, trigger unsafe tool use, or distort policy enforcement when another system treats the model as a trusted decision aid.

That makes poisoning especially sensitive in environments where the model is allowed to recommend approvals, classify risk, route requests, or trigger automated actions. The issue is not only that the model is wrong, but that other controls may faithfully execute the wrong decision.

Where models participate in agentic workflows, poisoning can also interact with memory and context mechanisms. OWASP Agentic Top 10 ASI06 Guide is useful when the poisoned material can survive into agent memory, and OWASP Top 10 for LLM Applications Guide provides the wider control context for insecure data and model handling.

Risk and Threat Considerations

Poisoning is a supply-chain style trust failure: the model may faithfully learn or retrieve malicious content that was introduced before the moment of use. The risk increases when external data, third-party models, or loosely governed retrieval sources can influence production behaviour without strong provenance checks.

Failure mechanism: Attacker-controlled or contaminated content is admitted into training, fine-tuning, or retrieval pipelines, then becomes embedded in model behaviour, hidden associations, or downstream decision logic.

Impact: The model can produce biased, manipulated, or malicious outputs; enable backdoors; and pass bad recommendations into tools, workflows, or policy enforcement layers that trust its results.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while OWASP ASVS and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP ASVSV14 — Data ProtectionData poisoning directly concerns integrity of training and retrieval data used by the application.
Recommendation — Protect model-adjacent data from tampering and validate integrity before it influences outputs.
NIST SP 800-53 Rev 5SA-12 — Supply Chain ProtectionPoisoning often enters through third-party data, models, or tools in the AI supply chain.
SI-7 — Software, Firmware, and Information IntegrityPoisoned training or retrieval content is an integrity issue that changes system behaviour.
Recommendation — Vet upstream AI inputs and require provenance controls for imported datasets and models. Validate content integrity and detect unauthorized changes before reuse in AI pipelines.
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakagePoisoning campaigns can be paired with leaked credentials that let attackers alter trusted AI inputs.
Recommendation — Contain credential exposure that could let adversaries tamper with AI data sources.
MITRE ATT&CKT1565 — Data ManipulationPoisoning is a deliberate manipulation of data to alter downstream system behaviour.
Recommendation — Hunt for unauthorized edits to training, fine-tuning, and retrieval data.

Practitioner Guidance

Why practitioners should care: Poisoning is one of the few LLM failure modes that can persist after deployment because it is baked into the data or retrieval layer rather than caused by a single bad prompt. Treat data intake and corpus governance as security controls, not just ML hygiene.

What to watch for: Unexpected behaviour tied to specific phrases, entities, document sources, or retrieval paths, especially when the pattern appears only after new data ingestion or fine-tuning. Those are classic signs that the model has learned something it should not have trusted.

Practitioner takeaway: If you cannot explain where the model’s knowledge came from, you cannot reliably know whether the model is serving insight or inherited contamination.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 29, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org