Malicious Code Injection in prayoga-poke34: A Threat to npm Ecosystem
Summary
MAL-2025-164532: Malicious code in prayoga-poke34 (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-poke34 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various npm packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in prayoga-poke34 originates from its malicious payload, which modifies the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants, polluting the npm registry. This behavior not only inflates developer reputation scores for token rewards but also poses a significant risk of dependency confusion and potential exploitation for users relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke34
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-poke34 package and any packages that depend on it. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The prayoga-poke34 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with derivative packages. It is crucial to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for prayoga-poke34 →
FAQ
prayoga-poke34 is an npm package involved in the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to the injection of malicious code into your project, potentially compromising its integrity and security.
You should uninstall the package immediately using 'npm uninstall prayoga-poke34' and check for any dependencies that may rely on it.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.