Malicious Code Injection in muda-poke10: A Threat to npm Users
Summary
MAL-2025-160743: Malicious code in muda-poke10 (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-poke10 is an npm package that is part of a larger ecosystem of packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in muda-poke10 stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the packages within the ecosystem. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs these tactics to exploit npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muda-poke10
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-poke10 package from your project by executing 'npm uninstall muda-poke10'. This will prevent any malicious code from executing while you seek a secure alternative or wait for a patched version.
Conclusion
The muda-poke10 package poses a significant threat due to its malicious code that alters package metadata and republish behavior. It is crucial for developers to take immediate action by updating or uninstalling the package to protect their applications and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for muda-poke10 →
FAQ
The main issue is the presence of malicious code that modifies package.json and republish variants to pollute 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 any signup.
If you cannot update the package, consider uninstalling it temporarily to mitigate the risk of exploitation.
Yes, the vulnerability can lead to the pollution of the npm registry, affecting the integrity of other packages and potentially compromising applications that rely on them.
You can reach out to Amazon Inspector at actran@amazon.com for more details regarding this vulnerability.