T09 · Insecure Skill Coding Practices
- Location
SKILL.md:65- Finding
Hardcoded and Persisted Sensitive Data About a Minor
- Content
View full analysis
Vulnerability Details
File Locations:
SKILL.md:65-81SKILL.md:293references/benchmarks.md:5-16references/template-monthly.md:7references/template-quarterly.md:8
Vulnerability Type: Plaintext sensitive-data exposure and insecure data storage
Risk Level: MediumVulnerable Content
SKILL.md:65-81defines a fixed plaintext workspace location for longitudinal records:text /workspace/projects/workspace/memory/xiyue/ ├── README.md ├── profile.md ├── milestones.md ├── sports.md ├── subjects/ │ ├── math.md │ ├── chinese.md │ └── english.md ├── daily/ ├── records/ │ ├── YYYY-MM-DD-月度速记.md │ ├── YYYY-MM-季度评估.md │ └── YYYY-MM-DD-事件记录.md └── references/ ├── 喜悦成长跟踪模型V2.md ├── 模板-月度速记.md └── 模板-季度评估.mdSKILL.md:293embeds a specific child's birth month and age:text 喜悦出生日期:2019年10月(2026年4月时6岁半)references/benchmarks.md:5-16embeds a detailed developmental baseline:text ## 基线数据(2026年4月 · 6岁半) | 维度 | 指标 | 基线值 | 备注 | |:---|:---|:---|:---| | D1 运动 | 跳绳/分钟 | 151个 | 仅训练4次 | | D1 运动 | 街舞 | 7岁+提高班 | 学习5-6个月,连续升班 | | D2 学业 | 识字量 | ~1000字 | 同龄平均200-500字 | | D2 学业 | 数学 | 10以内加减法全掌握 | 含凑十法、相邻数 | | D2 学业 | 逻辑题 | 坐标/分类/推理/找不同全对 | | | D3 认知 | 游戏记忆 | 二周目反应速度超成年人 | | | D3 认知 | 信息处理 | 明显优于同龄 | | | D5 习惯 | 作息 | 规律 | | | D5 习惯 | 学习习惯 | 能自主解题、按要求完成 | |The templates also hardcode the child's name into generated record headings:
text # 📝 喜悦月度速记 · {{date:YYMMDD}}text # 📊 喜悦阶段性评估 · {{date:YYMMDD}}Technical Analysis
The distributed skill is represented as a reusable child-growth tracker, but it includes information associated with a specific minor: a name, birth month, age, physical performance, educational attainment, cognitive observations, habits, and activity history. These details are stored directly in package files rather than being supplied through a pri ...[truncated 2505 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the real child's name, birth month, age, and developmental measurements from the distributed package.
- Replace personal values with neutral placeholders such as
CHILD_NAME,DATE_OF_BIRTH, andBASELINE_VALUE, or use unmistakably fictional sample data. - Parameterize all template headings instead of embedding a child's name.
- Require explicit user confirmation before creating or updating persistent child records.
- Allow the user to choose a private storage location rather than imposing a predictable shared path.
- Apply least-privilege file permissions so only the intended user and authorized process can read the records.
- Encrypt sensitive records at rest when supported by the host environment, with keys stored separately from the records.
- Define retention and deletion controls, including an option to erase the complete profile and all generated records.
- Document which information is collected, why it is needed, where it is stored, and which tools or users may access it.
- Avoid collecting exact birth dates or other identifiers unless they are necessary; calculate age from user-supplied data without embedding that data in the reusable package.
- Add automated release checks that reject packages containing personal names, dates of birth, or populated child-development baselines.
