Malicious Code Injection in layla-poke30: A Threat to npm Ecosystem
Summary
MAL-2025-158014: Malicious code in layla-poke30 (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-poke30' 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 floods the npm registry with harmful packages designed to inflate developer reputation scores for token rewards. The presence of such malicious packages poses a significant risk to developers and their projects.
Vulnerability Detail
The vulnerability in 'layla-poke30' originates from its association with the tea.xyz token reward campaign. This package contains scripts that automatically generate and publish derivative packages with randomized names, effectively polluting the npm registry. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, leading to potential security risks and reputation damage for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke30
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, avoid using 'layla-poke30' 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.
Conclusion
The 'layla-poke30' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing and inflate developer reputation scores. It is crucial for developers to be vigilant about the packages they use and to regularly monitor for vulnerabilities to protect their projects.
See every vulnerability recorded for layla-poke30 →
FAQ
'layla-poke30' is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of harmful derivative packages.
Using 'layla-poke30' can lead to security risks, including the potential exposure of sensitive data and the pollution of your project's dependency tree with malicious packages.
If you have installed 'layla-poke30', you should uninstall it immediately using 'npm uninstall layla-poke30' and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.