Malicious Code Injection in layla-poke78: A Threat to npm Ecosystem
Summary
MAL-2025-158066: Malicious code in layla-poke78 (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 layla-poke78 is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality through reusable code. However, this package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages, thereby compromising the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in layla-poke78 originates from its association with a token reward campaign that generates and publishes malicious packages. These packages contain scripts designed to modify the package.json file, removing private flags and altering version numbers. The malicious payload creates random package names and continuously republishes them, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke78
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 layla-poke78 and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The layla-poke78 package poses a significant threat to the npm ecosystem due to its malicious code injection. It is essential for developers to be vigilant and remove any affected packages to maintain the security of their applications. Utilizing tools like Vulert can aid in monitoring for vulnerabilities effectively.
See every vulnerability recorded for layla-poke78 →
FAQ
layla-poke78 is an npm package that has been identified as part of a malicious campaign to flood the npm registry with compromised packages.
Using layla-poke78 can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall layla-poke78' and check for any other affected packages.
You can use Vulert, which monitors your package-lock.json for open-source 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 any signup.