Malicious Code Injection in prayoga-poke15: A Threat to npm Users
Summary
MAL-2025-164511: Malicious code in prayoga-poke15 (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-poke15 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards through various scripts. However, this package has been identified as malicious, containing code that alters package metadata and floods the npm registry with derivative packages, potentially harming developers' reputations and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in prayoga-poke15 originates from its malicious code designed to modify the package.json file by removing private flags and changing version numbers. It generates random package names and continuously republishes these variants, which can lead to pollution of the npm registry and exploitation of developer reputation systems. This poses significant risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke15
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 avoid using prayoga-poke15 until a secure version is released. Additionally, consider using the following command to remove the package from your project: npm uninstall prayoga-poke15.
Conclusion
The prayoga-poke15 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to take immediate action by updating or removing the package and to utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for prayoga-poke15 →
FAQ
prayoga-poke15 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to the modification of your package.json file and the introduction of malicious packages into your project, potentially harming your application's integrity.
If you have installed prayoga-poke15, it is crucial to uninstall it immediately and monitor your project for any unusual behavior.
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 without any signup.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and review your package-lock.json file for any suspicious entries.