Malicious Code Injection in muda-poke37: npm Package Vulnerability
Summary
MAL-2025-160772: Malicious code in muda-poke37 (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 muda-poke37 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 muda-poke37 is to facilitate the distribution of JavaScript code, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in muda-poke37 stems from its malicious code that modifies the package.json file to remove private flags and alters 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 integrity of the npm ecosystem but can also lead to reputation damage for developers and potential security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muda-poke37
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-poke37 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and address vulnerabilities.
Conclusion
The muda-poke37 package has been identified as a source of malicious code that compromises the integrity of the npm ecosystem. It is essential for developers to take immediate action by removing this package and monitoring their projects for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for muda-poke37 →
FAQ
muda-poke37 is an npm package that has been compromised to include malicious code aimed at manipulating package metadata and flooding the npm registry.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time. You can also check your application using the Vulert playground at Vulert Scanner without needing to sign up.
If you have installed muda-poke37, you should uninstall it immediately using 'npm uninstall muda-poke37' and check for any other affected packages in your project.
Yes, consider looking for other npm packages that offer similar functionality without the malicious behavior. Always review package details and user feedback before installation.
To prevent future vulnerabilities, regularly audit your dependencies using tools like npm audit, keep your packages updated, and monitor your project with services like Vulert.