T09 · Insecure Skill Coding Practices
- Location
SKILL.md:43- Finding
Automatic Indefinite Storage of Sensitive Dietary and Health-Related Information
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This diet logger is not malicious, but it should go to Review because it automatically stores sensitive diet and health-related details over time without clear user control.
Install only if you are comfortable with a local diet history and preferences file being built over time. Before use, add clear consent and controls for reviewing, correcting, exporting, and deleting stored preferences, and store the files in a protected per-user data location rather than the skill package directory.
SKILL.md:43Automatic Indefinite Storage of Sensitive Dietary and Health-Related Information
The activation description includes generic phrases such as "帮我记一下", "拍了张照片", and "what did I eat today", which can occur in ordinary conversation outside the diet-logging context. The file does not provide exclusion conditions or negative examples to narrow when the skill should activate, increasing the risk of unintended invocation.
The skill persistently stores sensitive health-adjacent data such as allergies, dietary restrictions, goals, and notes, but does not require a user-facing disclosure or consent flow for retention. Because these records accumulate over time, users may unknowingly expose personal health and lifestyle information beyond the immediate interaction.
The skill directs the agent to continuously infer and save sensitive dietary and health-related details from ordinary conversation over time. This creates a profiling risk: the system may collect special-category personal data without explicit, contextual consent, increasing privacy harm if the data is later exposed or misused.
The skill explicitly instructs the agent to execute a shell/Python one-liner to generate a daily summary. Even though the code is simple, embedding command execution in a diet-recording skill expands the capability surface from data handling to code execution, which is unnecessary and can become dangerous if later adapted with user-influenced inputs or reused in less controlled contexts.
This JSON schema uses English for top-level descriptions and enumerations, but switches to Chinese for multiple item-property descriptions. Because the file provides no user opt-in, language-selection mechanism, or justification for a Chinese-only subsection, it creates a natural-language locale inconsistency that may violate language-choice policy.
No suspicious patterns detected.