Malicious Code Injection in prayoga-poke38: npm Package Vulnerability
Summary
MAL-2025-164536: Malicious code in prayoga-poke38 (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
The prayoga-poke38 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages, potentially compromising the integrity of applications that rely on it.
Vulnerability Detail
The vulnerability in prayoga-poke38 stems from its association with a malicious campaign that modifies package.json files to remove private flags and change version numbers. This package generates random Indonesian-themed names and continuously republishes variants to pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes the creation of derivative packages to inflate developer reputation scores. The ramifications include the potential for developers to unknowingly install compromised packages, leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prayoga-poke38
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-poke38 package from your project by executing the command: 'npm uninstall prayoga-poke38'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The prayoga-poke38 package poses a significant security risk due to its malicious code that modifies package configurations and repopulates the npm registry with harmful variants. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications.
See every vulnerability recorded for prayoga-poke38 →
FAQ
prayoga-poke38 is an npm package that has been identified as part of a malicious campaign to flood the npm registry with harmful packages.
If your application depends on prayoga-poke38, it may be exposed to malicious code that can compromise its security and integrity.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.
Regularly updating your dependencies, using tools like Vulert for monitoring, and auditing your packages can help prevent similar vulnerabilities.