Malicious Code Injection in layla-poke72: A Threat to npm Ecosystem
Summary
MAL-2025-158060: Malicious code in layla-poke72 (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-poke72 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is suspected to be involved in a token reward campaign that has led to the proliferation of malicious packages. Its primary function is to facilitate the distribution of JavaScript libraries, but it has been compromised to execute harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in layla-poke72 originates from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke72
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-poke72 and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The layla-poke72 package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and their applications. It is crucial to remove this package and monitor for any future vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for layla-poke72 →
FAQ
layla-poke72 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
If your application uses layla-poke72, it may be at risk of having its package.json modified, leading to potential security issues and exposure to malicious code.
You should immediately remove the layla-poke72 package from your project and check for any other affected packages. Use npm uninstall layla-poke72 to remove it.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. Visit https://vulert.com for more information.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.