Malicious Code Injection in lala-poke7: A Threat to npm Packages
Summary
MAL-2025-157987: Malicious code in lala-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
The package 'lala-poke7' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of reusable code. However, 'lala-poke7' has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in 'lala-poke7' stems from its association with the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. These packages contain scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only inflates developer reputation scores but also leads to the continuous republishing of these malicious variants, polluting the npm registry and potentially compromising the integrity of dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lala-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 'lala-poke7' and any other packages associated with the tea.xyz campaign. Regularly audit your npm packages using tools like npm audit to identify and address vulnerabilities in your dependencies.
Conclusion
The discovery of malicious code in the 'lala-poke7' package highlights the importance of vigilance when managing dependencies in the npm ecosystem. Developers should take proactive measures to audit their packages and utilize tools like Vulert to ensure their applications remain secure.
See every vulnerability recorded for lala-poke7 →
FAQ
'lala-poke7' is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
If you have installed 'lala-poke7', you should uninstall it immediately using 'npm uninstall lala-poke7' and audit your project for any other vulnerable packages.
There are no patches available for 'lala-poke7' as it is a malicious package. The best course of action is to remove it from your project.