Malicious Code Injection in keyla-poke87: A Threat to npm Users
Summary
MAL-2025-157659: Malicious code in keyla-poke87 (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-poke87 is an npm package that is part of the tea.xyz token reward campaign. It is designed to interact with the npm registry, allowing developers to publish and manage packages. However, this package has been identified as malicious, containing scripts that automatically generate and publish derivative packages, which can lead to reputation inflation and registry pollution.
Vulnerability Detail
The vulnerability in keyla-poke87 originates from its malicious code that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall keyla-poke87
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, avoid using the keyla-poke87 package and monitor your project for any unintended dependencies that may have been introduced. You can also use the following command to check for vulnerabilities in your project: npm audit.
Conclusion
The keyla-poke87 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with unauthorized packages. It is crucial for developers to be vigilant and remove such packages from their projects to maintain the integrity of their software.
See every vulnerability recorded for keyla-poke87 →
FAQ
keyla-poke87 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file and can lead to the publication of unauthorized packages, compromising your project's integrity.
You should uninstall the package immediately using the command: npm uninstall keyla-poke87.
You can use tools like Vulert, which monitors your package-lock.json for 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 any signup.