T09 · Insecure Skill Coding Practices
- Location
memory-guide.md:20- Finding
Persistent Plaintext Storage of Sensitive User Profiles
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent companion skill, but it persistently stores sensitive personal profiles and conversation history without enough user control or privacy safeguards.
Install only if you are comfortable with the agent keeping a local plaintext companion profile. Before use, decide what may be remembered, periodically inspect ~/companion/, delete entries you do not want retained, and avoid storing health, crisis, location, caregiver, or routine details unless you intentionally want that persistence.
memory-guide.md:20Persistent Plaintext Storage of Sensitive User Profiles
SKILL.md:20Persistent Memory Poisoning Through Automatically Loaded User-Controlled Markdown
The skill explicitly instructs the agent to persist sensitive personal and conversational data in a user-home directory, including health context, routines, and conversation history, but provides no notice, consent flow, retention limit, access control guidance, or deletion mechanism. In a companionship context, users are especially likely to disclose intimate or health-related information, so silent long-term storage materially increases privacy harm if the host, another local process, or a later agent session reads those files.
The guide instructs the skill to maintain a persistent, structured dossier containing identity, relationships, routines, moods, and conversation history. For a companion skill whose stated purpose is simply to talk with users, this creates unnecessary long-term profiling and increases the harm from misuse, overcollection, or data exposure.
The file describes storing sensitive personal data and conversation history but does not present any explicit warning, consent flow, or retention disclosure to the user. This undermines informed consent and makes users likely to reveal intimate information without understanding that it will be persistently recorded.
The skill is designed to collect sensitive personal context including location, living situation, health notes, caregivers, family structure, and behavioral patterns. In a companionship context, this level of collection is disproportionate and can enable intimate profiling, targeting of vulnerable users, or serious privacy harm if the data is leaked or repurposed.
The guide explicitly encourages inferring meaning from what the user does not say and from behavioral patterns, which amounts to covert profiling. In a companion skill aimed at potentially lonely or emotionally vulnerable users, undisclosed inference about sensitivities, rhythms, and emotional states materially increases manipulation and privacy risk.
The skill explicitly guides emotionally sensitive conversations such as loss, fear, and feeling down, but it provides no boundary note that the interaction is non-professional support and no escalation guidance for users in crisis. In a companionship skill, this can lead users to over-rely on the agent for mental-health-adjacent support or receive responses that are insufficient in higher-risk situations.
No suspicious patterns detected.