Malicious Code Injection in putri-nasipecel32-riris Package
Summary
MAL-2025-89733: Malicious code in putri-nasipecel32-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 putri-nasipecel32-riris package is part of the npm ecosystem, often associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability stems from the malicious payload embedded within the putri-nasipecel32-riris package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-nasipecel32-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, avoid using the putri-nasipecel32-riris package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like Vulert to monitor for vulnerabilities.
Conclusion
The putri-nasipecel32-riris package contains a significant vulnerability due to malicious code that alters package configurations and pollutes the npm registry. It is crucial to remove this package from your projects and utilize tools like Vulert to monitor for vulnerabilities in your dependencies.
See every vulnerability recorded for putri-nasipecel32-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json, removes private flags, and can lead to the pollution of the npm registry, potentially compromising your project's security.
You should uninstall the package immediately using 'npm uninstall putri-nasipecel32-riris' and monitor your project for any unusual behavior.
Regularly audit your dependencies using tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.