1 min read

Fake npm Packages Found in GitHub Repository

Silviu STAHIE

October 05, 2020

Ad One product to protect all your devices, without slowing them down.
Free 90-day trial
Fake npm Packages Found in GitHub Repository

Security researchers discovered four vulnerable npm packages uploaded to GitHub that were capable of collecting the user”s IP address, geolocation and device hardware data.

Not all attacks have a high-visibility profile. Some threat actors use much more subtle channels to spread malware. In this case, it”s about four npm packages typically used by developers to manage packages that are dependencies for various projects.

The four packages discovered by Sonatype had similar names to the original ones, with the attacker using a technique named typosquatting. Basically, if the user didn”t pay enough attention and typed the wrong letter, he would download the fake package.

“The two packages representing next-generation software supply chain attacks rely on typosquatting – an attack that impersonates legitimate packages and makes them available for unsuspecting developers to download,” says Sonatype. “For example, the developer requests the “electron” package but unintentionally spells it “electorn”.”

This is also called a supply chain attack because threat actors trick users into downloading the wrong app or package from a legitimate source. In this case, `electorn`, `loadyaml`, `lodashs`, and `loadyml` are the packages in question. They gathered only about 400 downloads, but that”s only because someone happened to look in that direction.

Supply chain attacks are a big problem and, as projects become more complex, with multiple dependencies, security systems have to keep up. A piece of malware capable of sharing the geolocation of users is dangerous enough but, depending on the project, it can do much more damage.

Since Github was quick to remove the packages, the campaign was short-lived and its end goal remains a mystery. It”s possible that the attacker was collecting data to determine the course of action. But it”s also possible that such specific libraries could have impacted critical projects using them.

tags


Author



Right now

Top posts

August Spam Debrief: Bitdefender Labs Warns of Fraud Campaigns Exploiting the Russia-Ukraine War

August Spam Debrief: Bitdefender Labs Warns of Fraud Campaigns Exploiting the Russia-Ukraine War

August 31, 2022

4 min read
Snake Keylogger Returns in Malspam Campaign Disguised as Business Portfolio from IT Vendor

Snake Keylogger Returns in Malspam Campaign Disguised as Business Portfolio from IT Vendor

August 30, 2022

2 min read
What is medical identity theft and how to protect against it

What is medical identity theft and how to protect against it

July 27, 2022

2 min read
Curious about Omegle? Here’s how the roulette-style chat platform can threaten your online privacy and security

Curious about Omegle? Here’s how the roulette-style chat platform can threaten your online privacy and security

July 07, 2022

5 min read
Identifying and Dealing with Online Bullying Is Not Impossible - School Presentation Inside

Identifying and Dealing with Online Bullying Is Not Impossible - School Presentation Inside

June 28, 2022

2 min read
Let’s Celebrate World Social Media Day by Improving Your Privacy and Security Online

Let’s Celebrate World Social Media Day by Improving Your Privacy and Security Online

June 28, 2022

3 min read

FOLLOW US ON

SOCIAL MEDIA


You might also like

Prison for ex-eBay staff who aggressively cyberstalked company's critics with Craigslist sex party ads and funeral wreaths Prison for ex-eBay staff who aggressively cyberstalked company's critics with Craigslist sex party ads and funeral wreaths
Graham CLULEY

September 30, 2022

2 min read
Honolulu Man Sabotaged Former Employer’s Network and Business Using Still-Active Credentials Honolulu Man Sabotaged Former Employer’s Network and Business Using Still-Active Credentials
Silviu STAHIE

September 30, 2022

1 min read
North Korean Gang Uses Compromised Open Source Software to Distribute Malware, Researchers Find North Korean Gang Uses Compromised Open Source Software to Distribute Malware, Researchers Find
Silviu STAHIE

September 30, 2022

1 min read