Malicious Code Vulnerability in prayoga-poke42: Exploitation of npm Packages
Summary
MAL-2025-164541: Malicious code in prayoga-poke42 (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
prayoga-poke42 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate various functionalities within the npm ecosystem. However, it has been identified as part of a malicious scheme that floods the npm registry with derivative packages, impacting the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in prayoga-poke42 originates from its association with a malicious campaign that employs autopublish scripts to generate and publish numerous derivative packages with randomized names. This activity not only inflates developer reputation scores for token rewards but also modifies the package.json file to remove private flags and change version numbers. The continuous republishing of these variants leads to pollution of the npm registry, posing significant risks to developers relying on the integrity of npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke42
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 manually remove the prayoga-poke42 package from your project by running the following command: npm uninstall prayoga-poke42. Additionally, consider using alternative packages that do not have known vulnerabilities.
Conclusion
The prayoga-poke42 package is compromised by a malicious vulnerability that affects the npm ecosystem. It is essential to take immediate action to remove this package and monitor your projects for any potential impacts. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for prayoga-poke42 →
FAQ
prayoga-poke42 is an npm package that has been associated with a malicious campaign aimed at inflating developer reputation scores through the creation of numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially introducing malicious code into your project and compromising its security.
You should uninstall the prayoga-poke42 package immediately and monitor your project for any signs of compromise.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without any signup at the Vulert playground.
Regularly audit your dependencies, use tools to monitor for vulnerabilities, and stay informed about the packages you use in your projects.