T09 · Insecure Skill Coding Practices
- Location
scripts/collect_memory.py:103- Finding
Untrusted Memory Content Is Passed to the Agent Without Prompt-Injection Isolation
- Content
View full analysis
The script reads long-term memory and recent logs, outputs JSON to stdout. The Agent parses `content.long_term` and `content.daily_logs` fields from the JSON. ### Step 2: LLM Deep Analysis The Agent analyzes collected memory in 3 sub-tasks: ``` ### Technical Analysis The collector reads complete long-term memory and daily log files and serializes their contents into the JSON consumed by the Agent. Memory files are data files, but they may contain instruction-like text supplied by users, imported content, compromised integrations, or other untrusted sources. The Skill instructions direct the Agent to parse and analyze these fields but do not establish a trust bounda ...[truncated 2132 chars]- Remediation
View remediation
