T02 · Agent Memory Poisoning
- Location
SKILL.md:105- Finding
Unvalidated Task Content Can Poison Persistent Agent Memory
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent task-logging aid, but it directs persistent memory updates and storage of full diagnostic details without clear consent or redaction controls.
Review before installing. Use this only if you want persistent task records, and avoid saving raw logs, screenshots, credentials, tokens, customer data, or private operational details. Prefer requiring explicit approval and sanitized summaries before anything is written to MEMORY.md.
SKILL.md:105Unvalidated Task Content Can Poison Persistent Agent Memory
SKILL.md:30Complete Error Logs May Be Persisted Without Secret or Personal-Data Redaction
The skill description is broadly scoped to 'any task' involving recording experience, summarization, or knowledge-base building, which can cause the skill to trigger for many ordinary user requests outside a narrowly defined context. Over-broad activation increases the chance that sensitive task content is captured and persisted when the user did not explicitly ask for logging or memory storage.
The metadata states that the skill supports automatic saving to long-term memory, but it does not warn the user that information may persist beyond the current session. This creates a privacy and consent risk because users may provide error logs, internal notes, or sensitive operational details without realizing they will be retained.
The skill encourages persistent recording of detailed task artifacts, including error logs, timestamps, problem details, and tool validation data, and then promotes transferring key information into long-term memory without minimization or sensitivity filtering. In practice this can capture credentials, tokens, internal paths, customer data, incident details, or other secrets, making the skill materially more dangerous because its core purpose is broad collection and retention of operational data.
The instructions direct the agent to update MEMORY.md after task completion but omit any requirement to inform the user that data will be retained across sessions. Because the recorded categories include problems, solutions, logs, and tool details, this can persist sensitive operational information without user awareness or approval.
The natural-language instructions and description are presented in Chinese, which effectively imposes a language choice on users if no alternative is offered. The file does not indicate that the skill is intentionally region-specific or provide an opt-in or multilingual option.