All vulnerabilities
HIGHOpSec

OPSEC-GITHUB-OAUTH-2022

Source control · GitHub / npm

Summary

In April 2022, an attacker abused OAuth user tokens issued to two third-party integrators, Heroku and Travis CI, to authenticate to the GitHub API and download private repositories from dozens of organizations, including npm and GitHub itself. An AWS API key obtained from data downloaded with a stolen OAuth token was then used to access npm production infrastructure. GitHub stated the tokens were not compromised on its own systems, pointing the root cause to the third-party integrators, which revoked all affected OAuth tokens. Affected organizations and private-repo owners were notified.

References

Related vulnerabilities

All OpSec →