Malicious Code Injection in layla-poke39: npm Package Vulnerability
Summary
MAL-2025-158023: Malicious code in layla-poke39 (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-poke39 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards through various automated scripts. However, this package has been identified as malicious, containing scripts that manipulate its own metadata and publish derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in layla-poke39 originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of projects relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall layla-poke39
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-poke39 and replace it with a trusted alternative package that provides similar functionality. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The layla-poke39 package has been identified as malicious, posing a significant risk to applications that utilize it. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security and integrity of your projects.
See every vulnerability recorded for layla-poke39 →
FAQ
layla-poke39 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious scripts.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your application by introducing untrusted code.
You should uninstall the package immediately using the command: npm uninstall layla-poke39.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.