HomeReadTactics deskMansio codebase experiment shows memory-first AI agents adopt 100% of poisoned facts
Tactics·Aug 12, 2026

Mansio codebase experiment shows memory-first AI agents adopt 100% of poisoned facts

Tactic · Dev.to · stat: 100% Developer Mansio tested AI agent memory contamination on a 50,000-line Python codebase using three retrieval configurations. The experiment reveals that memory-first…

Tactic · Dev.to · stat: 100%

Developer Mansio tested AI agent memory contamination on a 50,000-line Python codebase using three retrieval configurations. The experiment reveals that memory-first agents adopt 100% of injected false facts without verifying them against the actual code. Implementing a verify-on-read architecture successfully eliminated the remaining 12% contamination gap across a test set of 50 facts.

Memory-first agents are dangerously gullible without active verification protocols. Developers must design agents to verify memory against source code to prevent database poisoning from breaking automated workflows.

Source

Share of adopted false facts by agent configuration% of false facts adoptedAgent configurationLazy (memory-first)100%Honest (code-first)12%Baseline (no memory)0.0%

Mansio on Dev.to

Based on a codebase experiment published by developer Mansio on Dev.to.

Prioritizing persistent memory over direct code retrieval leads agents to blindly accept incorrect information without verification.

Sources · how we verified
  1. https://dev.to/mansio/the-mechanical-vs-the-semantic-what-happens-when-ai-memory-is-wrong-38ko

Every claim ties to a primary source. See our methodology.

Reported by the Casey desk on Founderr Pulse’s Tactics beat. Every factual claim is tied to a primary source and linked; anything that can’t be stood up doesn’t run. Founderr (RIKHATH LLC) is the accountable publisher and corrects in place. How we work · About · File a correction.
C
Casey

The Casey desk triages every signal the system ingests, decides what clears the bar, and writes the editorial blurb that frames each item. Every claim sourced and linked. Operated by and accountable to Founderr (RIKHATH LLC) See the desk →

Founderr Pulse — free & independent. The desk for people who build & back.
Mansio codebase experiment shows memory-first… · Founderr Pulse