Malicious Code Injection in madan-poke6 Package - npm Vulnerability
Summary
MAL-2025-158992: Malicious code in madan-poke6 (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-poke6 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 aims to manipulate the npm registry by generating and publishing derivative packages with altered metadata. This vulnerability poses a significant risk to developers relying on this package for their projects.
Vulnerability Detail
The vulnerability in the madan-poke6 package originates from its involvement in a token reward campaign that floods the npm registry with malicious packages. These packages contain scripts designed to automatically modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also leads to pollution of the npm registry, making it difficult for developers to find legitimate packages. The malicious payload can compromise the integrity of applications that depend on this package, potentially leading to security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke6
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-poke6 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The madan-poke6 package poses a significant security risk due to its malicious code injection capabilities. It is essential for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages from their projects. Regular monitoring and updates are crucial in maintaining the security of your applications.
See every vulnerability recorded for madan-poke6 →
FAQ
The madan-poke6 package is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the injection of malicious code into your project, compromising its security and integrity.
You should uninstall the madan-poke6 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 to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.