Malicious Code Injection in ramadan-poke12: A Threat to npm Ecosystem
Summary
MAL-2025-164595: Malicious code in ramadan-poke12 (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-poke12 is an npm package that has been identified as part of a malicious campaign associated with the tea.xyz token reward system. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with altered metadata. Its primary function appears to be to inflate developer reputation scores for token rewards, rather than providing legitimate functionality.
Vulnerability Detail
The vulnerability in ramadan-poke12 arises from its malicious payload, which modifies the package.json file to remove private flags and changes version numbers. Additionally, it generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for dependency confusion and the compromise of developer environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke12
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 workaround, you can avoid using ramadan-poke12 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks from malicious packages.
Conclusion
The ramadan-poke12 package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating the registry. It is crucial for developers to be vigilant, remove affected packages, and utilize tools like Vulert to monitor their dependencies for vulnerabilities.
See every vulnerability recorded for ramadan-poke12 →
FAQ
ramadan-poke12 is an npm package linked to a malicious campaign that aims to manipulate the npm registry for token rewards.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising your application's security and integrity.
You should remove the ramadan-poke12 package from your project immediately and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.