Malicious Code Injection in lala-poke24: A Threat to npm Users
Summary
MAL-2025-157947: Malicious code in lala-poke24 (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-poke24' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to manipulate the npm registry by generating and publishing derivative packages with altered metadata, ultimately aiming to inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'lala-poke24' arises from its malicious code that modifies the package.json file to remove private flags, changes version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's package management system for malicious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lala-poke24
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 manually remove the 'lala-poke24' package from your project by running the command: npm uninstall lala-poke24. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The 'lala-poke24' package poses a significant risk due to its malicious code designed to manipulate the npm registry. Users are advised to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can enhance security and provide real-time alerts for potential threats.
See every vulnerability recorded for lala-poke24 →
FAQ
The vulnerability can lead to the pollution of the npm registry, affecting the integrity of other packages and potentially compromising your project's security.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
If you have installed 'lala-poke24', it is recommended to uninstall it immediately and monitor your project for any unusual behavior.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated with security advisories.
Vulert is a monitoring tool that uses package-lock.json to alert users in real-time about open-source vulnerabilities in their software, helping to maintain security.