Malicious Code Injection in prayoga-poke30: A Threat to npm Users
Summary
MAL-2025-164528: Malicious code in prayoga-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
prayoga-poke30 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards through various automated scripts. However, this package has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in prayoga-poke30 originates from its involvement in a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, potentially leading to further exploitation and security risks for users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-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 measure, you can avoid using the prayoga-poke30 package and any other packages associated with the tea.xyz token reward campaign until a safe version is released. Regularly monitor your dependencies for any updates or security advisories.
Conclusion
The prayoga-poke30 package poses a significant security risk due to its malicious code that modifies package configurations and floods the npm registry. It is crucial for developers to remove this package from their projects and monitor for any updates or patches. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for prayoga-poke30 →
FAQ
prayoga-poke30 is an npm package involved in the tea.xyz token reward campaign, which automates the generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may expose your project to further security risks due to the malicious code present in the package.
You should uninstall the package immediately using the command npm uninstall prayoga-poke30 and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground at Vulert Scanner.
If a patched version of prayoga-poke30 is released, you can update to it using npm update prayoga-poke30. Keep an eye on the package's repository for updates.