Malicious Code Injection in layla-poke43: A Threat to npm Ecosystem
Summary
MAL-2025-158028: Malicious code in layla-poke43 (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-poke43' 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. These packages often contain scripts designed to manipulate the npm registry and inflate developer reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability in 'layla-poke43' originates from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The malicious payload is designed to exploit developers and users by creating confusion and undermining trust in legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke43
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-poke43' and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes and consider using tools like Vulert to keep track of vulnerabilities in your dependencies.
Conclusion
The 'layla-poke43' package poses a significant risk to the npm ecosystem due to its malicious code designed to manipulate package integrity. It is crucial for developers to be vigilant, remove any affected packages, and utilize monitoring tools like Vulert to safeguard their projects against such vulnerabilities.
See every vulnerability recorded for layla-poke43 →
FAQ
'layla-poke43' is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and affecting overall security.
You should uninstall 'layla-poke43' immediately using 'npm uninstall layla-poke43' and review your other dependencies for any potential vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring installation. You can also check your application using the Vulert playground.
Yes, tools like Vulert can help you monitor and alert you in real-time for open-source vulnerabilities in your software.