Malicious Code Injection in muda-poke1: A Threat to npm Users
Summary
MAL-2025-160742: Malicious code in muda-poke1 (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-poke1 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, allowing developers to publish their packages. However, it has been identified as malicious, containing scripts that manipulate package metadata and flood the registry with derivative packages.
Vulnerability Detail
The vulnerability in muda-poke1 originates from its inclusion in a campaign that aims to inflate developer reputation scores through malicious means. The package contains scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can compromise the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muda-poke1
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 prevent the installation of the muda-poke1 package by using the following command to uninstall it: npm uninstall muda-poke1. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The muda-poke1 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to maintain the integrity of their applications.
See every vulnerability recorded for muda-poke1 →
FAQ
The impact includes potential pollution of the npm registry and compromise of package integrity, which can affect other developers and applications relying on npm.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed muda-poke1, you should immediately uninstall it using the command: npm uninstall muda-poke1.
Yes, Vulert provides a service that monitors your package-lock.json for open-source vulnerabilities in real-time.
Ignoring this vulnerability could lead to your application being compromised, as malicious packages can introduce security risks and affect the functionality of your software.