Malicious Code Injection in putra-martabak47-apidev Package
Summary
MAL-2025-89581: Malicious code in putra-martabak47-apidev (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-martabak47-apidev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the development of applications but has been compromised to include malicious scripts that manipulate package metadata. The vulnerability arises from its ability to automatically generate and publish derivative packages, which can lead to reputation inflation and registry pollution.
Vulnerability Detail
The vulnerability in the putra-martabak47-apidev package stems from its inclusion in a malicious campaign that employs autopublish scripts. These scripts modify the package.json file to remove private flags, alter version numbers, and create random package names, thereby flooding the npm registry with potentially harmful packages. This can lead to significant security risks, including the exposure of sensitive data and the compromise of developer environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-martabak47-apidev
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-martabak47-apidev package and replace it with a trusted alternative. Always verify the integrity of packages before including them in your project.
Conclusion
The putra-martabak47-apidev package has been identified as containing malicious code that can compromise the integrity of your application. It is crucial to take immediate action by removing this package and monitoring your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for putra-martabak47-apidev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed for application development but compromised to include malicious scripts.
The vulnerability can lead to the modification of your package metadata, potentially exposing your application to security risks and registry pollution.
You should uninstall the package immediately using the command 'npm uninstall putra-martabak47-apidev' and check for any other affected dependencies.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, consider using well-established and trusted packages that provide similar functionality without the associated risks.