Context-Inappropriate Capability
Medium
- Confidence
- 90% confidence
- Finding
- The script reads and imports every key from ~/.openclaw/.env into process.env, even though it only needs NEWSAPI_KEY. Broadly loading local secrets is unnecessary for the stated functionality and expands the skill's access to unrelated credentials. In an agent/skill context, this is more dangerous because the runtime may expose process.env to other code paths, logs, subprocesses, or future modifications.
