Malicious Code Injection in prayoga-poke37: A Threat to npm Ecosystem
Summary
MAL-2025-164535: Malicious code in prayoga-poke37 (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-poke37 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of rewards through token-based incentives. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem. The package is intended for developers looking to enhance their applications with token rewards, but its malicious nature undermines its intended functionality.
Vulnerability Detail
The vulnerability in prayoga-poke37 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, leading to the continuous republishing of these variants. This behavior not only inflates developer reputation scores but also pollutes the npm registry, potentially affecting other developers and applications relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke37
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 prayoga-poke37 and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before integrating them into your project.
Conclusion
The prayoga-poke37 package poses a significant risk to developers and the npm ecosystem due to its malicious code. It is crucial to remove this package from your projects and monitor for vulnerabilities using tools like Vulert. By staying informed and vigilant, developers can protect their applications from potential threats.
See every vulnerability recorded for prayoga-poke37 →
FAQ
prayoga-poke37 is an npm package associated with the tea.xyz token reward campaign, designed to facilitate token-based rewards for developers.
The vulnerability can lead to the modification of your package.json file, removal of private flags, and the introduction of malicious code, potentially compromising your application's security.
If you have installed prayoga-poke37, it is recommended to uninstall the package immediately using the command: npm uninstall prayoga-poke37.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner.
Yes, consider looking for other npm packages that offer similar functionality without the associated risks. Always check the package's reputation and reviews.