T02 · Agent Memory Poisoning
- Location
SKILL.md:3- Finding
Autonomous Poisoning of Persistent Agent Instructions and Memory
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a self-improvement workflow, but it gives the agent broad authority to automatically rewrite persistent instructions and memory without clear user approval.
Install only if you intentionally want an agent to maintain its own long-term instructions, and prefer using it in a controlled workspace where every proposed change is reviewed before it can alter skills, AGENTS.md, SOUL.md, or memory files.
SKILL.md:3Autonomous Poisoning of Persistent Agent Instructions and Memory
The skill description says it should be used whenever the agent 'should get smarter without being prompted,' which is an extremely broad auto-activation condition for a capability that reads memory and modifies skills/protocols. This can cause the agent to invoke self-modifying behavior in unrelated contexts, leading to unauthorized state changes, prompt drift, or persistence of bad instructions without explicit user consent.
The skill explicitly instructs the agent to read learnings/memory and automatically apply changes to skills, system playbooks, and memory facts, including direct application of 'low-risk' changes, but provides no clear user warning, approval requirement, or integrity controls. In context, this is especially dangerous because it enables persistent self-modification and memory editing based on potentially untrusted prior outputs, creating a pathway for prompt injection persistence, corruption of agent behavior, and hard-to-audit configuration drift.