Security Experts:

Connect with us

Hi, what are you looking for?


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.

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.

Click to comment

Expert Insights

Related Content

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.


Zendesk is informing customers about a data breach that started with an SMS phishing campaign targeting the company’s employees.


The release of OpenAI’s ChatGPT in late 2022 has demonstrated the potential of AI for both good and bad.

Data Breaches

GoTo said an unidentified threat actor stole encrypted backups and an encryption key for a portion of that data during a 2022 breach.


The FBI dismantled the network of the prolific Hive ransomware gang and seized infrastructure in Los Angeles that was used for the operation.

Management & Strategy

Industry professionals comment on the recent disruption of the Hive ransomware operation and its hacking by law enforcement.


A new study by McAfee and the Center for Strategic and International Studies (CSIS) named a staggering figure as the true annual cost of...

Management & Strategy

SecurityWeek examines how a layoff-induced influx of experienced professionals into the job seeker market is affecting or might affect, the skills gap and recruitment...