Description-Behavior Mismatch
Medium
- Confidence
- 93% confidence
- Finding
- The script performs an extra diagnostic check for the presence of OPENAI_API_KEY, ANTHROPIC_API_KEY, or DEEPSEEK_API_KEY even though the stated purpose is OpenClaw installation health checks. While it only tests existence and does not print values, inspecting credential-related environment variables expands the script's access to sensitive state without a clear need, which creates unnecessary privacy and trust risk.
