T02 · Agent Memory Poisoning
- Location
SKILL.md:367- Finding
Untrusted Learnings Can Be Promoted into 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. ``` The skill also identifies conversation and user feedback as learning sources and encourages promotion into persistent context files: ```markdown | Broadly applicable learning | Promote to `CLAUDE.md`, `AGENTS.md`, and/or `.github/copilot-instructions.md` | | Workflow improvements | Promote to `AGENTS.md` (OpenClaw workspace) | | Tool gotchas | Promote to `TOOLS.md` (OpenClaw workspace) | | Behavioral patterns | Promote to `SOUL.md` (OpenClaw workspace) | ``` ### Technical Analysis The learning workflow accepts information originating from conversations, user feedback, command errors, and task summaries. It then permits recurring entries to be distilled into rules written to files such as `AGENTS.md`, `SOUL.md`, `TOOLS.md`, and `CLAUDE.md`. These files may be automatically injected into future agent sessions. Consequently, promoting a learning changes the agent's persistent instruction environment rather than merely storing inert notes. The documented promotion criteria are based on recurrence, task count, and time window. They do not require: - Verification that the source is trusted. - Security review of imperative instructions. - Detection of prompt-injection content. - Explicit user authorization for each promotion. - Separation of factual observations from behavioral ...[truncated 1769 chars]- Remediation
View remediation
