Malicious Code Injection in layla-poke81: A Threat to npm Users
Summary
MAL-2025-158070: Malicious code in layla-poke81 (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-poke81' is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code components. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing system, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in 'layla-poke81' stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to modify the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also compromises the integrity of the affected applications, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke81
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-poke81' and any other packages that may be part of the malicious campaign. Monitor your package-lock.json file for any unauthorized changes or additions. You can also use tools like Vulert to monitor your dependencies for vulnerabilities without requiring access to your code or installation.
Conclusion
The 'layla-poke81' package poses a significant threat to npm users due to its malicious code that alters package configurations and floods the npm registry. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to ensure the security of their applications.
See every vulnerability recorded for layla-poke81 →
FAQ
'layla-poke81' is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's security and integrity.
You should uninstall 'layla-poke81' immediately using the command 'npm uninstall layla-poke81' and review your other dependencies for security.
You can use Vulert, which allows you to monitor your package-lock.json for vulnerabilities in real-time without needing to access your code.
There is no patch for 'layla-poke81' as it is recommended to remove the package entirely due to its malicious nature.