Malicious Code Injection in lina-poke3: A Threat to npm Users
Summary
MAL-2025-158112: Malicious code in lina-poke3 (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-poke3 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to manipulate package metadata and generate derivative packages with the intent of inflating developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that alter package configurations.
Vulnerability Detail
The vulnerability in lina-poke3 originates from its association with the tea.xyz token reward campaign, which floods the npm registry with malicious packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in 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-poke3
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 measure, you can avoid using the lina-poke3 package and any other packages that may be associated with the tea.xyz campaign. Monitor your package dependencies closely and consider using tools like Vulert to identify vulnerabilities in your project.
Conclusion
The lina-poke3 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for lina-poke3 →
FAQ
lina-poke3 is an npm package that has been identified as part of a malicious campaign to manipulate package metadata and inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and exposing it to further security risks.
You should uninstall the lina-poke3 package immediately using the command: npm uninstall lina-poke3.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities without any signup at the Vulert playground.
While there may be alternatives, it is essential to research and verify the integrity of any package before use. Always opt for well-maintained and trusted packages.