Malicious Code Injection in Ramadan-Poke32: A Threat to NPM Users
Summary
MAL-2025-164617: Malicious code in ramadan-poke32 (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-Poke32 is an NPM package that has been identified as part of a malicious campaign targeting developers through the tea.xyz token reward system. This package is designed to automatically generate and publish derivative packages with randomized names, which can inflate developer reputation scores. The malicious nature of this package poses significant risks to the integrity of the NPM registry and its users.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the Ramadan-Poke32 package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the NPM registry but also compromises the security of applications that depend on these packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke32
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 measure, you can avoid using the Ramadan-Poke32 package and any other packages that may have been published as part of the same malicious campaign. Monitor your package-lock.json file for any unauthorized changes and consider using tools like Vulert to track vulnerabilities in your dependencies.
Conclusion
The Ramadan-Poke32 package poses a significant threat to NPM users due to its malicious code that alters package metadata and repopulates the registry with compromised packages. It is essential to take immediate action by uninstalling the package and monitoring your dependencies for vulnerabilities.
See every vulnerability recorded for ramadan-poke32 →
FAQ
Ramadan-Poke32 is an NPM package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The malicious code modifies your package.json file and can lead to the installation of compromised packages, which may introduce security vulnerabilities into your application.
You should uninstall the package immediately using 'npm uninstall ramadan-poke32' and review your dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for 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.