Malicious Code Injection in npm Package: lisa-pisang95-ruro
Summary
MAL-2025-105238: Malicious code in lisa-pisang95-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 package 'lisa-pisang95-ruro' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automatically generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. The presence of malicious code in this package poses significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'lisa-pisang95-ruro' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the security of dependent applications. The malicious scripts included in the package (such as auto.js and autopublish.js) are designed to automate this process, making it difficult for developers to track and manage their dependencies effectively.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lisa-pisang95-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 this malicious package by using npm's package-lock.json file to monitor dependencies. Ensure that your package-lock.json does not include 'lisa-pisang95-ruro'. You can also use tools like Vulert to monitor and alert for vulnerabilities in your open-source dependencies.
Conclusion
The 'lisa-pisang95-ruro' package contains malicious code that poses significant risks to users and the npm registry. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for lisa-pisang95-ruro →
FAQ
The main risk is the malicious code that modifies package.json, leading to the creation of numerous derivative packages that can compromise the integrity of the npm registry.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed this package, you should uninstall it immediately using 'npm uninstall lisa-pisang95-ruro' and check your project for any other affected dependencies.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities.
The tea.xyz token reward campaign aims to incentivize developers by rewarding them with tokens for publishing packages, but it has led to the proliferation of malicious packages in the npm ecosystem.