Malicious Code Injection in lala-poke18: A Threat to npm Ecosystem
Summary
MAL-2025-157940: Malicious code in lala-poke18 (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-poke18' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with random names. The primary function of these packages is to inflate developer reputation scores for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'lala-poke18' originates from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of variants. This behavior not only pollutes the npm registry but also compromises the security of applications relying on this package, potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lala-poke18
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-poke18' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages and remove any that are suspicious or unverified.
Conclusion
The 'lala-poke18' package poses a significant threat due to its malicious code that alters package.json files and floods the npm registry. It is crucial to remove this package and monitor your dependencies to maintain the security of your applications.
See every vulnerability recorded for lala-poke18 →
FAQ
The primary risk is that it modifies package.json files, potentially allowing for further exploitation and compromising the security of applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using 'npm uninstall lala-poke18' and check for any other affected packages.
Currently, there are no patched versions available. It is recommended to remove the package entirely.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.