Malicious Code Injection in muda-poke50: A Threat to npm Ecosystem
Summary
MAL-2025-160787: Malicious code in muda-poke50 (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 package muda-poke50 is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in muda-poke50 originates 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, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the security of applications relying on this package, potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muda-poke50
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 remove the muda-poke50 package from your project by executing: 'npm uninstall muda-poke50'. This will prevent any potential exploitation until a patched version is available.
Conclusion
The muda-poke50 package poses a significant security risk due to its malicious code that alters package metadata. It is crucial for developers to stay informed about such vulnerabilities and take proactive measures to secure their applications. Regular updates and monitoring tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for muda-poke50 →
FAQ
The vulnerability involves malicious scripts that alter package metadata and republish variants, compromising the integrity of the npm registry.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Using this package can lead to security breaches, as it modifies critical package metadata and can introduce further vulnerabilities into your application.
Regularly update your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.
If an immediate update is not possible, consider uninstalling the package as a temporary workaround to mitigate risks.