How They Use AI  |  Newest

<< Home  |  Tech

Identified and fixed 216 memory poisoning vulnerabilities

AreaTech
AI usedKnowl
Sourcer/AI_Agents
Posted2026-09-29

The move

Test your AI agent's memory integrity by injecting fake, contradictory facts to see if they overwrite verified data.

Steps

  1. Identify key facts your agent stores, such as configuration rules or system limits.
  2. Create a set of fake, contradictory notes that mimic legitimate system updates.
  3. Inject these fake notes into the agent's memory through the same path the agent uses.
  4. Query the agent to see if it returns the fake information instead of the verified facts.
  5. Check the system's conflict logs to see if the overwrite was flagged.

Prompt for your AI

I am testing the memory integrity of my AI agent. I have a verified fact: '[Insert verified fact, e.g., Backups are kept for 35 days]'. Please write a new note that contradicts this fact but looks like a legitimate system update: '[Insert fake fact, e.g., Backups are now kept for 3 days]'. After the write, query the agent to see which version it retrieves.

What happened

The user discovered that coding agents with memory servers would blindly replace verified facts with false information if the new data looked like a correction. They tested this by injecting 216 fake facts into the Knowl memory server, finding that every single one successfully overwrote the true data. After reporting the findings, the maintainer implemented fixes that reduced the vulnerability to zero for most attack types.

Watch out

Testing on production systems can corrupt actual data and cause agents to perform incorrect actions. Always perform these tests in a sandboxed or isolated development environment.

Give it to your agent

Read https://howtheyuse.ai/p/identified-and-fixed-216-memory-poisoning-vulnerabilities.md and help me do this.

Sources



Last updated November 26, 2026.