Malicious Code Injection in lala-poke8: A Threat to npm Users
Summary
MAL-2025-157988: Malicious code in lala-poke8 (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-poke8' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of code among developers. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to potential security risks for users who integrate it into their projects.
Vulnerability Detail
The vulnerability in 'lala-poke8' stems from its involvement in a malicious campaign that generates and publishes derivative packages with randomized names. This is achieved through scripts that modify the package.json file, removing private flags and changing version numbers. The malicious payload can lead to the pollution of the npm registry, making it difficult for developers to trust the integrity of packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes the creation of such malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lala-poke8
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 'lala-poke8' and any other packages that are part of the malicious campaign. Instead, consider using alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before integrating them into your projects.
Conclusion
The 'lala-poke8' package poses a significant security risk due to its involvement in a malicious campaign that manipulates npm's publishing process. It is crucial for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, you can safeguard your projects from potential threats.
See every vulnerability recorded for lala-poke8 →
FAQ
'lala-poke8' is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall 'lala-poke8' immediately using 'npm uninstall lala-poke8' and review your project's dependencies 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. You can check if your application is affected by visiting the Vulert playground at Vulert Scanner.
Yes, consider using other reputable npm packages that offer similar functionality without the associated risks of malicious code.