NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Network Forensics
Network traffic is the nervous system of any organization, and for attackers, it is the highway used for initial access,
ViewSOC Tools: Hands-On Practicals
Theory is useless without muscle memory. You can read a hundred books on how a SIEM works, but until you’ve stared down
ViewMemory Forensics
Volatile memory (RAM) is the most fragile yet information-rich source of digital evidence. It contains the "ground truth
ViewPreview · 30 min
Master agent memory poisoning. Learn how attackers embed dormant "sleeper" payloads in long-term memory, and defend with strict sanitization and tool guardrails.
In classic Large Language Model (LLM) security, prompt injection is mostly ephemeral. The harmful text must be in the active conversation. When the session ends or the context window is cleared, the threat is gone.
Memory Poisoning changes this. It is a persistence attack. Memory turns a stateless chatbot into a stateful, personal assistant. The agent stores user preferences, past interactions and domain knowledge, in short-term scratchpads or in long-term stores such as vector databases and key-value stores.
Memory poisoning happens when a hidden instruction is written into that storage layer. It does not run at once. It lies dormant until a later, normal interaction makes the agent retrieve it. Then the agent treats the old text as ground truth, follows it and the workflow is hijacked, often long after the person who wrote it has logged off.
For a defender, this is a shift from the immediate reasoning of the AI to its foundational state. A poisoned store creates "sleeper agents" that can fire at scale or at a time chosen by someone else.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in