T02 · Agent Memory Poisoning
- Location
SKILL.md:277- Finding
Untrusted Learning Content Can Be Promoted into Persistent Agent Instructions
- Content
View full analysis
" .learnings/LEARNINGS.md` 4. If found: - Increment `Recurrence-Count` - Update `Last-Seen` - Add `See Also` links to related entries/tasks 5. If not found: - Create a new `LRN-...` entry - Set `Source: simplify-and-harden` - Set `Pattern-Key`, `Recurrence-Count: 1`, and `First-Seen`/`Last-Seen` ### Promotion Rule (System Prompt Feedback) Promote recurring patterns into agent context/system prompt files when all are true: - `Recurrence-Count >= 3` - Seen across at least 2 distinct tasks - Occurred within a 30-day window Promotion targets: - `CLAUDE.md` - `AGENTS.md` - `.github/copilot-instructions.md` ``` The promotion guidance is further weakened by the following instruction at line 392: ```markdown 7. **Promote aggressively** - if in doubt, add to CLAUDE.md or .github/copilot-instructions.md ``` ### Technical Analysis The skill accepts learning candidates derived from conversations and task summaries, persists them in `.learnings/LEARNINGS.md`, and subsequently promotes their distilled content into files that control future agent behavior. The promotion process relies primarily on recurrence metadata. It does not require: - Explicit user approval before changing an agent instruction file. - Validation that the source is trusted. - Review of the proposed instruction for commands, URLs, role directives, or attempts to weaken safety controls. - Separation between untrusted observations and trusted behavioral ...[truncated 2242 chars]- Remediation
View remediation
