Malicious Code Injection in lina-poke4: A Threat to npm Ecosystem
Summary
MAL-2025-158123: Malicious code in lina-poke4 (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
lina-poke4 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in lina-poke4 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, potentially leading to further security issues in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-poke4
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 lina-poke4 package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The lina-poke4 package poses a significant threat due to its malicious code, which can compromise the integrity of the npm ecosystem. It is crucial to remove this package from your projects and stay vigilant about the security of your dependencies.
See every vulnerability recorded for lina-poke4 →
FAQ
lina-poke4 is an npm package involved in the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code can modify your package.json file, remove private flags, and publish compromised versions of your packages, leading to potential security vulnerabilities.
You should uninstall the lina-poke4 package immediately using 'npm uninstall lina-poke4' and monitor your project for any other vulnerabilities.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.