Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Application Security

GitHub Warns of Private Repositories Downloaded Using Stolen OAuth Tokens

GitHub has sounded the alarm on a cyberattack that resulted in the private repositories of dozens of organizations being downloaded by an unauthorized party abusing stolen OAuth user tokens.

The incident was identified on April 12, when the code hosting platform observed suspicious activity on its npm production infrastructure.

GitHub has sounded the alarm on a cyberattack that resulted in the private repositories of dozens of organizations being downloaded by an unauthorized party abusing stolen OAuth user tokens.

The incident was identified on April 12, when the code hosting platform observed suspicious activity on its npm production infrastructure.

The attackers, according to a GitHub advisory, gained access using a stolen AWS API key that appears to have been obtained when the attackers downloaded private npm repositories by abusing a compromised OAuth token from Heroku or Travis-CI, two third-party OAuth integrators.

GitHub and many of the platform users employ the applications maintained by the two integrators, and both Heroku and Travis-CI were notified of the compromise on April 13 and 14 and asked to revoke potentially compromised OAuth user tokens.

[ READ: Google Teams Up With GitHub for Supply Chain Security ]

“Looking across the entire GitHub platform, we have high confidence that compromised OAuth user tokens from Heroku and Travis-CI-maintained OAuth applications were stolen and abused to download private repositories belonging to dozens of victim organizations that were using these apps,” GitHub warned.

The hosting platform also believes that the attackers may be mining the compromised repositories of secrets that could help them pivot to other infrastructure.

As of April 15, when the attackers were likely still ongoing, the affected OAuth applications known to have been impacted included Heroku Dashboard (ID: 145909), Heroku Dashboard (ID: 628778), Heroku Dashboard – Preview (ID: 313468), Heroku Dashboard – Classic (ID: 363831), and Travis CI (ID: 9216).

Advertisement. Scroll to continue reading.

GitHub said it immediately revoked the tokens associated with GitHub and npm’s internal use of the impacted applications. The platform also notes that it has found no evidence that other GitHub-owned private repositories were cloned as part of this attack.

“We believe that the two impacts to npm are unauthorized access to, and downloading of, the private repositories in the npm organization on GitHub.com and potential access to the npm packages as they exist in AWS S3 storage. At this point, we assess that the attacker did not modify any packages or gain access to any user account data or credentials,” GitHub added.

Related: GitHub Confirms Another Major NPM Security Defect

Related: Code Generated by GitHub Copilot Can Introduce Vulnerabilities

Related: GitHub Patches Security Flaws in Core Node.js Dependencies

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

Professional services company Slalom has appointed Christopher Burger as its first CISO.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Application Security

Cycode, a startup that provides solutions for protecting software source code, emerged from stealth mode on Tuesday with $4.6 million in seed funding.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Data Protection

The cryptopocalypse is the point at which quantum computing becomes powerful enough to use Shor’s algorithm to crack PKI encryption.

Identity & Access

Zero trust is not a replacement for identity and access management (IAM), but is the extension of IAM principles from people to everyone and...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...