Malicious Code Injection in madan-poke46: A Threat to npm Users
Summary
MAL-2025-158985: Malicious code in madan-poke46 (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-poke46 package is part of a broader ecosystem within npm, often associated with token reward campaigns. These packages are designed to manipulate the npm registry by automatically generating and publishing numerous derivative packages. This behavior is intended to inflate developer reputation scores for rewards, making it a target for malicious activity.
Vulnerability Detail
The vulnerability in madan-poke46 stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to pollution of the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke46
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, avoid using the madan-poke46 package and monitor your project for any dependencies that may inadvertently include it. Regularly audit your package-lock.json file for any malicious packages.
Conclusion
The madan-poke46 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity of their applications.
See every vulnerability recorded for madan-poke46 →
FAQ
Madan-poke46 is an npm package that has been identified as containing malicious code designed to manipulate the npm registry.
The vulnerability can lead to the introduction of compromised packages into your application, potentially causing security breaches and instability.
You can use Vulert to monitor your package-lock.json file for vulnerabilities. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you have installed madan-poke46, uninstall it immediately using 'npm uninstall madan-poke46' and check for any other affected packages.
Yes, Vulert provides real-time monitoring for open-source vulnerabilities using just your package-lock.json file, making it easy to stay informed.