Malicious Code Injection in layla-poke45: A Threat to npm Ecosystem
Summary
MAL-2025-158030: Malicious code in layla-poke45 (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
layla-poke45 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package compromises the integrity of the npm ecosystem, making it a significant concern for developers and users alike.
Vulnerability Detail
The vulnerability in layla-poke45 originates from its association with the tea.xyz token reward campaign, which aims to inflate developer reputation scores by flooding the npm registry with numerous derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also poses risks of unintentional dependency inclusion in projects that use this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke45
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-poke45 and any packages that depend on it. Regularly audit your project's dependencies using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The layla-poke45 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate developer reputation scores. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for layla-poke45 →
FAQ
layla-poke45 is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising its security and integrity.
You should uninstall the package immediately using the command: npm uninstall layla-poke45.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can also check your application against vulnerabilities using the Vulert playground without any signup.
No patches are available for layla-poke45 as it is recommended to remove the package entirely due to its malicious nature.