Malicious Code Injection in muda-poke27: A Threat to npm Ecosystem
Summary
MAL-2025-160761: Malicious code in muda-poke27 (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-poke27 is an npm package that is part of a broader token reward campaign associated with the tea.xyz protocol. This package is designed to facilitate the distribution of rewards through various scripts that automate the publishing of derivative packages. However, it has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in muda-poke27 stems from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, which can lead to the pollution of the npm registry. The origin of this issue is linked to a campaign aimed at inflating developer reputation scores for token rewards, making it a serious threat to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muda-poke27
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 muda-poke27 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and source of any npm packages before installation.
Conclusion
The muda-poke27 package has been identified as a vector for malicious code injection, posing a significant risk to users and the npm ecosystem. Immediate action is required to mitigate this threat by uninstalling the package and seeking secure alternatives. Utilizing tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for muda-poke27 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and publishes unauthorized variants to the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed muda-poke27, you should uninstall it immediately using the command: npm uninstall muda-poke27.
Yes, you should look for alternative npm packages that provide similar functionality but are verified and secure.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.