Malicious Code Injection in lina-poke37: A Threat to npm Packages
Summary
MAL-2025-158120: Malicious code in lina-poke37 (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-poke37 is an npm package that is part of the tea.xyz token reward campaign, which has been associated with a series of malicious activities. This package is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. The presence of malicious scripts within this package poses a significant risk to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in lina-poke37 originates from its involvement in the tea.xyz token reward campaign, which floods the npm registry with malicious packages. The package contains scripts that modify 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, polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-poke37
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 the lina-poke37 package and monitor your project for any dependencies that may have inadvertently included it. Regularly check your package-lock.json file for any suspicious packages.
Conclusion
The lina-poke37 package poses a significant security risk due to its malicious code that modifies package metadata and floods the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for lina-poke37 →
FAQ
lina-poke37 is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and affecting the overall security of your application.
If you have installed lina-poke37, you should uninstall it immediately using the command 'npm uninstall lina-poke37' and review your project for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can also check your application against vulnerabilities using the Vulert playground without any signup.
There are no patches available for lina-poke37. The best course of action is to remove the package entirely from your project.