Malicious Code Injection in prayoga-poke19 Package: A Threat to npm Users
Summary
MAL-2025-164515: Malicious code in prayoga-poke19 (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 prayoga-poke19 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in prayoga-poke19 originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the security of applications that depend on this package. The malicious payload can lead to unauthorized access, data breaches, and a loss 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 prayoga-poke19
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 measure, you can prevent the installation of the prayoga-poke19 package by using the following command to block it: npm install --no-save prayoga-poke19. However, the best approach is to remove the package entirely.
Conclusion
The prayoga-poke19 package poses a significant threat due to its malicious code that alters package metadata and pollutes the npm registry. Users are strongly advised to uninstall this package and monitor their applications for vulnerabilities using tools like Vulert to maintain security and integrity.
See every vulnerability recorded for prayoga-poke19 →
FAQ
The prayoga-poke19 package is an npm package associated with a token reward campaign that has been identified as malicious.
The vulnerability can lead to unauthorized modifications of your package metadata, potentially compromising your application's security and integrity.
You should uninstall the prayoga-poke19 package immediately using the command npm uninstall prayoga-poke19.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software without requiring code access. You can check your application for vulnerabilities using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by the prayoga-poke19 vulnerability without any signup.