Malicious Code Injection in nana-kue7-ruro Package
Summary
MAL-2025-106155: Malicious code in nana-kue7-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 nana-kue7-ruro package is part of the npm ecosystem, which is widely used for JavaScript development. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. It is designed to automatically generate and publish derivative packages with randomized names, which can lead to reputation inflation for malicious actors. The vulnerability stems from its ability to modify critical files like package.json, making it a significant risk for developers using this package.
Vulnerability Detail
The vulnerability in the nana-kue7-ruro package originates from its association with the tea.xyz token reward campaign. It contains scripts that automatically publish variants of itself with altered package names and modified metadata. This behavior can lead to the pollution of the npm registry, making it difficult for developers to trust the integrity of packages. The malicious payload specifically removes private flags from package.json and changes version numbers, which can result in unintended exposure of sensitive information and compromise the security of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nana-kue7-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 measure, avoid using the nana-kue7-ruro package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your package-lock.json file to identify any potentially vulnerable packages.
Conclusion
The nana-kue7-ruro package poses a significant risk due to its malicious behavior, which can compromise the integrity of applications relying on it. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your projects.
See every vulnerability recorded for nana-kue7-ruro →
FAQ
The nana-kue7-ruro package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the pollution of the npm registry, making it difficult to trust the integrity of packages, and may expose sensitive information.
You should uninstall the nana-kue7-ruro package immediately and audit your dependencies for any other potentially malicious packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.