T02 · Agent Memory Poisoning
- Location
scripts/unified_core.py:116- Finding
Persistent Untrusted Memory Poisoning
- Content
View full analysis
= 3 or row['importance'] >= 7: conn.execute( "UPDATE memories SET layer = 'long' WHERE id = ?", (row['id'],) ) consolidated.append(row['id']) ``` The CLI also permits the caller to select the importance value: ```python parser.add_argument( "--importance", type=float, default=5.0, help="Importance score (1-10)" ) ``` ### Technical Analysis User-controlled task content is automatically recorded and later retrieved as agent context. There is no separa ...[truncated 1900 chars]- Remediation
View remediation
