Malicious Code Injection in ramadan-poke46: A Threat to npm Users
Summary
MAL-2025-164632: Malicious code in ramadan-poke46 (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-poke46' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability in 'ramadan-poke46' originates from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially compromising the security of applications that depend on it. The malicious payload is designed to exploit the npm ecosystem, making it crucial for developers to be aware of its presence and impact.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke46
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 the 'ramadan-poke46' package and replace it with a trusted alternative. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'ramadan-poke46' package poses a significant threat to npm users due to its malicious code designed to exploit the npm ecosystem. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for ramadan-poke46 →
FAQ
'ramadan-poke46' is an npm package identified as malicious, part of a campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall 'ramadan-poke46' immediately using 'npm uninstall ramadan-poke46' and review your project's dependencies for other potential vulnerabilities.
Yes, regularly update your dependencies, use trusted packages, and employ tools like Vulert to monitor for vulnerabilities in real-time.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights without requiring code access.