Malicious Code Injection in putri-bakwan2-ruro Package
Summary
MAL-2025-107476: Malicious code in putri-bakwan2-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 putri-bakwan2-ruro package is part of the npm ecosystem, primarily used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the putri-bakwan2-ruro package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading 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 security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-bakwan2-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, avoid using the putri-bakwan2-ruro package and monitor your project for any dependencies that may inadvertently include it. Regularly check your package-lock.json file for any signs of this package and remove it if found.
Conclusion
The putri-bakwan2-ruro package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised versions. It is essential to remove this package and monitor your dependencies to maintain the integrity of your applications.
See every vulnerability recorded for putri-bakwan2-ruro →
FAQ
The putri-bakwan2-ruro package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
This vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the putri-bakwan2-ruro package immediately and check your project for any dependencies that may rely on it.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.