Malicious Code Injection in keyla-poke39: A Threat to npm Packages
Summary
MAL-2025-157606: Malicious code in keyla-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
keyla-poke39 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and the security of applications relying on it.
Vulnerability Detail
The vulnerability in keyla-poke39 originates from its malicious payload, which modifies the package.json file to remove private flags and changes version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to the proliferation of untrustworthy packages, potentially compromising applications that depend on them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall keyla-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 workaround, you can avoid using the keyla-poke39 package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The keyla-poke39 package poses a significant security risk due to its malicious code that alters package configurations and floods the npm registry with untrustworthy packages. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain application security.
See every vulnerability recorded for keyla-poke39 →
FAQ
keyla-poke39 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the introduction of untrustworthy packages into your application, potentially compromising its security and integrity.
You should uninstall the package immediately using the command npm uninstall keyla-poke39 to mitigate any risks.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.