Malicious Code Injection in muda-poke25: A Threat to npm Users
Summary
MAL-2025-160759: Malicious code in muda-poke25 (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-poke25 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which has been known to flood the npm ecosystem with harmful packages. The primary functionality of muda-poke25 is to serve as a tool within this campaign, but it has been compromised to include malicious scripts that can affect developers and their projects.
Vulnerability Detail
The vulnerability in muda-poke25 arises from the inclusion of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to inflate developer reputation scores by polluting the npm registry with derivative packages. The ramifications include potential security risks for developers who unknowingly use this package, as it can lead to unauthorized access and manipulation of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muda-poke25
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, consider removing the muda-poke25 package from your project if it is not essential. You can do this by executing the following command: npm uninstall muda-poke25. Additionally, monitor your package-lock.json file for any unauthorized changes.
Conclusion
The muda-poke25 package poses a significant risk due to its malicious code that alters project files and can lead to security breaches. It is crucial for developers to stay informed about such vulnerabilities and take immediate action to secure their projects by updating or removing affected packages.
See every vulnerability recorded for muda-poke25 →
FAQ
muda-poke25 is an npm package that has been linked to a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your project's integrity and security.
You should uninstall the package immediately and check for any unauthorized changes in your project files.
Yes, you can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.