Malicious Code Injection in layla-poke76 Package: npm Vulnerability Alert
Summary
MAL-2025-158064: Malicious code in layla-poke76 (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 layla-poke76 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages. However, it has been compromised, leading to significant security risks for developers using it.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the layla-poke76 package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to inflate developer reputation scores for token rewards while polluting the npm registry with numerous derivative packages. This can lead to a loss of trust in the npm ecosystem and potential exploitation of affected applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke76
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, avoid using the layla-poke76 package and monitor your project for any dependencies that may have been affected by this malicious code. Regularly audit your package-lock.json file to identify any potentially compromised packages.
Conclusion
The layla-poke76 package has been identified as containing malicious code that poses a significant risk to developers and their projects. Immediate action is required to remove this package and safeguard your applications. Utilize tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for layla-poke76 →
FAQ
The layla-poke76 package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The malicious code modifies your package.json file, potentially leading to unauthorized package republishing and pollution of the npm registry, which can compromise your project's integrity.
You should uninstall the layla-poke76 package immediately and check for any dependencies that may be affected. Use npm uninstall layla-poke76 to remove it.
Yes, you can use Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software. You can check your application against the vulnerability using the Vulert playground at Vulert Scanner without any signup.
Regularly audit your dependencies, keep your packages updated, and use tools like Vulert to monitor for vulnerabilities in your projects.