T02 · Agent Memory Poisoning
- Location
scripts/learner.py:58- Finding
Unvalidated User-Controlled Data Is Stored as Persistent Agent Memory
- Content
View full analysis
= THRESHOLD_ERROR: suggestions.append( f"⚠️ 错误「{err}」已出现 {info['count']} 次,建议增加预检/兜底步骤," f"并将经验回写本技能 SKILL.md(lastNote: {info.get('lastNote','')})" ) ``` The associated instructions in `SKILL.md:116-137` state that user preferences are written to `learned_patterns.json`, should be applied on later invocations, and that accumulated experience may be written back into `SKILL.md ...[truncated 3007 chars]- Remediation
View remediation
