Malicious Code Injection in nana-jamblang13-riris Package - npm Vulnerability
Summary
MAL-2025-88676: Malicious code in nana-jamblang13-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 nana-jamblang13-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. The malicious code within this package is designed to manipulate package metadata and republish variants, thereby compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the nana-jamblang13-riris package, which is associated with the tea.xyz token reward campaign. This package contains scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. The continuous republishing of these variants can lead to pollution of the npm registry, potentially affecting developers' reputations and the reliability of package management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nana-jamblang13-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 workaround, you can avoid using the nana-jamblang13-riris package and monitor your dependencies for any malicious activity. Additionally, consider using tools like Vulert to check your package-lock.json for vulnerabilities.
Conclusion
The nana-jamblang13-riris package poses a significant risk due to its malicious code designed to manipulate package metadata and republish variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for nana-jamblang13-riris →
FAQ
It 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, affecting the integrity of your project's dependencies and potentially damaging your reputation as a developer.
You should uninstall the package immediately and monitor your project for any further vulnerabilities.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities in your software using just your package-lock.json file.
Regularly audit your dependencies, use tools like Vulert, and stay updated on security advisories related to the packages you use.