Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Application Security

GitHub Says Recent Attack Was Highly Targeted

Microsoft-owned code hosting platform GitHub says the recent cyberattack that resulted in the cloning of private repositories was highly targeted in nature.

Microsoft-owned code hosting platform GitHub says the recent cyberattack that resulted in the cloning of private repositories was highly targeted in nature.

Disclosed in mid-April, the incident involved stolen OAuth tokens issued to third-party integrators Heroku and Travis CI, which were used to download the private repositories of dozens of organizations.

The two continuous integration (CI) systems help organizations automate the scanning of newly introduced code changes, to help identify vulnerabilities and malicious snippets before they enter production.

These systems use authentication tokens to facilitate the automaton process, and the recent cyberattack happened after such tokens were compromised.

The tokens are not stored by GitHub in their original format, meaning that a threat actor obtaining them would not be able to abuse them in attacks, the platform says.

Using the stolen tokens, the attackers authenticated to the GitHub API and then listed all of the organizations for all accounts they could access. Next, the attackers selected targets of interest and proceeded to list and download their private repositories.

Advertisement. Scroll to continue reading.

After analyzing the attackers’ behavior, GitHub concluded that they were listing organizations solely with the purpose of identifying accounts and private repositories to clone.

“GitHub believes these attacks were highly targeted based on the available information and our analysis of the attacker behavior using the compromised OAuth tokens issued to Travis CI and Heroku,” the code hosting platform notes.

GitHub also says it is now in the process of sending the final set of notifications to the users/organizations impacted in the attack, but encourages users to monitor Heroku and Travis CI for future updates on the matter.

Related: Thousands of Secret Keys Found in Leaked Samsung Source Code

Related: GitHub Confirms Another Major NPM Security Defect

Related: GitHub Encourages Users to Adopt Two-Factor Authentication

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

You must be logged in to post a comment Login

Leave a Reply

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.

NOW LIVE: CISO Forum 2026 Summit

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Kirsten Davies has been appointed National Cyber Director.

Zifino has appointed Toney E. Jennings as CRO.

Zeke Maldonado has been named Principal Deputy CIO at the US Department of Commerce.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.