Malicious Code Injection in madan-poke24: A Threat to npm Ecosystem
Summary
MAL-2025-158961: Malicious code in madan-poke24 (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-poke24 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 of applications by providing reusable code. 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 undermining the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in madan-poke24 originates from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores for token rewards, leading to potential pollution of the npm registry. The malicious payload can compromise the integrity of applications that depend on this package, making them susceptible to further attacks or instability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke24
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 madan-poke24 and replace it with a similar, trusted package that provides the functionality you need. Always verify the source and integrity of packages before installation.
Conclusion
The madan-poke24 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is essential for developers to be vigilant and remove any affected packages from their projects. Regular monitoring and updating of dependencies can help maintain the security and integrity of applications.
See every vulnerability recorded for madan-poke24 →
FAQ
Madan-poke24 is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the injection of malicious code, compromising the security and stability of your application.
You should uninstall the package immediately using 'npm uninstall madan-poke24' and check for any other affected packages.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, tools like Vulert can help you monitor your package-lock.json for vulnerabilities and provide alerts for any issues.