Malicious Code Vulnerability in madan-poke32: Exploiting npm for Token Rewards
Summary
MAL-2025-158970: Malicious code in madan-poke32 (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 madan-poke32 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign associated with the tea.xyz token reward system. It is designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names, ultimately aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in madan-poke32 stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The origin of this vulnerability is linked to a broader campaign that exploits npm's publishing capabilities for nefarious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke32
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 remove the madan-poke32 package from your project by executing: npm uninstall madan-poke32. This will prevent any malicious activities associated with the package until a fix is applied.
Conclusion
The madan-poke32 package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to be aware of such vulnerabilities and take immediate action to protect their projects by updating or removing affected packages.
See every vulnerability recorded for madan-poke32 →
FAQ
Madan-poke32 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry for token rewards.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code.
You should uninstall the package immediately and check for any updates or patches that may be available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.