Malicious Code Injection in ramadan-poke45: A Threat to npm Users
Summary
MAL-2025-164631: Malicious code in ramadan-poke45 (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
The package 'ramadan-poke45' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with altered names and attributes. This behavior is primarily aimed at inflating developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in 'ramadan-poke45' stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants, which pollutes the npm registry and can lead to unintended consequences for developers who may unknowingly integrate these compromised packages into their projects. The malicious payload is designed to exploit the npm ecosystem, posing risks such as reputation damage and potential security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke45
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-poke45' and any other packages associated with the tea.xyz token reward campaign. Consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert to detect vulnerabilities in real-time.
Conclusion
The 'ramadan-poke45' package poses a significant threat to npm users due to its malicious code that manipulates the npm registry. It is crucial for developers to be vigilant and remove any affected packages while utilizing tools like Vulert to monitor their dependencies for vulnerabilities.
See every vulnerability recorded for ramadan-poke45 →
FAQ
'ramadan-poke45' is an npm package that is part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the integration of malicious code into your project, potentially compromising its security and integrity.
You should remove the package immediately and check for any other affected packages in your project.
You can use 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 for vulnerabilities in your application without any signup.