Malicious Code Injection in layla-poke82: A Threat to npm Users
Summary
MAL-2025-158071: Malicious code in layla-poke82 (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-poke82' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. Its primary function is to manipulate the npm registry by generating and publishing derivative packages with altered metadata, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'layla-poke82' stems from its inclusion in a malicious campaign that employs autopublish scripts to create numerous derivative packages with randomized names. These scripts modify the package.json file by removing private flags, changing version numbers, and continuously republishing variants. 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-poke82
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-poke82' and any other packages associated with the tea.xyz token reward campaign. Instead, look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The 'layla-poke82' package poses a significant security risk due to its involvement in a malicious npm campaign. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for layla-poke82 →
FAQ
'layla-poke82' is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
If 'layla-poke82' is included in your project, it can lead to the installation of numerous malicious packages, compromising the security of your application.
You should uninstall 'layla-poke82' immediately and review your project dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
Yes, look for reputable packages that offer similar functionality but have a verified track record and positive community feedback.