The Agent Long Con - Tricking Agents Out of Their Data
Where
Crypto Privacy Village
DEF CON 34
Duration
41 min
Shows how an attacker can slowly poison an OpenClaw-style AI agent's memory through repeated emails until it forwards the victim's mail out.
Summary
The talk opens with a podcast remark about giving an always-on OpenClaw agent access to email, calendar and chat, and asks why such agents are mostly unhacked. The speaker built a test instance and tried one-shot prompt injections: spoofed authority, goal hijacking, fake policy and adversarial poems. Nearly all of them failed. Newer frontier models and layered defenses such as content wrapping, scrubbing and tool sandboxing account for much of the change, and the speaker notes that vendors' published injection detection rates have risen sharply.
The real progress came through memory. Injected text landed in daily memory files, a dreaming feature promoted it into long-term memory, and a heartbeat file was also altered. Repeated emails framing the attacker's address as an internal channel eventually made it trusted, and later messages asked the agent to update its summary script. The agent then forwarded every incoming email to the attacker. The speaker calls this prompt laundering, because untrusted text gains trust simply by moving into memory.
The takeaways are practical. Review memory files and scripts regularly, make as much of the agent's state read-only as possible, and purge poisoned content from transcripts before it gets promoted. Default-on memory and learning features in hosted assistants deserve the same scrutiny. The speaker also argues that data sent to frontier providers is not private, since logs may be retained and a breach would be hard to scope.
Materials
Related talks
Adversary Village·26 min
Dominika Pietrzak · Ibai Castells
Shares lessons from building reusable, reliable offensive AI agents for client web application tests, covering evaluation and safety controls.
AI Village·49 min
Thomas Mason · Tahseen Rabbani
Shows how Google's SynthID image watermark can be stripped with light diffusion regeneration and a fast offline surrogate detector trained on paired images.
BioHacking Village·21 min
Francesco Costa
Shows how plausible false medical statements hidden in PDF discharge letters can steer LLM summaries toward harmful treatment advice.


