Malicious Code Injection in erwin-nasi79-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-102218: Malicious code in erwin-nasi79-ruro (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 package erwin-nasi79-ruro is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized by developers to manage dependencies in their projects. However, this package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages designed to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in erwin-nasi79-ruro stems from its association with a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names and continuously republishes variants, polluting the npm registry. This behavior can lead to significant security risks, including the potential for untrusted code execution and the compromise of developer environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall erwin-nasi79-ruro
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 avoid using the erwin-nasi79-ruro package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and trustworthiness of packages before including them in your project.
Conclusion
The erwin-nasi79-ruro package poses a significant security risk due to its malicious behavior of modifying package files and republishing variants. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any affected packages from their projects.
See every vulnerability recorded for erwin-nasi79-ruro →
FAQ
erwin-nasi79-ruro is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising your application's security and integrity.
If you have installed the erwin-nasi79-ruro package, you should uninstall it immediately using 'npm uninstall erwin-nasi79-ruro' and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can also check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, you should look for alternative packages that provide similar functionality but are known to be secure and trustworthy.