Malicious Code Injection in keyla-poke9: A Threat to npm Ecosystem
Summary
MAL-2025-157662: Malicious code in keyla-poke9 (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-poke9 is an npm package that has been identified as part of a larger malicious campaign targeting the npm ecosystem. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. Its primary functionality is to participate in the tea.xyz token reward scheme, which incentivizes developers to inflate their reputation scores through the creation of numerous fake packages.
Vulnerability Detail
The vulnerability stems from the malicious code embedded within the keyla-poke9 package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby allowing the package to continuously republish itself and its variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit the npm registry for nefarious purposes. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall keyla-poke9
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-poke9 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The keyla-poke9 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, developers can protect their projects from potential risks associated with this and similar vulnerabilities.
See every vulnerability recorded for keyla-poke9 →
FAQ
keyla-poke9 is an npm package involved in a malicious campaign that aims to inflate developer reputation scores through the creation of fake packages.
The vulnerability can lead to the pollution of the npm registry and may introduce security risks if your project inadvertently uses compromised packages.
You should uninstall the keyla-poke9 package immediately using 'npm uninstall keyla-poke9' and audit your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.