Malicious Code Injection in nadia-lumpur57-riris: A Threat to npm Packages
Summary
MAL-2025-88606: Malicious code in nadia-lumpur57-riris (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 nadia-lumpur57-riris is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for rewards related to the tea protocol, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in nadia-lumpur57-riris stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random Indonesian-themed package names. This leads to the continuous republishing of variants, which pollutes the npm registry and compromises the integrity of the ecosystem. The origin of this issue is linked to the broader malicious activity targeting npm packages, specifically those involved in token reward schemes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nadia-lumpur57-riris
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, you can avoid using the nadia-lumpur57-riris package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package-lock.json file for any suspicious packages and remove them promptly.
Conclusion
The nadia-lumpur57-riris package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. Developers should take immediate action to remove this package and monitor their projects for similar vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your software.
See every vulnerability recorded for nadia-lumpur57-riris →
FAQ
nadia-lumpur57-riris is an npm package that is part of a malicious campaign aimed at manipulating the npm registry for token rewards.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and affecting its functionality.
You should uninstall the nadia-lumpur57-riris package immediately using the command npm uninstall nadia-lumpur57-riris.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, there may be other packages associated with the tea.xyz token reward campaign. It's advisable to audit your dependencies regularly.