Credentials are embedded in source or config, so anyone with the code can authenticate.
Upgrade, remove the secret, rotate it, and load it from a secret manager.
Keep secrets out of code; inject them at runtime and scan for leaks in CI.
Stateward flags Use of Hard-coded Credentials in your own code and dependencies on every pull request.
Scan my repoSources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.