Malicious Code Injection in layla-poke92: A Threat to npm Users
Summary
MAL-2025-158082: Malicious code in layla-poke92 (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-poke92' 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. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can harm developers' reputations and compromise their projects.
Vulnerability Detail
The vulnerability in 'layla-poke92' originates from its association with a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names and continuously republishes variants to pollute the npm registry. This can lead to security risks for developers who unknowingly integrate these malicious packages into their projects, potentially compromising their applications and data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke92
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-poke92' and any packages that may have been derived from it. Monitor your package-lock.json file for any unauthorized changes and consider using tools like Vulert to help identify vulnerabilities in your dependencies.
Conclusion
The 'layla-poke92' package poses a significant threat to npm users due to its malicious code injection. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for layla-poke92 →
FAQ
'layla-poke92' is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
If you have integrated 'layla-poke92' into your project, it may expose your application to security risks and compromise your data.
You should uninstall the package immediately using 'npm uninstall layla-poke92' and review your other dependencies for potential vulnerabilities.
You can use tools like 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 any signup.