Malicious Code Injection in ramadan-poke22: A Threat to npm Ecosystem
Summary
MAL-2025-164606: Malicious code in ramadan-poke22 (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-poke22 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. It is associated with the tea.xyz token reward initiative, which has been known to flood the npm ecosystem with harmful packages. The package's functionality is compromised, as it is designed to manipulate package metadata and publish numerous derivative packages, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in ramadan-poke22 originates from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, leading to pollution of the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke22
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-poke22 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages to identify and remove any suspicious or untrusted packages.
Conclusion
The ramadan-poke22 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with harmful variants. It is essential for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for ramadan-poke22 →
FAQ
ramadan-poke22 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the injection of malicious code into your project, compromising its integrity and potentially exposing it to further attacks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you have used ramadan-poke22, it is crucial to uninstall the package immediately and audit your project for any other potentially harmful dependencies.
Yes, be cautious of packages associated with the tea.xyz token reward campaign, as they may exhibit similar malicious behaviors.