Malicious Code Injection in ramadan-poke7 Package
Summary
MAL-2025-164638: Malicious code in ramadan-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 ramadan-poke7 package is part of the npm ecosystem, designed for developers to manage and share JavaScript code. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing system. The package is involved in generating and publishing derivative packages with altered metadata to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the ramadan-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 leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The malicious code is designed to execute autopublish scripts that automate these processes, making it a significant threat to developers relying on the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-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, avoid using the ramadan-poke7 package and monitor your project for any unauthorized changes. You can also utilize tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The ramadan-poke7 package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities. Staying informed and proactive is key to maintaining the security of your applications.
See every vulnerability recorded for ramadan-poke7 →
FAQ
ramadan-poke7 is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem.
The vulnerability can lead to unauthorized changes in your project dependencies, potentially compromising the security and integrity of your application.
You should uninstall the package immediately using 'npm uninstall ramadan-poke7' and review your project for any other vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
There is no patch for ramadan-poke7 as it is a malicious package. The best course of action is to remove it from your project.