T02 · Agent Memory Poisoning
- Location
SKILL.md:31- Finding
Automatic Persistent Storage of Unverified Behavioral Inferences
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This memory skill is mostly coherent, but it can create durable records about the user and inferred preferences without clear consent or tight safeguards.
Install only if you are comfortable with the agent maintaining persistent memory files about your preferences, boundaries, projects, and inferred behavior. Before using it, require explicit approval for every write and promotion, periodically review MEMORY.md and memory/YYYY-MM-DD.md, and do not allow operational instructions, authorization claims, secrets, or third-party content to be stored as preferences.
SKILL.md:31Automatic Persistent Storage of Unverified Behavioral Inferences
SKILL.md:68Overbroad Skill Activation and Immediate Promotion of Attacker-Controlled Preferences
The skill description activates on very broad conditions such as remembering, continuing previous context, personalization, or retrieving prior decisions, which can cause the memory behavior to trigger in many normal conversations without a sufficiently narrow scope. In a memory-writing skill, this increases the chance of collecting and persisting user data when the user did not clearly intend durable storage, especially because the skill also directs writes to daily and long-term memory files.
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
Rules:
- FACTS are never inferred
- HYPOTHESES are never promoted without confirmation
- PREFERENCES can remain soft unless explicitly confirmed
## Capture Triggers
The write workflow instructs the agent to append entries to daily memory and promote items to long-term memory files, but the skill does not require a clear up-front warning that data will be stored persistently across files. This is dangerous because users may believe they are only having an ephemeral conversation while the agent is actually creating durable records, including inferred hypotheses about them.
No suspicious patterns detected.