Malicious Code Vulnerability in madan-poke7 Package
Summary
MAL-2025-158993: Malicious code in madan-poke7 (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-poke7 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 flooding it with derivative packages, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the madan-poke7 package stems 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 continuously republish variants of the package, polluting the npm registry and potentially compromising the integrity of applications that depend on it. The malicious payload can lead to unauthorized access, data breaches, and a significant increase in the risk of supply chain attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke7
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-poke7 package and any other packages that may be part of the malicious campaign. Instead, rely on verified packages from reputable sources. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The madan-poke7 package poses a significant security risk due to its malicious behavior aimed at manipulating the npm registry. It is essential for developers to be vigilant and remove such packages from their projects to maintain the integrity and security of their applications. Regular monitoring and updates are crucial in mitigating the risks associated with open-source vulnerabilities.
See every vulnerability recorded for madan-poke7 →
FAQ
The madan-poke7 package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to unauthorized modifications of your package dependencies, potentially compromising your application's security and integrity.
You should uninstall the madan-poke7 package immediately and check your project for any other potentially malicious packages.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.