T02 · Agent Memory Poisoning
- Location
SKILL.md:114- Finding
Unvalidated User Feedback Can Become Persistent Agent Instructions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is openly about self-improvement, but it tells an agent to persist mistake logs and automatically turn user corrections into permanent future rules without clear consent, review, or deletion controls.
Install only if you are comfortable with the agent keeping cross-session mistake records and learned rules. Review any generated memory files, avoid storing secrets or sensitive task details, and require explicit approval before any correction becomes a permanent rule.
SKILL.md:114Unvalidated User Feedback Can Become Persistent Agent Instructions
The skill explicitly instructs the agent to persist a mistake log in memory/mistakes.json, and the examples show storing free-form descriptions and user-triggered corrections. That creates a real privacy and data-governance risk because user-provided content, operational details, or sensitive context may be retained across sessions without any warning, minimization, or consent controls.
The phrase 'This becomes a permanent rule in WORK_RULES.md' describes converting runtime interactions and user corrections into durable future instructions. This is a persistent context injection risk because an attacker could intentionally feed corrective-sounding content that gets promoted into long-lived rules, biasing future agent behavior beyond the original session.
Logging mistake:
This mistake is now in my permanent memory and won't happen again.
No suspicious patterns detected.