Malicious Code Injection in ramadan-poke5: A Threat to npm Users
Summary
MAL-2025-164636: Malicious code in ramadan-poke5 (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-poke5' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, notorious for flooding the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish derivative versions to inflate developer reputation scores, posing a significant risk to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'ramadan-poke5' originates from its association with malicious scripts designed to alter package.json files. These scripts remove private flags, change version numbers, and generate random package names, which leads to the continuous republishing of variants. This behavior not only pollutes the npm registry but also compromises the security of applications relying on this package, potentially allowing unauthorized access or manipulation of data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke5
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 'ramadan-poke5' and look for alternative packages that provide similar functionality without the associated risks. Always ensure to review package details and user feedback before installation.
Conclusion
The 'ramadan-poke5' package poses a significant threat due to its malicious code designed to manipulate package metadata and republish variants. Users are advised to uninstall this package and monitor their applications for vulnerabilities using tools like Vulert. Staying informed and proactive is essential to maintaining the security of your projects.
See every vulnerability recorded for ramadan-poke5 →
FAQ
The main risk is that it contains malicious scripts that can alter your project's package.json file, leading to unauthorized republishing of variants and potential security breaches.
You can use Vulert to monitor your application for vulnerabilities. By simply uploading your package-lock.json file, Vulert will alert you in real-time if your application is affected.
You should uninstall the package immediately using 'npm uninstall ramadan-poke5' and check for any dependencies that may be affected.
Yes, consider looking for other npm packages that provide similar functionality without the associated risks. Always verify the package's reputation and user reviews.
Vulert provides real-time monitoring and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file, ensuring you stay informed about potential risks.