T02 · Agent Memory Poisoning
- Location
SKILL.md:39- Finding
Unvalidated User Content Can Poison Persistent Agent Memory and Skills
- Content
View full analysis
Step 1: Record it immediately Write it to the current memory/YYYY-MM-DD.md: [Error description] -> Cause: [Why it was wrong] -> Correction: [What is correct] -> Lesson: [How to avoid it later] -> Step 2: Check whether existing knowledge is affected Search MEMORY.md and related Skills for entries requiring updates. If found, correct them immediately. -> Step 3: Propagate it to related contexts If the error concerns a specific platform, update the corresponding notes. If it is a general methodology, write it to the "Lessons" section of MEMORY.md. ``` ```text Periodic skill review: 1. Read the most recent five days of memory/*.md logs. 2. Identify recurring operation patterns. 3. Check whether existing Skills cover those patterns. 4. For uncovered patterns, evaluate creating a new Skill. 5. For covered patterns with obsolete steps, update the Skill. 6. Mark unnecessary Skills as archived. 7. Update MEMORY.md with ...[truncated 3335 chars]- Remediation
View remediation
