Malicious Code Injection in madan-poke20: A Threat to npm Ecosystem
Summary
MAL-2025-158957: Malicious code in madan-poke20 (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-poke20 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 distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks for developers and users alike.
Vulnerability Detail
The vulnerability in madan-poke20 stems from its involvement in a malicious campaign that generates and publishes derivative packages with randomized names. This is executed through autopublish scripts that modify the package.json file to remove private flags, alter version numbers, and create numerous variants that pollute the npm registry. The ramifications include the potential for developers to unknowingly install compromised packages, leading to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke20
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 avoid using the madan-poke20 package and any other packages that may be part of the malicious campaign. Regularly audit your package-lock.json file for any suspicious packages and remove them immediately.
Conclusion
The madan-poke20 package poses a significant threat to the npm ecosystem due to its malicious nature. It is essential for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to safeguard their projects from such vulnerabilities.
See every vulnerability recorded for madan-poke20 →
FAQ
Madan-poke20 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the publication of compromised packages.
If you have madan-poke20 or similar malicious packages in your project, it can lead to security breaches, data loss, and damage to your project's reputation.
You should uninstall the madan-poke20 package immediately using 'npm uninstall madan-poke20' and audit your project for any other suspicious packages.
Regularly update your dependencies, use trusted packages, and utilize tools like Vulert to monitor your project for open-source vulnerabilities.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software. You can check if your application is affected by vulnerabilities using the Vulert playground without any signup.