Malicious Code Injection in lina-poke71: A Threat to npm Users
Summary
MAL-2025-158158: Malicious code in lina-poke71 (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-poke71 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, allowing developers to publish and manage their packages. However, it has been identified as malicious due to its involvement in generating and publishing derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in lina-poke71 arises from its malicious payload that 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 the ecosystem. The origin of this issue is linked to the broader tea.xyz token reward campaign that exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-poke71
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-poke71 package and monitor your project for any dependencies that may inadvertently include it. Regularly audit your package-lock.json file to identify and remove any malicious packages.
Conclusion
The lina-poke71 package poses a significant threat to npm users due to its malicious behavior, which can compromise the integrity of the npm registry. It is crucial to remove this package and monitor your projects for any dependencies that may include it. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for lina-poke71 →
FAQ
lina-poke71 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies.
You should uninstall the package immediately using the command npm uninstall lina-poke71.
Yes, you can use Vulert to monitor your package-lock.json file for open-source vulnerabilities in real-time without requiring installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.