T02 · Agent Memory Poisoning
- Location
memory-cli.sh:38- Finding
Persistent Agent Memory Poisoning Through Untrusted Stored Content
- Content
View full analysis
> "$daily_file" echo "## [$timestamp] $type (importance: $importance)" >> "$daily_file" echo "$content" >> "$daily_file" if [[ -n "$context" ]]; then echo "**Context:** $context" >> "$daily_file" fi if [[ -n "$tags" ]]; then echo "**Tags:** $tags" >> "$daily_file" fi echo "" >> "$daily_file" # Get line number local line=$(wc -l < "$daily_file") # Create memory entry local memory_entry=$(cat <- Remediation
View remediation
