Malicious Code Injection in layla-poke80: A Threat to npm Ecosystem
Summary
MAL-2025-158069: Malicious code in layla-poke80 (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
layla-poke80 is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem. This package is associated with the tea.xyz token reward initiative, which has led to the proliferation of numerous derivative packages designed to manipulate developer reputation scores. The malicious nature of this package compromises the integrity of the npm registry and poses significant risks to developers and users alike.
Vulnerability Detail
The vulnerability in layla-poke80 stems from its inclusion in a campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. These scripts modify the package.json file by removing private flags, altering version numbers, and creating random package names, which leads to the pollution of the npm registry. This not only affects the reputation of legitimate developers but also exposes users to potential security risks from unverified packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke80
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 layla-poke80 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages to ensure that no malicious packages are present. You can also utilize tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The layla-poke80 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate developer reputation scores. It is essential for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for layla-poke80 →
FAQ
layla-poke80 is an npm package that has been linked to a malicious campaign aimed at manipulating developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and integrity.
You should uninstall the package immediately using 'npm uninstall layla-poke80' and check for any other affected packages.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.