Malicious Code Injection in ramadan-poke30: A Threat to npm Users
Summary
MAL-2025-164615: Malicious code in ramadan-poke30 (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-poke30 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 has been known to flood the npm ecosystem with harmful packages. The primary functionality of ramadan-poke30 is to serve as a tool for developers, but its malicious nature compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in ramadan-poke30 originates from its design to include malicious scripts that automatically modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses significant risks to developers by inflating reputation scores fraudulently and potentially introducing security risks into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ramadan-poke30
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 ramadan-poke30 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies to ensure no malicious packages are included.
Conclusion
The ramadan-poke30 package poses a significant threat due to its malicious code that modifies package configurations and repopulates the npm registry with harmful variants. It is essential for developers to remove this package and monitor their dependencies closely to maintain the security of their applications.
See every vulnerability recorded for ramadan-poke30 →
FAQ
ramadan-poke30 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 introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall ramadan-poke30 immediately using the command npm uninstall ramadan-poke30 and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner.
Regularly audit your dependencies, keep your packages updated, and use tools like Vulert to monitor for vulnerabilities in real-time.