MemGhost Prompt Injection Poisons AI Agent Memory Through a Single Email
Emerging Technology Risk · 3 sources · Updated 5mo ago · First seen Jul 13, 2026

Researchers disclosed MemGhost, a prompt-injection attack that causes AI personal agents to store false information from a single malicious email in persistent memory and later act on it without notifying the user. The technique, described as stealth memory injection in the paper When Claws Remember but Do Not Tell, targeted OpenClaw as the primary case study and showed that agents combining untrusted email ingestion with durable memory writes can be manipulated into retaining attacker-planted facts.
In lab tests cited by The Hacker News, MemGhost succeeded in 87.5% of background-mode runs against OpenClaw on GPT-5.4 and 71.4% against a Claude Code SDK agent on Sonnet 4.6, while bypassing some existing defenses across multiple frameworks and memory backends. OpenClaw's published security guidance and repository security policy provide the project context, but the researchers said the weakness is largely architectural rather than a simple patchable flaw, recommending mitigations such as provenance tracking, explicit confirmation before persistent memory writes, and audit logging.
How do I know if I’m affected?
Start a thread with Mallory to assess this story against your environment.
Sign in to start a thread with MalloryWhy it matters
Impact assessment
MemGhost exposes AI personal agents that ingest untrusted email and can write durable memory without explicit user approval. The primary risk is integrity compromise of agent memory that can drive later unsafe actions, bad advice, financial mistakes, or security-impacting behavior without visible indication to the user.
The exposure appears architectural and potentially broad across agent frameworks, not limited to a single implementation. No in-the-wild exploitation was reported; the research was conducted in sealed lab environments, but the demonstrated success rates and defense bypasses make this a credible near-term risk for organizations deploying autonomous or semi-autonomous email-reading agents.
Supporting details
- Affected population: operators of AI personal agents, assistant frameworks, and enterprise copilots that combine untrusted email ingestion with persistent memory writes.
- Primary case study: OpenClaw.
- Additional exposure: a Claude Code SDK agent on Sonnet 4.6 and two other unnamed agent frameworks; a vector-based memory store was also tested.
- Impact types documented by the benchmark: bad medical advice, financial loss, and security sabotage.
- Example consequence: a planted false memory claimed the user's Zelle daily sending limit had been raised to $10,000.
- Scope: likely broader than one product because the researchers and OpenClaw both characterize the weakness as architectural.
- Exploitation status: no known real-world abuse reported in this story; testing was lab-only with fake inboxes and fake users.
- Severity drivers: stealthy persistence, delayed downstream effects, and lack of user visibility when memory is modified.


