HomeRisk ManagementsMalicious npm packages discovered inserting backdoors in genuine code

Malicious npm packages discovered inserting backdoors in genuine code

Published on

spot_img

The ethers-providerz package has been identified as a potential risk by security researchers due to its similarities with ethers-provider2, as well as its earlier versions that showcased the attackers’ experimentation with different tactics before settling on the current method. In a notable instance, the attackers attempted to patch files from a package known as “@ethersproject/providers” in a previous version.

Furthermore, a file named loader.js, which contains the code for the third-stage payload download, has been found in the node_modules folder where npm packages are typically located. What sets this apart is the discovery of a legitimate npm package named loader.js, with a significant number of downloads and applications depending on it. If this package is already present on the system, the malware will manipulate it. If not, it will impersonate the legitimate package to avoid detection.

According to researchers at ReversingLabs, while infostealers are more common on the npm platform, downloaders are also a prevalent threat. The particular downloader associated with the ethers-providerz package stands out due to the sophisticated strategies employed by the attackers to conceal the malicious payload it delivers. These evasion techniques are described as more comprehensive and effective than what has been seen in npm-based downloaders previously.

The potential dangers posed by the ethers-providerz package highlight the importance of vigilance and thorough security measures when dealing with npm packages. Developers and users alike must be cautious when installing and utilizing such packages to prevent falling victim to malicious actors seeking to exploit vulnerabilities in the system.

In light of this discovery, security experts recommend conducting regular security audits, staying informed about potential threats, and implementing best practices for secure coding and package management. By remaining vigilant and proactive in addressing security risks, individuals and organizations can reduce the likelihood of falling prey to malicious attacks through deceptive npm packages like ethers-providerz.

Source link

Latest articles

Ex-min and sitting MLA loses Rs 1.4 crore to cyber fraud, seven held

An MLA fell victim to a financial scam, with the accused convincing him to...

Identifying and Avoiding Deepfake Scams

Deepfakes, a type of synthetic media created using AI and machine learning, have become...

How to Avoid Romance Scams – Source: www.mcafee.com

The story of Maggie, a 25-year-old computer programmer, serves as a cautionary tale about...

Advanced Receives Fine for 2022 Ransomware Attack

In 2022, a ransomware attack on Advanced Computer Software Group Ltd exposed the sensitive...

More like this

Ex-min and sitting MLA loses Rs 1.4 crore to cyber fraud, seven held

An MLA fell victim to a financial scam, with the accused convincing him to...

Identifying and Avoiding Deepfake Scams

Deepfakes, a type of synthetic media created using AI and machine learning, have become...

How to Avoid Romance Scams – Source: www.mcafee.com

The story of Maggie, a 25-year-old computer programmer, serves as a cautionary tale about...