GitHub was attacked, hackers deleted hundreds of source libraries and asked for bitcoin

A large number of developers' Git source code libraries have been removed and asked to pay a ransom.

The attack was first discovered on May 3 and appears to be conducted across Git hosting services (GitHub, Bitbucket, GitLab).


What is known so far is that the hacker removed all source code and recent updates from the victim Git repository and left a blackmail message asking the developer to pay 0.1 bitcoin (about $580).

The hacker claimed that all source code was downloaded and stored on their server and gave the victim ten days to pay the ransom; otherwise they would disclose the code.

The hacker's message is as follows:

Want to find your lost code and prevent it from being compromised; send our Bitcoin address (ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA) to 0.1 bitcoin, then tell us your Git login and proof of payment via [email protected]. If you don't believe we have your data, you can contact us and we will provide evidence. Your code has been downloaded and backed up on our server. If we do not receive the money within the next 10 days, we will use your code publicly or directly.

Upon inquiry, this bitcoin address is currently only recorded on May 3rd with a credit of approximately 0.00052525 BTC.


Password security is key

According to GitHub data, the code base affected by this attack has reached nearly 400. is used to track bitcoin addresses that involve suspicious activity. The site has reported 34 suspicious activity on this bitcoin address. All suspicious activity tracked by it contains the same ransomware information, indicating that this bitcoin address was used for coordinated attacks against Git accounts.

Some hacked users admit that their GitHub, GitLab, and Bitbucket accounts are not secure enough, and they forgot to remove access to old programs that they haven’t used for months—both of which are online accounts A common way of attacking.

However, all the evidence suggests that hackers have looked at the entire Internet to find Git profiles, extracted credentials, and then used these logins to access and extort Git hosting services accounts.

GitLab security director Kathy Wang acknowledged in the email that this is the root cause of the account being compromised.

We identified the source based on the supporting documents submitted by Stefan Gabos and immediately began investigating the issue. We have identified the affected accounts and have notified them. Based on our findings, we have sufficient evidence that the attacked account stores passwords in clear text when deploying the relevant code base. We strongly recommend using password management tools to ensure that passwords are stored in a more secure manner and that two-factor authentication is enabled where possible, both of which prevent this problem.

Bitbucket's parent company, Atlassian, did not respond to requests for comment, but they have begun to notify customers that hackers have illegally entered their accounts and have begun sending security warnings to those accounts that failed to log in.

Paying ransom is not the only solution

The good news is that after delving into the victim's case, members of the StackExchange Security Forum found that the hacker did not actually delete it, but only modified the Git code header file, which means that it can be recovered in some cases.

The steps on how to restore the Git codebase can be found on this page.

On Twitter, some of the key players in the developer community are currently urging victims to contact GitHub, GitLab, or Bitbucket's support team before paying a ransom, as there are other ways to recover deleted codebases.

We will continue to update Blocking; if you have any questions or suggestions, please contact us!


Was this article helpful?

93 out of 132 found this helpful

Discover more


The Drama Behind Bitcoin ETF Approval: What You Need to Know

Although the spot Bitcoin ETF decision may potentially result in a sell the news situation, alternative cryptocurrenc...


Bitcoin Hits $45,500 as Bulls Continue to Dominate

Bitcoin's strong price performance persists as it faces a crucial challenge to reach $45,000.


Cardano's on-chain data indicates a potential surge in value. Could $10 be within reach?

Exciting bullish indicators emerging within the Cardano network indicate potential for a future surge in the value of...


Cardano (ADA) Poised for a Bullish Surge: Analysts Optimistic

Numerous analysts are highly optimistic about Cardano (ADA) and predict a potential bullish market surge in the near ...


UAE adopts Cardano Blockchain to boost security in criminal investigations.

The UAE has taken the significant step of implementing Cardano's blockchain technology to enhance security in crimina...


Crypto Analyst's Prediction Bitcoin to $100,000, Cardano Declared Dead

In a recent statement, Tom Dunleavy, esteemed Partner and CIO at MV Capital, provided insightful reasoning behind his...