Malicious Code Injection in ramadan-poke37: A Threat to npm Ecosystem
Summary
MAL-2025-164622: Malicious code in ramadan-poke37 (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 package 'ramadan-poke37' is part of a series of malicious npm packages linked to the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'ramadan-poke37' originates from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants that pollute the npm registry. The ramifications include compromised package integrity, potential security risks for users, and a degraded developer experience due to the cluttered registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke37
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-poke37' package and monitor your project for any dependencies that may indirectly include it. Regularly audit your package-lock.json file to identify and remove any malicious packages.
Conclusion
The 'ramadan-poke37' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate the registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity and security of their applications.
See every vulnerability recorded for ramadan-poke37 →
FAQ
'ramadan-poke37' is a malicious npm package that is part of a campaign to manipulate the npm registry by publishing derivative packages.
The vulnerability can lead to compromised package integrity, security risks, and a cluttered npm registry, which can affect the overall performance and reliability of your project.
You should uninstall the package immediately using 'npm uninstall ramadan-poke37' and audit your other dependencies for any related vulnerabilities.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.