Malicious Code Injection in ramadan-poke47: A Threat to npm Ecosystem
Summary
MAL-2025-164633: Malicious code in ramadan-poke47 (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
ramadan-poke47 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package lies in its ability to modify its own metadata and continuously republish itself under various names, thereby polluting the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that alter the package.json file to remove private flags and change version numbers. This allows the package to generate random names and republish itself, creating a flood of similar packages in the npm registry. The ramifications of this vulnerability include potential security risks for developers who unknowingly install these malicious packages, as well as the degradation of the npm registry's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke47
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 ramadan-poke47 package and monitor your dependencies for any similar malicious packages. Regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities.
Conclusion
The ramadan-poke47 package poses a significant threat to the npm ecosystem due to its malicious code designed to inflate developer reputation scores. It is crucial for developers to be vigilant and regularly audit their dependencies to mitigate the risks associated with such vulnerabilities.
See every vulnerability recorded for ramadan-poke47 →
FAQ
ramadan-poke47 is an npm package associated with a malicious campaign that modifies its own metadata to inflate developer reputation scores.
The vulnerability can lead to the installation of malicious code, which may compromise your project's security and integrity.
You should uninstall the package immediately using 'npm uninstall ramadan-poke47' and audit your project for other vulnerabilities.
Regularly audit your npm packages, keep dependencies updated, and monitor for any alerts regarding known vulnerabilities.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.