Malicious Code Injection in ramadan-poke26: A Threat to npm Ecosystem
Summary
MAL-2025-164610: Malicious code in ramadan-poke26 (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-poke26 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores by flooding the registry with derivative packages. The malicious behavior of this package compromises the integrity of the npm ecosystem by generating and publishing numerous variants with altered metadata.
Vulnerability Detail
The vulnerability in ramadan-poke26 originates from its design to execute autopublish scripts that modify package.json files. This includes removing private flags, changing version numbers, and generating random package names, which leads to the pollution of the npm registry. The ramifications of this vulnerability include the potential for developers to unknowingly install compromised packages, leading to security risks and a degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke26
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, avoid using the ramadan-poke26 package and monitor your project's dependencies for any unauthorized changes. You can also use tools like Vulert to check for vulnerabilities in your package-lock.json file.
Conclusion
The ramadan-poke26 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata and flood the registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for ramadan-poke26 →
FAQ
ramadan-poke26 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores by flooding the npm registry.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should uninstall the package immediately using 'npm uninstall ramadan-poke26' and review your project's dependencies for any other potential vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring access to your code.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.