GitHub Breached With the use of Stolen Tokens

  • By Steven
  • Published: Apr 29, 2022
  • Last Updated: Mar 30, 2025

Digital criminals have breached dozens of repositories used on GitHub. The attack was performed with stolen tokens. The tokens in question are “OAuth” tokens. Let’s take a closer look at the details of the digital attack.

When did GitHub Find out About the Attack?

GitHub launched its analysis of the stolen tokens in the second week of April. At this time, GitHub’s security team initially determined there was an unauthorized access to its node package management (NPM) infrastructure. The unauthorized access occurred with the use of API keys obtained by the hackers after downloading private NPM repositories. NPM is best described as a tool used to publish or download node packages.

What has GitHub Revealed About the Attack?

To GitHub’s credit, the company has shared a detailed timeline of the digital security breaches that occurred throughout the previous month. The timeline specifies all the information pertaining to when the digital miscreants obtained access to its repositories. Those repositories belonged to more than a dozen different private parties.  

GitHub representatives have stated that stolen OAuth tokens allowed for sensitive data to be taken from the repositories. However, GitHub’s public relations team insists it does not believe the digital thieves obtained the tokens by overcoming GitHub’s digital security defenses. The company does not store the OAuth tokens in original formats that are considered functional. The attack details were highlighted by GitHub’s chief security officer, Mike Hanley.

What Does OAuth Mean?

The OAuth tokens are Open Authorization tokens. OAuth is a protocol or framework for standard authorization that allows for authorization that is based on tokens on the web. OAuth empowers third parties to use certain account information relating to end-users. It must be noted that OAuth does not allow for the sharing of user credentials. Rather, OAuth relies on authorization tokens for users to prove their identity and then functions as a middleman to authorize applications functioning in unison with other applications.  

It must be noted incidents involving found or stolen OAuth tokens obtained by malicious parties are more common than most assume. As an example, readers will find it interesting to learn that Microsoft endured an OAuth weakness in the winter of 2021. Its applications ranging from Office 365 to Microsoft Trust Service, were susceptible to authentication problems that allowed digital miscreants to obtain control over Azure accounts.

How Does OAuth Abuse Occur?

The abuse using OAuth tokens requires that the malevolent party initially register the harmful app in the framework of the OAuth provider. The redirection URL is used to direct toward the phishing site. At this point, the digital miscreant transmits the phishing message to the target, including the URL for authorization of the OAuth.

What Does GitHub’s Analysis of the Attack Reveal?

According to GitHub representatives, the company’s internal analysis of the digital security breach reveals the digital criminals authenticated to the company’s API with pilfered OAuth tokens. The tokens in question were issued to Travis CI and Heroku accounts. The company states most of the OAuth apps affected were within the GitHub accounts. The attacks are also characterized as highly selective. The digital miscreants copied private repositories for targeting. This approach reveals the attackers selectively targeted specific repositories.

What is GitHub’s Response to the Attack?

GitHub states it is in the process of transmitting notifications of the attack to the affected parties. All GitHub clients with the Heroku or Travis CI OAuth apps within their accounts with the company will be notified of the attack.

About the Author
IDStrong Logo

Related Articles

Instagram Vulnerability Allowed Hackers Access to Control Your Phone

Security experts Check Point Research discovered a critical vulnerability while examining Instagra ... Read More

Alien Malware Infects More than 226 Mobile Apps and Steals Bank Data

As reported on September 24, 2020, by ZDNet and ThreatPost, a new strain of malware named “A ... Read More

Universal Health Systems Hit by Ransomware Attack

Universal Health Systems (UHS), a Fortune 500 company owning more than 400 hospitals across the co ... Read More

Exchange Server Bug Exposes a Big Risk to Hackers

Months after Microsoft released a patch to fix a serious flaw in MS Exchange Server, more than 61% ... Read More

Clients’ Bank Data Exposed in Blackbaud Ransomware Attack

Blackbaud software was victim to a ransomware attack last May, and new information suggests that c ... Read More

Latest Articles

What You Need to Know about the AT&T Data Breach

What You Need to Know about the AT&T Data Breach

AT&T, one of the largest telecommunications providers in the United States and the fourth-largest telecommunications company in the world by revenue, experienced a significant data leak, which became public in June 2025.

What You Need to Know about the Mainstreet Bank Data Breach

What You Need to Know about the Mainstreet Bank Data Breach

MainStreet is a community-oriented bank in Fairfax, Virginia. Established in 2004, it is under the MainStreet Bancshares Incorporated, a small-cap financial holding organization.

What You Need to Know about the Cartier Data Breach

What You Need to Know about the Cartier Data Breach

Swiss-owned luxury jeweler, Cartier, has had its website hacked and customer data compromised in the incident. Cartier, a subsidiary of Richemont, produces some of the world's finest watches, bracelets, and necklaces, which have been worn by Michelle Obama, Taylor Swift, and Angelina Jolie.

What You Need to Know about the Coinbase Data Breach

What You Need to Know about the Coinbase Data Breach

Coinbase is a digital currency platform that allows consumers to transact using digital currencies, including Ethereum and Bitcoin.

Why

Why "Card Testing Fraud" Is Becoming a Major Threat to E-Commerce Businesses

Credit card and banking information is one of the major targets for data breaches and other cyber attacks. These details are sold on the black market and cost businesses and consumers billions in losses every year.

BNPL Fraud Risks: Why 'Buy Now, Pay Later' Is a Target for Cybercriminals

BNPL Fraud Risks: Why 'Buy Now, Pay Later' Is a Target for Cybercriminals

Buy Now, Pay Later services offer a more flexible method for online purchases. Consumers aren't required to make an immediate, full payment; they can instead split the sum into a schedule that works for them.

Featured Articles

How to Buy a House with Bad Credit

How to Buy a House with Bad Credit

Buying your own home is the American Dream, but it might seem out of reach to those with bad credit. However, the good news is, if your credit is less than perfect, you do still have options and in most cases, can still buy a home.

How Secure Is Your Password? Tips to Improve Your Password Security

How Secure Is Your Password? Tips to Improve Your Password Security

Any good IT article on computers and network security will address the importance of strong, secure passwords. However, the challenge of good passwords is that most people have a hard time remembering them, so they use simple or obvious ones that pose a security risk.

Top 10 Senior Scams and How to Prevent Them

Top 10 Senior Scams and How to Prevent Them

Senior scams are becoming a major epidemic for two reasons. First, seniors often have a lot of money in the bank from a life of working hard and saving.

Notice

By proceeding with this scan, you agree to let IDStrong run a Free Scan of supplied parameters of your personal information and provide free preliminary findings in compliance with our Terms of Use and Privacy Notice. You consent to us using your provided information to complete the Free Scan and compare it against our records and breach databases or sources to provide your Free preliminary findings report.

Rest assured: IDStrong will not share your information with third parties or store your information beyond what is required to perform your scan and share your results.

Free Identity Threat Scan
Instantly Check if Your Personal Information is Exposed
All fields below are required
Please enter first name
Please enter last name
Please enter a city
Please select a state
Please enter an age
Please enter an email address
Close