Malicious Code Injection in nina-dodol34-ruro: A Threat to npm Users
Summary
MAL-2025-106309: Malicious code in nina-dodol34-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 'nina-dodol34-ruro' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is suspected to be involved in a token reward campaign that aims to inflate developer reputation scores by flooding the npm registry with derivative packages. Such behavior can lead to significant issues in the integrity and security of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nina-dodol34-ruro' 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 allows the package to continuously republish variants, polluting the npm registry and potentially compromising the security of applications that depend on it. The malicious payload is designed to exploit the npm ecosystem for token rewards, posing a risk to developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nina-dodol34-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 'nina-dodol34-ruro' package and consider alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json for real-time alerts on open-source vulnerabilities.
Conclusion
The 'nina-dodol34-ruro' package poses a significant security risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can enhance your security posture by providing real-time alerts on open-source vulnerabilities.
See every vulnerability recorded for nina-dodol34-ruro →
FAQ
The main risk is that it modifies your package.json file and floods the npm registry with malicious variants, potentially compromising your project's integrity.
You can use Vulert to check your package-lock.json for vulnerabilities without needing to install any software. Visit Vulert Scanner for more information.
You should remove the package immediately and check for any other dependencies that may have been affected by this malicious behavior.
Yes, tools like Vulert can help monitor your npm packages for vulnerabilities in real-time, providing alerts based on your package-lock.json.
Regularly audit your dependencies, use tools for vulnerability scanning, and stay updated on security advisories related to the packages you use.