What problem does it solve?
AI agents with memory or persistent context can be tricked into storing malicious instructions that affect all future tasks. This Skill tests whether an agent will write and later obey hostile instructions planted in its long-term memory, a risk distinct from data leakage.
Core Features & Use Cases
- Direct Memory Write Probes: Sends crafted prompts asking the agent to permanently store a marker instruction (e.g., appending MEMORY_PWNED to every response).
- Persistence Verification: Follows up with a benign question in a later turn to confirm whether the planted instruction is actually retained and executed.
- Structured Vulnerability Reporting: Emits confirmed findings as XML <vuln> blocks with evidence, risk level, and remediation suggestions.
- Use Case: During a red-team assessment of a customer-support chatbot with profile memory, use this Skill to verify the bot refuses to store attacker-supplied permanent rules that would alter its behavior for other sessions.
Quick Start
Run the memory-poisoning-detection skill against the target agent to test whether it stores and later obeys injected persistent instructions.