Malicious Code Injection in putra-martabak33-riris Package
Summary
MAL-2025-89580: Malicious code in putra-martabak33-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-martabak33-riris package is part of the npm ecosystem, typically used for JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various 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 putra-martabak33-riris package stems from its inclusion in a malicious campaign that 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 that pollute the npm registry, potentially compromising the integrity of applications relying on this package. The malicious code can also lead to unauthorized access or manipulation of the developer's environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-martabak33-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 avoid using the putra-martabak33-riris package and look for alternative packages that provide similar functionality without the associated risks. Always validate the source and reputation of npm packages before integrating them into your projects.
Conclusion
The putra-martabak33-riris package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain application integrity.
See every vulnerability recorded for putra-martabak33-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for manipulating developer reputation scores.
The vulnerability can lead to unauthorized modifications in your application, potentially compromising its security and integrity.
You should uninstall the package immediately using npm uninstall putra-martabak33-riris and look for secure alternatives.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.