Malicious Code Injection in layla-poke20: npm Package Vulnerability
Summary
MAL-2025-158003: Malicious code in layla-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 layla-poke20 package 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 developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in layla-poke20 originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to security risks, including the potential for unintentional use of compromised packages by developers, which can further propagate malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-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, you can avoid using the layla-poke20 package and replace it with a verified alternative. Always verify the integrity and source of packages before including them in your project.
Conclusion
The layla-poke20 package poses a significant security risk due to its malicious code designed to manipulate npm registry and developer reputation. It is essential to remove this package and ensure that your project relies on secure and verified dependencies.
See every vulnerability recorded for layla-poke20 →
FAQ
layla-poke20 is an npm package that is part of a malicious campaign aimed at manipulating developer reputation scores through automated package publishing.
Using the layla-poke20 package can expose your project to malicious code, potentially leading to security breaches and compromised application integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you have used the layla-poke20 package, it is recommended to uninstall it immediately and review your project's dependencies for any other potentially malicious packages.
There are no patches available for the layla-poke20 package. The best course of action is to remove it from your project and replace it with a trusted alternative.