Malicious Code Injection in putra-bika38-miaww Package
Summary
MAL-2025-89552: Malicious code in putra-bika38-miaww (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-bika38-miaww 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. The primary functionality of this package is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from malicious code embedded in the putra-bika38-miaww package. This code is designed to automatically generate and publish derivative packages with randomized names, effectively polluting the npm registry. It modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, which can lead to reputation inflation for developers involved in the tea protocol token rewards. The ramifications include potential security risks for users who inadvertently install these malicious packages, as well as the degradation of the npm registry's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-bika38-miaww
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 putra-bika38-miaww package and consider using alternative packages that provide similar functionality without the associated risks. You can also monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The putra-bika38-miaww package has been identified as containing malicious code that poses significant risks to users and the integrity of the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can provide additional security by alerting you to potential issues in real-time.
See every vulnerability recorded for putra-bika38-miaww →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code can modify your package.json file, remove private flags, and publish harmful variants, potentially compromising your project's security.
You should uninstall the package immediately using npm uninstall putra-bika38-miaww and check for any other affected packages.
Regularly update your dependencies, use trusted packages, and utilize tools like Vulert to monitor for vulnerabilities in your project.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by visiting the Vulert playground.