T09 · Insecure Skill Coding Practices
- Location
tree.json:817- Finding
Plaintext Distribution of Personal and Environment Information
- Content
View full analysis
Vulnerability Details
File Location:
tree.json:817-839,tree.json:992-1014,tree.json:1223-1246
Vulnerability Type: Plaintext sensitive information exposure
Risk Level: MediumThe distributed memory database contains personal, social-media, employment, location, and device-profile information in plaintext.
json "n0033": { "id": "n0033", "content": "抖音阿拉口木(966403340)2700粉,2月停更", "keywords": [ "抖音", "阿拉", "口木", "966403340", "2700" ], "branches": [ "内容创作", "生活" ], "tier": 2, "state": "unlocked", "importance": "high", "types": [ "semantic" ], "access_count": 3 }json "n0040": { "id": "n0040", "content": "大先生:47岁扬州销售管理,高毛品/订单/促销", "keywords": [ "先生", "47", "扬州", "销售", "管理", "高毛品", "订单", "促销" ], "branches": [ "生活", "工作" ], "tier": 2, "state": "unlocked", "importance": "high" }json "n0050": { "id": "n0050", "content": "本机为Intel i9+16GB+核显1.5GB,不适合本地SD/ComfyUI,继续用即梦AI云端方案", "keywords": [ "本机为Intel", "GB", "核显", "GB", "不适合本地SD", "ComfyUI", "继续用即梦AI云端方案" ], "branches": [ "技术", "内容创作" ], "tier": 2, "state": "unlocked", "importance": "high" }Technical Analysis
tree.jsonis included directly in the project and is readable without authentication or decryption. It identifies a social-media account, follower information, an age and location profile, employment details, and characteristics of the user's computer.Additional records disclose operational facts such as use of an OpenAI-compatible API and browser automation. No actual API secret or saved browser target identifier was found, so the confirmed issue is information disclosure rather than credential compromise.
The application also writes memory re ...[truncated 1098 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove all real user memories from the distributed
tree.json. - Replace the database with an empty schema or clearly synthetic demonstration records.
- Store runtime memory outside the installation directory, such as in a per-user application-data directory.
- Exclude runtime databases from source control and package publication through appropriate ignore and package-exclusion rules.
- Create files with owner-only permissions, such as mode
0600on supported platforms. - Document that credentials, session identifiers, private account data, and other secrets must not be stored as memory content.
- Add automated secret and personal-data scanning to the release process.
- If sensitive memories are an intended use case, provide encryption at rest and an explicit data-retention and deletion policy.
- Remove all real user memories from the distributed
