Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The downloader explicitly accepts file:// URLs from untrusted slice JSON and reads them from the local filesystem via readFile(fileURLToPath(url)). If an attacker can influence the JSON input, they can cause the tool to copy arbitrary local files into the output directory, exposing secrets such as SSH keys, tokens, or config files. In the context of a design-handoff skill that processes external Lanhu-derived data, treating input URLs as trusted makes this more dangerous because users may run it on attacker-supplied or tampered JSON.
