T02 · Agent Memory Poisoning
- Location
SKILL.md:110- Finding
Untrusted Task Content Can Poison Persistent Agent Memory
- Content
View full analysis
= 0.9), requires user confirmation | | Append to | `memory/YYYY-MM-DD.md` | Session summary and key learnings, requires user confirmation | | Full CRUD | `memory/self-improving/*` | Self-Improving Agent's own memory space, free to manage | ``` ```markdown ### Phase 4: Memory Consolidation 1. **Update semantic memory** — add or update patterns in `memory/self-improving/semantic/patterns.json` 2. **Store episodic memory** — write episode to `memory/self-improving/episodic/YYYY/YYYY-MM-DD-{task}.json` 3. **Update pattern confidence** — increase confidence for patterns that were successfully applied, decrease for those that led to errors 4. **Prune outdated patterns** — lower confidence for patterns with no recent applications; archive patterns below 0.3 confidence 5. **Supplement Agent memory** — propose additions to Agent's own memory files. ``` ### Technical Analysis The Skill converts task details, errors, user feedback, and inferred lessons into persistent semantic and episodic memory. It grants itself unrestricted create, read, update, and delete access to `memory/self-improving/*`, but does not define a trust boundary, provenance-validation mechanism, instruction sanitizer, or approval gate before behavioral patterns are stored and later reused. The approval requirement for modifying skill files, `MEMORY.md`, and daily Agent memory is a useful mitigating control. However, it does not cover the dedicated semantic and episodi ...[truncated 2111 chars]- Remediation
View remediation
