Malicious Code Injection in lala-poke20: A Threat to npm Users
Summary
MAL-2025-157943: Malicious code in lala-poke20 (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-poke20' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publication of derivative packages, often with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, but it also exposes users to significant risks due to the malicious code embedded within these packages.
Vulnerability Detail
The vulnerability in 'lala-poke20' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants that pollute the npm registry, potentially leading to security risks for developers who unknowingly use these compromised packages. The malicious code is designed to exploit the npm ecosystem, making it crucial for users to be vigilant.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lala-poke20
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, users can avoid using 'lala-poke20' and any packages that depend on it. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'lala-poke20' package poses a significant risk due to its malicious code designed to exploit the npm ecosystem. Users are urged to take immediate action by updating or removing the package to safeguard their projects. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.
See every vulnerability recorded for lala-poke20 →
FAQ
'lala-poke20' is an npm package that is part of a campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your project, which may compromise security and functionality.
You should update the package to a patched version if available or remove it from your project to mitigate risks.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.