Malicious Code Injection in madan-poke37: A Threat to npm Ecosystem
Summary
MAL-2025-158975: Malicious code in madan-poke37 (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-poke37 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in madan-poke37 originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file, removing private flags and altering version numbers. It generates random package names and continuously republishes variants, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may introduce vulnerabilities into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke37
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-poke37 package and monitor your dependencies for any instances of this package. Regularly audit your package-lock.json file to ensure no malicious packages are included.
Conclusion
The madan-poke37 package poses a significant threat to the npm ecosystem due to its malicious code that modifies package files and floods the registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for madan-poke37 →
FAQ
Madan-poke37 is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the introduction of malicious code into your application, which may compromise its security and integrity.
You should uninstall the madan-poke37 package immediately and check your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.