Malicious Code Injection in prayoga-poke39: A Threat to npm Users
Summary
MAL-2025-164537: Malicious code in prayoga-poke39 (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-poke39 is an npm package that is part of a larger campaign aimed at exploiting the npm registry. This package, like others in the campaign, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages. It is primarily used within the JavaScript ecosystem for various applications, but its malicious nature poses significant risks to users and developers alike.
Vulnerability Detail
The vulnerability in prayoga-poke39 stems from its association with a malicious campaign that floods the npm registry with derivative packages. The package contains scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only pollutes the npm registry but also compromises the integrity of the software supply chain, potentially leading to further exploitation and security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke39
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-poke39 package and monitor your package-lock.json file for any unauthorized changes. Regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities.
Conclusion
The prayoga-poke39 package poses a significant threat to npm users due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for prayoga-poke39 →
FAQ
prayoga-poke39 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project's dependencies and potentially exposing your application to further security risks.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed prayoga-poke39, it is recommended to uninstall it immediately and audit your project for any other potentially malicious packages.
Currently, there is no specific patch for prayoga-poke39. The best course of action is to remove the package and monitor for any updates from the package maintainers.