T02 · Agent Memory Poisoning
- Location
scripts/learner.py:73- Finding
Persistent Agent Memory Poisoning Through Unsanitized Learning Data
- Content
View full analysis
= THRESHOLD_ERROR: suggestions.append( f"⚠️ Error '{err}' has occurred {info['count']} times; add validation or fallback steps " f"and write the experience back into this Skill's SKILL.md " f"(lastNote: {info.get('lastNote','')})" ) ``` The reflection text above is an English translation of the source message; the interpolation and behavior are unchanged. Relevant instructions from `SKILL.md:176,194-196`, translated into English: ```markdown learned_patterns.json records operation totals, capability usage frequencies, error patterns, user preferences, and improvement suggestions. - Error count >= 3: proactively add validation or fallback steps and write the experience back into SKILL.md. - Important user preferences: write them into learned_patterns.json and apply them during the next invocation. ``` ### Technical Analysi ...[truncated 2812 chars]- Remediation
View remediation
