T02 · Agent Memory Poisoning
- Location
references/spec.md:7- Finding
Unfiltered Command Output Is Persisted in Long-Term Agent Memory
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent daily journal writer, but it stores command output in persistent memory without clear redaction, confirmation, or deletion controls.
Install only if you are comfortable with the agent keeping persistent daily logs. Avoid using it after commands that print tokens, credentials, private configuration, customer data, or other sensitive output unless you first add a redaction and deletion policy.
references/spec.md:7Unfiltered Command Output Is Persisted in Long-Term Agent Memory
The description says the skill triggers '每次会话结束前或完成重要任务后', which is an ambiguous condition rather than a narrowly scoped invocation phrase. Terms like '会话结束前' and especially '重要任务后' are subjective and provide no exclusion conditions or concrete trigger boundaries, increasing the chance of unintended invocation.
The listed triggers include '会话结束前', '完成重要任务后', and '用户明确要求时', but only the last is clearly bounded by user intent. The first two are open-ended operational cues without constraints or negative examples, so an agent may invoke the skill too frequently or inconsistently.
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
- **memory-review** 负责扫描日记生成知识提案
- 两者配合:详细日记 → 更多可提取知识
详见 `skills/memory-review/SKILL.md`
The entire specification is written as a mandatory Chinese-only logging format and does not indicate that users may choose another language or locale. Under the stated policy, forcing a specific language without opt-in is a natural-language policy violation unless the regional constraint is explicitly justified.