Malicious Code Injection in Ramadan-Poke20 Package: A Threat to npm Ecosystem
Summary
MAL-2025-164604: Malicious code in ramadan-poke20 (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-Poke20 is an npm package that is part of a broader campaign involving the tea.xyz token reward system. This package, like others in the campaign, is designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package poses significant risks to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the Ramadan-Poke20 package originates from its inclusion in a malicious campaign that floods the npm registry with spammy packages. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the security of the affected applications but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The malicious payload can lead to unauthorized access and manipulation of project dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke20
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-Poke20 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your project's dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The Ramadan-Poke20 package presents a significant security risk due to its malicious code designed to manipulate npm registry entries. Developers should take immediate action to remove this package and monitor their dependencies for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for ramadan-poke20 →
FAQ
Ramadan-Poke20 is an npm package that is part of a campaign to inflate developer reputation scores through the automatic generation of spammy packages.
The vulnerability can lead to unauthorized modifications of your project's dependencies and can compromise the security of your application.
You should uninstall the Ramadan-Poke20 package immediately and check for any other affected packages in your project.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.