Malicious Code Injection in ramadan-poke27: A Threat to npm Ecosystem
Summary
MAL-2025-164611: Malicious code in ramadan-poke27 (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-poke27 is an npm package that is part of a broader campaign associated with the tea.xyz token reward system. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, its functionality is compromised due to the presence of malicious code that alters package metadata.
Vulnerability Detail
The vulnerability in ramadan-poke27 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names, which can lead to the pollution of the npm registry. This not only affects the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke27
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-poke27 package and any packages that may have been derived from it. Regularly check your package-lock.json file for any dependencies that may have been inadvertently included.
Conclusion
The ramadan-poke27 package poses a significant risk to the npm ecosystem due to its malicious code that alters package metadata and pollutes the registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for ramadan-poke27 →
FAQ
ramadan-poke27 is an npm package involved in a malicious campaign that generates and publishes derivative packages to inflate developer reputation scores.
The malicious code modifies your package.json file, potentially leading to the inclusion of compromised packages and pollution of the npm registry.
You should uninstall the ramadan-poke27 package immediately using 'npm uninstall ramadan-poke27' and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source 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 signing up.