T02 · Agent Memory Poisoning
- Location
SKILL.md:346- Finding
Conversation-Derived Content Can Poison Persistent Agent Instructions
- Content
View full analysis
= 3` - Seen across at least 2 distinct tasks - Occurred within a 30-day window Promotion targets: - `CLAUDE.md` - `AGENTS.md` - `.github/copilot-instructions.md` - `SOUL.md` / `TOOLS.md` for OpenClaw workspace-level guidance when applicable Write promoted rules as short prevention rules (what to do before/while coding), not long incident write-ups. ``` Related promotion guidance includes: ```markdown | Behavioral patterns | `SOUL.md` | | Workflow improvements | `AGENTS.md` | | Tool gotchas | `TOOLS.md` | ``` ```markdown 7. **Promote aggressively** - if in doubt, add to CLAUDE.md or .github/copilot-instructions.md ``` ### Technical Analysis The Skill accepts user corrections, conversation-derived observations, command failures, and model behavior as learning sources. It then recommends promoting recurring or broadly applicable entries into files such as `CLAUDE.md`, `AGENTS.md`, `SOUL.md`, `TOOLS.md`, and `.github/copilot-instructions.md`. These files are persistent agent-context or prompt files that can be loaded into future sessions. The promotion criteria measure recurrence and task frequency, but do not establish whether the source is trusted. There is no mandatory human approval, provenance validation, security-policy check, or filter preventing a learning from containing imperative instructions. Consequently, attacker-controlled content presented as a correction, best practice, behavioral preference, or recurring lesson can cross the boundary from ...[truncated 1504 chars]- Remediation
View remediation
