Malicious Code Injection in putra-kolak10-riris Package
Summary
MAL-2025-89573: Malicious code in putra-kolak10-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-kolak10-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the putra-kolak10-riris package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants in the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's package management system to manipulate developer reputation and pollute the registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-kolak10-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 measure, you can prevent the installation of this malicious package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include putra-kolak10-riris in its dependencies.
Conclusion
The putra-kolak10-riris package contains malicious code that poses a significant risk to projects using it. It is crucial to uninstall this package and monitor your dependencies for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for putra-kolak10-riris →
FAQ
It is a package in the npm ecosystem associated with the tea.xyz token reward campaign, known for containing malicious code.
The malicious code modifies package metadata, potentially leading to security vulnerabilities and reputation inflation in the npm registry.
You should uninstall the package immediately using the command: npm uninstall putra-kolak10-riris.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.