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
Networking Fundamentals
You cannot secure a network if you do not understand how data moves across it. The Networking Fundamentals learning path
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
ViewExploitation Fundamentals
Amateurs stop at the proof of concept. They pop an alert(1), dump a database via SQLi, or find an IDOR, write a report,
ViewPrivilege Escalation
A comprehensive learning path covering the core methodologies of post-exploitation privilege escalation across both majo
ViewRouting & Switching Fundamentals
Build a rock-solid foundation in modern network infrastructure. This learning path takes you deep into the mechanics of
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 cross-session memory poisoning in AI agents. Learn how attackers exploit semantic bleed to persist payloads, and defend with strict metadata pre-filtering.
To see why memory poisoning lasts, start with one fact: LLMs are inherently stateless. When an API call ends, the model forgets the conversation. An agent seems to remember past interactions, preferences and context only because an external, stateful memory layer exists: a vector database, a key-value store or a relational database.
This need creates the weakness: cross-session persistence. Once text is planted in the external memory, it is separate from the session of the person who planted it. They can log off, delete their account or wait months. The entry stays. When another user, or the same user in a later session, triggers a semantic search that returns that chunk, the agent treats the dormant text as active, legitimate context.
For a defender, this moves the threat from a short-lived prompt injection that is easy to stop to a persistent, systemic problem. It survives application restarts, user logouts and even basic security audits.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in