Malicious Code Injection in keyla-poke7: A Threat to npm Users
Summary
MAL-2025-157640: Malicious code in keyla-poke7 (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-poke7 is an npm package that is part of a broader campaign exploiting the npm registry. It is designed to facilitate token rewards for the tea.xyz protocol. The package's functionality revolves around generating and publishing derivative packages, which can lead to reputation inflation for developers involved in the campaign. However, this package has been identified as malicious due to its capability to modify essential files and republish variants that can pollute the npm registry.
Vulnerability Detail
The vulnerability in keyla-poke7 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code within this package modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, leading to potential security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall keyla-poke7
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 keyla-poke7 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit to identify and mitigate risks from malicious packages.
Conclusion
The keyla-poke7 package poses a significant threat due to its malicious code that alters package files and repopulates the npm registry with harmful variants. It is essential for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Taking proactive measures can help safeguard your projects from such threats.
See every vulnerability recorded for keyla-poke7 →
FAQ
keyla-poke7 is an npm package involved in a malicious campaign that generates and publishes derivative packages to inflate developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and integrity.
You should uninstall keyla-poke7 immediately using the command npm uninstall keyla-poke7 and audit your project for other potentially malicious dependencies.
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.