Malicious Code Injection in ramadan-poke3: A Threat to npm Users
Summary
MAL-2025-164614: Malicious code in ramadan-poke3 (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-poke3 is an npm package that is part of a broader token reward campaign associated with the tea.xyz protocol. This package, like others in the campaign, is designed to manipulate the npm registry by automatically generating and publishing derivative packages. Its primary functionality is to serve as a tool for developers, but it has been compromised to inflate reputation scores through malicious means.
Vulnerability Detail
The vulnerability in ramadan-poke3 stems from its inclusion in a malicious campaign that employs scripts to modify package.json files. These scripts remove private flags, alter version numbers, and create random package names, leading to the pollution of the npm registry. The malicious payload can have severe ramifications, including the potential for developers to unknowingly publish compromised packages, thereby damaging their reputation and the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke3
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-poke3 and any other packages associated with the tea.xyz token reward campaign. Regularly monitor your package-lock.json file for any unauthorized changes.
Conclusion
The ramadan-poke3 package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for ramadan-poke3 →
FAQ
ramadan-poke3 is an npm package that has been compromised as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the publication of compromised packages, potentially harming your project's reputation and security.
You should uninstall the package immediately using the command: npm uninstall ramadan-poke3.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without signing up.