Context-Inappropriate Capability
Medium
- Confidence
- 89% confidence
- Finding
- The script reads a Z.ai API key from a local OpenClaw auth profile file in the user's home directory, which expands the skill's access beyond its stated purpose of querying usage. Even though the key is used for the expected API domain, implicit credential harvesting from unrelated local application state violates least privilege and can surprise users, especially in agent environments where file access itself is sensitive.
