Malicious Code Injection in putra-kolak39-riris Package
Summary
MAL-2025-89574: Malicious code in putra-kolak39-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 putra-kolak39-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality, while seemingly benign, has been exploited to introduce malicious behavior.
Vulnerability Detail
The vulnerability in the putra-kolak39-riris package stems from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages and applications that depend on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-kolak39-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 workaround, you can prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. Additionally, consider using Vulert to check for vulnerabilities in your application. You can access the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability without needing to sign up.
Conclusion
The putra-kolak39-riris package contains malicious code that compromises the integrity of the npm registry and can affect applications relying on it. Immediate removal of the package is advised, and developers should utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for putra-kolak39-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 can alter your package.json file, remove private flags, and lead to the pollution of the npm registry, potentially affecting other packages.
You should remove the putra-kolak39-riris package from your project to mitigate the risk associated with this vulnerability.
Currently, there is no patched version available for the putra-kolak39-riris package. Removal is the recommended action.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. Visit https://vulert.com for more information.