T09 · Insecure Skill Coding Practices
- Location
SKILL.md:44- Finding
Persistent Overcollection of Personally Identifiable Information
- Content
View full analysis
"For this person: > - What is their real name? > - What is their gender? > - What nicknames do they have? > - What is their name on Douyin? > - What is their name on WeChat? > - Is there any other information, such as occupation or relationship?" ### Step 2: Store the information in memory Use `memory_store` to save: Person profile: XXX, gender X, nicknames XXX and XXX, Douyin name XXX, WeChat name XXX, notes: XXX ## Memory Format Person profile: real name, gender X, nicknames nickname1 and nickname2, platform name XXX, notes: XXX Required fields: real name and gender Optional fields: nicknames, platform nicknames, and notes ``` ### Technical Analysis The Skill directs the agent to collect and persistently store personally identifiable information about third parties. The collected fields include real names, gender, social-platform identities, occupation, personal relationships, and unrestricted notes. This exceeds the minimum information required for the stated purpose of resolving a recipient's platform nickname. In particular, gender is mandatory even though it is not required to identify a messaging destination. Free-form notes can also contain additional sensitive or confidential information. The instructions provide no controls for: - Explicit consent before persistent storage. - Notice that the information will remain in long-term agent memory. - Data minimization or purpose limitation. - Retention periods or automatic expiration. - Reviewing, correcting, or deleting stored profiles. - Restricting later retrieval to the user or task that created the record. - Preventing sensitive information from being entered in free ...[truncated 2205 chars]- Remediation
View remediation
