All vulnerabilities
CRITICALSecrets

SECRET-STARBUCKS-JUMPCLOUD-2019

Secrets · Source code · Starbucks

Summary

On October 17, 2019 security researcher Vinoth Kumar reported via HackerOne that a Starbucks developer had committed a JumpCloud API key to a public GitHub repository. JumpCloud is a directory-as-a-service and identity-management platform, and the exposed key granted access to internal systems, allowing an attacker to list systems and users, run commands on internal hosts, take control of the associated AWS account, and add or remove user access. Because the key sat in a public repository, anyone scanning GitHub could retrieve it and reach Starbucks' internal directory and infrastructure. Starbucks rated the issue critical as significant information disclosure, removed the repository and revoked the key by October 21, 2019, and paid Kumar a $4,000 bounty, the maximum for critical findings.

How to avoid it in your code

  • Never commit API keys to source; load JumpCloud and similar tokens from a secrets manager or environment at runtime.
  • Add pre-commit secret scanning and enable GitHub push protection so identity-provider keys are blocked before commit.
  • Revoke and reissue any leaked API key immediately; removing the repo does not purge the key from git history.
  • Scope directory and identity API tokens to least privilege so one key cannot control AWS or internal hosts.
  • Run a bug-bounty program and continuous public-repo monitoring to catch exposed keys before attackers do.

References

Related vulnerabilities

All Secrets →