Context-Inappropriate Capability
Medium
- Confidence
- 97% confidence
- Finding
- The code embeds a fallback router credential directly in source via `os.getenv(..., "BETA_TEST_KEY_MARCH_2026")`, which means the script can authenticate to an external service even when no runtime secret is provisioned. Hardcoded credentials are dangerous because they are easily leaked through source distribution, logs, or reuse across environments, and they weaken secret-management controls for a narrowly scoped autogenerated maps tool.
