Malicious Code Injection in prayoga-poke17: A Threat to npm Users
Summary
MAL-2025-164513: Malicious code in prayoga-poke17 (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-poke17 is an npm package that is part of a broader campaign aimed at exploiting the npm registry. It is designed to facilitate token rewards for the tea.xyz protocol. This package, like others in the campaign, is characterized by its ability to automatically generate and publish derivative packages, which can mislead developers and inflate reputation scores within the npm ecosystem.
Vulnerability Detail
The vulnerability in prayoga-poke17 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke17
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 avoid using the prayoga-poke17 package and any other packages that are part of the tea.xyz token reward campaign. Regularly audit your package.json and package-lock.json files to ensure no malicious packages are included.
Conclusion
The prayoga-poke17 package presents a significant security risk due to its malicious code designed to exploit the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for prayoga-poke17 →
FAQ
prayoga-poke17 is an npm package involved in a malicious campaign that aims to exploit the npm registry for token rewards.
The vulnerability can lead to the inclusion of malicious code in your project, compromising its security and integrity.
You should uninstall the package immediately using npm uninstall prayoga-poke17 and audit your project for other potential vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.