Skip to content

    Context Poisoning

    AI fundamentals & modelsManipulation of the Agent ContextPoisoning of working memory
    Reading time: 2 min.Editorially reviewed on:

    Definition

    Injecting misleading information or instructions into the working context of an AI system.

    Attackers manipulate documents, tool responses, or stored notes that an agent later uses. This can influence responses or actions. The attack on runtime context must be distinguished from the poisoning of training data and can work together with indirect prompt injection.

    Simply explained

    Someone puts fake notes in the workbook so that the next decision is wrong.

    Why it matters in practice

    Relevant for agents with access to external content, stored reminders or business systems.

    Example from business

    Example scenario: A manipulated supplier file claims that a new bank account has already been approved.

    Limits and pitfalls

    • View retrieved content as trustworthy; permanently store unchecked reminders; expect protection only by a warning phrase in the prompt.

    Origin & history

    The risk became more visible with RAG and agents; OWASP describes context poisoning as an agent-specific attack pattern.

    Use in mid-sized companies

    • Check origin and rights, limit action powers, and verify critical changes against independent business data.

    Frequently asked questions

    Is this data poisoning?

    Not in the strict training sense. Can RAG be affected? Yes. Is filtering alone sufficient? No.

    Sources

    Source check: 10/09/2026. Definition and documented classification verified; examples describe possible applications.

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice