A poisoned chunk is a malicious or manipulated document fragment stored in a retrieval index. It is not tied to one user session, so it can be returned repeatedly by similarity search whenever a matching query lands near it in vector space.
Expanded Definition
A poisoned chunk is a stored retrieval fragment that has been deliberately manipulated so it can be surfaced by embedding or keyword similarity, then reused across later retrievals. In retrieval-augmented systems, the risk is not limited to one prompt or one user turn: the fragment can persist in the index and continue influencing answers until the underlying corpus is repaired.
The term is narrower than general prompt injection because the malicious content is embedded in the knowledge layer rather than injected only at runtime. It is also different from simple misinformation, because the security problem is persistence inside a system component that is meant to be trusted as evidence. In practice, a poisoned chunk often exploits chunking boundaries, relevance ranking, or insufficient source validation, so the model retrieves it as if it were a legitimate passage.
For organisations operating retrieval pipelines, the common boundary mistake is treating the index as passive storage rather than an attack surface. That misunderstanding usually leads to weak provenance checks and delayed detection of contaminated content.
For standards-oriented context, the OWASP Non-Human Identity Top 10 is useful where poisoned content appears inside automated knowledge or agent workflows that depend on machine-operated access paths, although the exact issue remains primarily a retrieval integrity problem.
Examples and Use Cases
Poisoned chunks appear wherever untrusted or weakly governed content is ingested into a retrievable corpus.
- A public support article is altered so the indexed fragment consistently steers an assistant toward unsafe instructions.
- A vendor knowledge base contains a manipulated snippet that is repeatedly retrieved because it closely matches common operational queries.
- An internal wiki page is edited with hidden or misleading language that survives ingestion and later influences analyst responses.
- A document upload pipeline indexes a malicious attachment without provenance checks, allowing the same fragment to reappear in many sessions.
- A multi-tenant retrieval store mixes content from different sources, and one contaminated chunk bleeds into answers for unrelated users.
The implementation tradeoff is straightforward: finer chunking can improve recall, but it can also make it easier for a short poisoned fragment to outrank more relevant context if validation is weak.
Security Implications
When a poisoned chunk is present, the system can repeat a bad answer with high confidence because retrieval behaves as a trust amplifier. The model may appear consistent while actually recycling manipulated source text, which makes the failure harder to spot than a one-off prompt attack.
Typical consequences include incorrect operational guidance, unauthorized tool use suggestions, policy bypass, and contamination of downstream summaries or incident workflows. In governance terms, the organisation may believe it is grounding responses in approved material while the retrieval layer is silently undermining that assumption. The observable symptom is often repeated retrieval of the same suspicious fragment across otherwise different queries.
Where the poisoned chunk sits close to high-frequency terms or common tasks, its blast radius increases because many requests can hit the same compromised region of vector space. That means one contaminated document can affect many users, sessions, or agent runs until reindexing or source cleanup occurs.
Domain and Governance Relevance
In AI security, poisoned chunks sit at the intersection of data integrity, retrieval trust, and access governance. The issue matters because the retrieval index is not just a storage layer; it becomes part of the system's decision path. Once a malicious fragment is indexed, later outputs can inherit its influence even when the live prompt is benign.
For NHI and agentic AI environments, the relevance becomes sharper when automated systems ingest, rank, and act on retrieved content without human review. A poisoned chunk can misdirect an autonomous agent, distort machine-to-machine decisioning, or feed an identity-bearing workflow with untrusted evidence. NHIMG treats this as a governance problem as much as a technical one, because provenance, ownership, and revalidation of indexed content determine whether the retrieval layer can be trusted at scale.
The practical boundary is simple: if the organisation cannot explain where the chunk came from, who approved it, and when it was last revalidated, then retrieval trust is already weakened.
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 ATLAS address the attack and risk surface, while NIST AI RMF, NIST AI 600-1 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Secrets and Credential Management | Poisoned chunks can mislead automated identity-bearing workflows and agents. |
| Recommendation — Treat retrieved content as untrusted until provenance checks validate its source. | ||
| NIST AI RMF | GOVERN — Govern | Retrieval poisoning is an AI governance and data-trust issue. |
| Recommendation — Define ownership and approval rules for indexed knowledge used by AI systems. | ||
| NIST AI 600-1 | M2 — Data and Input Controls | The term concerns manipulated retrieval data entering model context. |
| Recommendation — Validate indexed content and block contaminated fragments before retrieval. | ||
| CIS Controls v8 | 8 — Audit Log Management | Repeated retrieval of the same bad fragment needs monitoring and traceability. |
| Recommendation — Log retrieval and ingestion activity so poisoned content can be traced and removed. | ||
| MITRE ATLAS | AML.T0002 — Prompt Injection | Poisoned chunks are a persistence mechanism for adversarial content in AI pipelines. |
| Recommendation — Hunt for injected retrieval content that persists across multiple AI interactions. | ||
Related resources from NHI Mgmt Group
- What breaks when AI coding agents automatically install poisoned npm packages?
- How should teams respond after a poisoned package is detected in their pipelines?
- How should security teams reduce risk from fake AI tool downloads and poisoned search results?
- Why do poisoned chat templates matter if the model weights are unchanged?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 7, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org