Malicious Code Injection in lina-poke51: A Threat to npm Ecosystem
Summary
MAL-2025-158136: Malicious code in lina-poke51 (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-poke51 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package, like many others in the campaign, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages. Its functionality is compromised by the presence of malicious scripts that alter package metadata and republish variants, leading to pollution of the npm registry.
Vulnerability Detail
The vulnerability in lina-poke51 stems from its association with the tea.xyz token reward campaign, which employs malicious scripts to modify package.json files. These scripts remove private flags, alter version numbers, and generate random package names, ultimately leading to the continuous republishing of these variants. This not only affects the integrity of the npm registry but also poses risks to developers who may unknowingly use these compromised packages. The malicious payload can inflate reputation scores fraudulently, undermining trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-poke51
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 remove the lina-poke51 package from your project by executing: npm uninstall lina-poke51. This will prevent any potential exploitation of the vulnerability until a patched version is available.
Conclusion
The lina-poke51 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and republish variants. It is crucial for developers to be aware of this vulnerability, take immediate action to remove affected packages, and utilize tools like Vulert to monitor for future vulnerabilities.
See every vulnerability recorded for lina-poke51 →
FAQ
lina-poke51 is an npm package that has been identified as part of a malicious campaign designed to manipulate developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its integrity and security.
You should uninstall the package immediately and check for any updates or patches that address the vulnerability.
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 without any signup.
Regularly update your dependencies, use tools like Vulert for monitoring, and review package sources before installation to mitigate risks.