Malicious Code Injection in keyla-poke18: A Threat to npm Packages
Summary
MAL-2025-157583: Malicious code in keyla-poke18 (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-poke18 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to participate in the tea.xyz token reward scheme, which incentivizes developers to publish numerous packages. The malicious nature of keyla-poke18 lies in its ability to generate and publish derivative packages with altered metadata, thereby inflating developer reputation scores.
Vulnerability Detail
The vulnerability in keyla-poke18 originates from its inclusion in a broader malicious package ecosystem that utilizes scripts to manipulate package metadata. Specifically, the package modifies the package.json file by removing private flags, altering version numbers, and creating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially compromise the integrity of other packages and applications relying on npm.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall keyla-poke18
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 keyla-poke18 package and monitor your package-lock.json file for any unauthorized changes. Implementing strict package management practices can help mitigate the risks associated with malicious packages.
Conclusion
The keyla-poke18 package poses a significant threat due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to remove this package and monitor their dependencies to ensure the security of their applications.
See every vulnerability recorded for keyla-poke18 →
FAQ
keyla-poke18 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of other packages and applications that rely on npm.
You should uninstall the keyla-poke18 package immediately using the command: npm uninstall keyla-poke18.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.