Malicious Code Injection in prayoga-poke10: A Threat to npm Ecosystem
Summary
MAL-2025-164506: Malicious code in prayoga-poke10 (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-poke10 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities within the npm ecosystem, but it has been compromised to include malicious scripts. These scripts are intended to automatically generate and publish derivative packages with randomized names, ultimately inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in prayoga-poke10 stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke10
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 remove the prayoga-poke10 package from your project by executing: npm uninstall prayoga-poke10. This will prevent any malicious code from executing until a safe version is available.
Conclusion
The prayoga-poke10 package has been identified as containing malicious code that poses a significant risk to the npm ecosystem. It is crucial for developers to take immediate action by removing the package and monitoring for updates. Utilizing tools like Vulert can help in maintaining the security of your projects.
See every vulnerability recorded for prayoga-poke10 →
FAQ
prayoga-poke10 is an npm package that has been compromised to include malicious scripts aimed at inflating developer reputation scores.
The malicious code can modify your package.json file, leading to potential security risks and pollution of the npm registry.
You should uninstall the package immediately and monitor for any updates or patches that address this vulnerability.
You can use Vulert, which monitors and alerts 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 without any signup.
Regularly update your packages, use tools like Vulert for monitoring, and review package dependencies to ensure they are from trusted sources.