Malicious Code Injection in muda-poke42: npm Package Vulnerability
Summary
MAL-2025-160778: Malicious code in muda-poke42 (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
muda-poke42 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate interactions within the tea protocol ecosystem. However, it has been identified as a malicious package that can compromise the integrity of the npm registry by generating and publishing numerous derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in muda-poke42 stems from its malicious payload that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only affects the reputation of developers but also poses a risk to users who may inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muda-poke42
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 muda-poke42 package in your project. If it is already in use, consider removing it from your package.json and running npm install to clean up your dependencies.
Conclusion
The muda-poke42 npm package has been identified as a malicious entity that poses significant risks to developers and users alike. It is crucial to remove this package and stay vigilant about the security of your dependencies. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for muda-poke42 →
FAQ
The vulnerability involves malicious code that alters package metadata and floods the npm registry with fake packages.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.
You should remove the muda-poke42 package from your project and monitor for any updates or patches.
Yes, using compromised packages can lead to security breaches, data loss, and damage to your project's reputation.
Vulert uses your package-lock.json file to monitor and alert you in real-time for open-source vulnerabilities in your software.