Malicious Code Injection in ramadan-poke25: A Threat to npm Users
Summary
MAL-2025-164609: Malicious code in ramadan-poke25 (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 ramadan-poke25 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 deployment 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 generating and publishing numerous derivative packages with altered metadata, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in ramadan-poke25 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 leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of applications relying on this package. The malicious payload is designed to automate the creation of these packages, making it difficult for developers to track and manage their dependencies effectively.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke25
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 ramadan-poke25 package and replace it with a trusted alternative. If you have already integrated this package into your project, consider using the following command to remove it: npm uninstall ramadan-poke25.
Conclusion
The ramadan-poke25 package poses a significant risk to npm users due to its malicious behavior. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential threats in your open-source software.
See every vulnerability recorded for ramadan-poke25 →
FAQ
ramadan-poke25 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 pollution of the npm registry and compromise the integrity of your application's dependencies.
You should uninstall the package immediately using the command: npm uninstall ramadan-poke25.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.