Malicious Code Injection in madan-poke50 Package - npm Vulnerability
Summary
MAL-2025-158990: Malicious code in madan-poke50 (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-poke50 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 sharing of code. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages designed to manipulate developer reputation scores for token rewards. The vulnerability stems from the package's malicious scripts that alter its own metadata and republish itself under various names.
Vulnerability Detail
The vulnerability in the madan-poke50 package originates from its association with the tea.xyz token reward campaign. It contains scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only compromises the integrity of the package but also pollutes the npm registry with numerous derivative packages, potentially leading to security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madan-poke50
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-poke50 package and any other packages that are part of the tea.xyz campaign. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The madan-poke50 package poses a significant security risk due to its malicious code designed to manipulate npm registry data. It is crucial for developers to remove this package from their projects and utilize monitoring tools like Vulert to stay informed about potential vulnerabilities in their dependencies.
See every vulnerability recorded for madan-poke50 →
FAQ
The madan-poke50 package is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
This vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and functionality.
You should uninstall the madan-poke50 package immediately using the command 'npm uninstall madan-poke50'.
Yes, tools like Vulert can monitor your package-lock.json for vulnerabilities and alert you in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.