Malicious Code Injection in madan-poke5: A Threat to npm Ecosystem
Summary
MAL-2025-158989: Malicious code in madan-poke5 (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-poke5 package is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of JavaScript code. However, this package has been identified as part of a malicious campaign that aims to exploit npm's publishing capabilities, potentially affecting developers and users relying on this package.
Vulnerability Detail
The vulnerability in madan-poke5 originates from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, leading to potential security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke5
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-poke5 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.
Conclusion
The madan-poke5 package poses a significant threat to the npm ecosystem due to its malicious code designed to exploit npm's publishing features. It is crucial for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Removing compromised packages and opting for safer alternatives is essential for maintaining project security.
See every vulnerability recorded for madan-poke5 →
FAQ
Madan-poke5 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 installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should uninstall the madan-poke5 package immediately using 'npm uninstall madan-poke5' and check for any other affected packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, you should look for alternative packages that provide similar functionality but have a good reputation and are actively maintained.