{"id":12697,"date":"2022-08-03T13:52:18","date_gmt":"2022-08-03T13:52:18","guid":{"rendered":"https:\/\/nftandcrypto-news.com\/crypto\/github-faces-widespread-malware-attacks-affecting-projects-including-crypto\/"},"modified":"2022-08-03T13:52:20","modified_gmt":"2022-08-03T13:52:20","slug":"github-faces-widespread-malware-attacks-affecting-projects-including-crypto","status":"publish","type":"post","link":"https:\/\/nftandcrypto-news.com\/crypto\/github-faces-widespread-malware-attacks-affecting-projects-including-crypto\/","title":{"rendered":"GitHub faces widespread malware attacks affecting projects, including crypto"},"content":{"rendered":"
\n

Major developer platform GitHub faced a widespread malware attack and reported 35,000 \u201ccode hits\u201d on a day that saw thousands of Solana-based wallets drained for millions of dollars.<\/p>\n

The widespread attack was highlighted by GitHub developer Stephen Lucy who first reported the incident earlier on Aug. 3. The developer came across the issue while reviewing a project he found on a Google search.<\/p>\n

\n

I am uncovering what seems to be a massive widespread malware attack on @github<\/a>.<\/p>\n

– Currently over 35k repositories are infected
– So far found in projects including: crypto, golang, python, js, bash, docker, k8s
– It is added to npm scripts, docker images and install docs
pic.twitter.com\/rq3CBDw3r9<\/a><\/p>\n

\u2014 Stephen Lacy (@stephenlacy) August 3, 2022<\/a><\/p><\/blockquote>\n

So far, various projects from crypto, Golang, Python, js, Bash, Docker and Kubernetes were found to be affected by the attack. The malware attack is targeted at the docker images, install docs and npm script, which is a convenient way to bundle common shell commands for a project. <\/p>\n

To dupe developers and access critical data, the attacker first creates a fake repository (a repository contains all of the project’s files and each file’s revision history) and pushes clones of legit projects to GitHub. For example, the following two snapshots show this legit crypto miner project and its clone.<\/p>\n

Original Crypto Mining Project Source: Github<\/em><\/strong><\/figcaption><\/figure>\n
\"\"
Cloned Crypto Mining Project Source: Github<\/em><\/strong><\/figcaption><\/figure>\n

Many of these clone repositories were pushed as \u201cpull requests.\u201d Pull requests let developers tell others about changes they have pushed to a branch in a repository on GitHub. <\/p>\n

Related: <\/em><\/strong>Nomad reportedly ignored security vulnerability that led to $190M exploit<\/em><\/strong><\/p>\n

Once the developer falls prey to the malware attack, the entire environment variable (ENV) of the script, application, or laptop (electron apps), is sent to the attacker’s server. ENV includes security keys, AWS access keys, crypto keys and much more. <\/p>\n

The developer has reported the issue to GitHub and advised developers to GPG sign their revisions made to the repository. GPG keys add an extra layer of security to your GitHub accounts and software projects by providing a way of verifying all revisions come from a trusted source<\/p>\n<\/div>\n