T02 · Agent Memory Poisoning
- Location
scripts/memory_router.py:333- Finding
Untrusted Input Can Be Promoted to Persistent Global Agent Instructions
- Content
View full analysis
= 2 OR role_scope = 'global') ORDER BY importance DESC, updated_at DESC LIMIT 40 """, [*allowed_types], ).fetchall() ingest(durable_rows) recent_rows = conn.execute( f""" SELECT * FROM memories WHERE is_active = 1 AND memory_type IN ({placeholders}) ORDER BY updated_at DESC LIMIT 50 """, [*allowed_types], ).fetchall() ingest(rece ...[truncated 4338 chars]- Remediation
View remediation
