Missing User Warnings
Medium
- Confidence
- 98% confidence
- Finding
- The script logs `API_KEY` in plaintext at startup via `console.log(... { BACKEND_URL, bot: API_KEY, COLOR_INDEX })`, which can expose the credential to terminal history, CI logs, process supervisors, or centralized log collectors. Because this key is used as the bot identity / `X-Api-Key`, anyone with log access may be able to impersonate the bot and consume quota or perform unauthorized actions through the Cubistic API.
