Malicious Code Injection in putra-serabi56-miaww Package
Summary
MAL-2025-89606: Malicious code in putra-serabi56-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-serabi56-miaww 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 publishing of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability originates from the package's malicious code, which 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, polluting the npm registry and potentially affecting other developers and users relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-serabi56-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, you can avoid using the putra-serabi56-miaww package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The putra-serabi56-miaww package contains malicious code that poses a significant risk to developers and users in the npm ecosystem. Immediate action is required to remove the package and prevent further issues. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for putra-serabi56-miaww →
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 modify your package.json, remove private flags, and lead to the pollution of the npm registry, potentially affecting your project's integrity.
You should remove the putra-serabi56-miaww package from your project immediately to prevent any potential issues.
Yes, tools like Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software without requiring access to the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.