Malicious Code Injection in nadia-kupang37-ruro Package
Summary
MAL-2025-106095: Malicious code in nadia-kupang37-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 nadia-kupang37-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation and publication of derivative packages. However, it has been compromised to include malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the nadia-kupang37-ruro package stems from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior can lead to the pollution of the npm registry, potentially affecting developers' reputations and the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nadia-kupang37-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 prevent the installation of the compromised package by using npm's package-lock.json to monitor dependencies. Remove any references to nadia-kupang37-ruro from your package.json and package-lock.json files, and run npm install to clean up your dependencies.
Conclusion
The nadia-kupang37-ruro package has been identified as containing malicious code that can compromise the integrity of the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for nadia-kupang37-ruro →
FAQ
The nadia-kupang37-ruro package is an npm package associated with a token reward campaign that has been compromised to include malicious code.
The malicious code modifies package metadata, potentially leading to the pollution of the npm registry and affecting your project's integrity.
You should remove the nadia-kupang37-ruro package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.