Malicious Code Injection in madan-poke49: A Threat to npm Users
Summary
MAL-2025-158988: Malicious code in madan-poke49 (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 madan-poke49 is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with random names, ultimately aimed at inflating developer reputation scores for token rewards. The functionality of madan-poke49 is compromised due to its malicious intent, posing a significant risk to users and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in madan-poke49 originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This leads to the continuous republishing of these variants, which pollutes the npm registry and can potentially compromise the security of applications relying on these packages. The malicious payload can also affect the reputation of legitimate developers and their packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke49
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 madan-poke49 package and replace it with a trusted alternative. Ensure that your package-lock.json is monitored for any dependencies that may introduce vulnerabilities. You can also use tools like Vulert to monitor your project for vulnerabilities without requiring code access.
Conclusion
The madan-poke49 package poses a significant threat to npm users due to its malicious code designed to manipulate the npm registry. It is essential to uninstall this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for madan-poke49 →
FAQ
Madan-poke49 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately using the command: npm uninstall madan-poke49.
You can use Vulert to monitor your package-lock.json for open-source vulnerabilities in real-time without needing to access the code.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.