T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:5- Finding
Implicit Access to a User-Controlled Local Knowledge Directory
- Content
View full analysis
Key features: (1) conclusions first, (2) clear and decisive signals, (3) real-time intraday scanning, (4) automatically read ~/Desktop/股票知识库/. ``` The original directory path means a stock knowledge base on the user's desktop. ### Technical Analysis The Skill declares that it will automatically read an entire directory in the user's home directory. Access to local private files is not inherently necessary to obtain public market prices, fund-flow information, research reports, or news. The instruction does not establish: - Explicit user consent before each access. - File-level selection or an allowlist. - File-type and file-size restrictions. - A prohibition against including local content in web searches or generated reports. - Handling rules for credentials, personal data, or unrelated files found in the directory. This violates least-privilege principles at the agent level. The access remains constrained by the permissions of the process running the agent; no operating-system privilege escalation mechanism was identified. ### Attack Path 1. A user or another local application places sensitive, misleading, or attacker-controlled content in `~/Desktop/股票知识库/`. 2. The user submits a stock-analysis request, causing the Skill to activate. 3. The Skill automatically reads files from the directory without obtaining file-specific consent. 4. The local content enters the agent's working context. 5. That content may influence the investment analysis or be reproduced in the response. 6. If the agent incorporates the content into required web searches, portions could be disclosed to an external search provider. The reviewed instructions do not explicitly require exfiltration, so the final ...[truncated 735 chars]- Remediation
View remediation
