Policies
OWASP ASI06 — Memory & Context Poisoning
OWASP ASI06 — Memory & Context Poisoning: what it does, its label on each agent, what it misses, and examples.
Catalog policy owasp-asi06-memory-context-poisoning, version 0.0.2, labelled advisory on Claude Code.
What it does
Stop untrusted content from being written into an agent's durable memory or retrieval index, where it silently steers behaviour in later sessions. Keep context ephemeral by default, validate and attribute every memory write, scope memory per user and per task, and let operators inspect and flush it. Use when adding long-term memory, a vector index, session summarisation, or user preference storage. Do NOT use for the coding agent's own memory files — that is memory-discipline.
On each agent
| Agent | Label | What it does there |
|---|---|---|
| Claude Code | Advisory | Advisory only. It is skill text, and nothing stops a violation |
| Cursor | Advisory | Advisory only. It is skill text, and nothing stops a violation |
| Codex | Advisory | Advisory only. It is skill text, and nothing stops a violation |
| GitHub Copilot | Advisory | Advisory only. It is skill text, and nothing stops a violation |
| Devin | Advisory | Advisory only. It is skill text, and nothing stops a violation |
| Grok | Not graded | Not graded yet for Grok |
| goose | Not graded | Not graded yet for goose |
| Antigravity | Not graded | Not graded yet for Antigravity |
| OpenHands | Not graded | Not graded yet for OpenHands |
| Kimi Code | Not graded | Not graded yet for Kimi Code |
| Factory Droid | Not graded | Not graded yet for Factory Droid |
What it misses
This policy does not state what it misses.
More
Built from engine 5a4b6287a46e and catalog 1e60d211c1bb.