Malicious Code Injection in rich_newt_0xrequest Package
Summary
MAL-2025-108056: Malicious code in rich_newt_0xrequest (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The rich_newt_0xrequest package is part of the npm ecosystem, primarily used for handling requests in JavaScript applications. It is often utilized in various projects for its ease of use and integration capabilities. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful packages designed to manipulate developer reputation scores.
Vulnerability Detail
The vulnerability in the rich_newt_0xrequest package originates from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of applications that depend on this package. The malicious code can lead to unauthorized access and manipulation of application data, posing significant security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rich_newt_0xrequest
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, you can remove the rich_newt_0xrequest package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall rich_newt_0xrequest.
Conclusion
The rich_newt_0xrequest package has been identified as containing malicious code that poses significant security risks to applications. It is crucial to update or remove this package to safeguard your project. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for rich_newt_0xrequest →
FAQ
It is an npm package used for handling requests in JavaScript applications, but it has been compromised with malicious code.
The malicious code modifies your package.json file and can lead to unauthorized access and data manipulation, compromising your application's security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.
Consider removing the package from your project as a temporary measure until a secure version is available.