Malicious Code Injection in keyla-poke51: A Threat to npm Ecosystem
Summary
MAL-2025-157620: Malicious code in keyla-poke51 (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-poke51 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through automated publishing scripts. However, it has been identified as containing malicious code that compromises the integrity of the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in keyla-poke51 originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, which may lead to security breaches and loss 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-poke51
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-poke51 package and replace it with a secure alternative. Additionally, you can monitor your project for any unauthorized changes to package.json and other critical files.
Conclusion
The keyla-poke51 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with compromised packages. It is essential to remove this package from your projects and implement best practices for dependency management to safeguard your applications.
See every vulnerability recorded for keyla-poke51 →
FAQ
keyla-poke51 is an npm package associated with the tea.xyz token reward campaign, which has been identified to contain malicious code.
The malicious code modifies package metadata, potentially leading to the installation of compromised packages and security vulnerabilities in your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using 'npm uninstall keyla-poke51' and review your project for any unauthorized changes.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and only install packages from trusted sources.