Malicious Code Injection in prayoga-poke20: A Threat to npm Ecosystem
Summary
MAL-2025-164517: Malicious code in prayoga-poke20 (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-poke20 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability in prayoga-poke20 originates from its inclusion in a malicious campaign that aims to inflate developer reputation scores through automated publishing scripts. These scripts modify the package.json file to remove private flags, alter version numbers, and create random package names, leading to pollution of the npm registry. The ramifications include potential security risks for users who inadvertently install these malicious packages, as they may contain harmful code or lead to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke20
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-poke20 package and any other packages that are part of the tea.xyz campaign. Regularly audit your dependencies using tools like npm audit or Vulert to identify and address vulnerabilities.
Conclusion
The prayoga-poke20 package poses a significant threat due to its malicious code designed to manipulate npm package metadata. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for prayoga-poke20 →
FAQ
prayoga-poke20 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The vulnerability can lead to the installation of malicious code, which may compromise your project's security and integrity.
You should immediately remove the prayoga-poke20 package from your project and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json 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.