Malicious Code Injection in lina-poke46: A Threat to npm Packages
Summary
MAL-2025-158130: Malicious code in lina-poke46 (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-poke46 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package, like others in the tea.xyz token reward scheme, is designed to manipulate the npm ecosystem by generating and publishing numerous derivative packages with the intent to inflate developer reputation scores. Its functionality is compromised by the presence of malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in lina-poke46 stems from its inclusion in a malicious campaign that deploys scripts to modify the package.json file. These scripts remove private flags, alter version numbers, and create random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly install these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-poke46
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, avoid using the lina-poke46 package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your package dependencies to ensure they are secure.
Conclusion
The lina-poke46 package poses a significant threat due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Immediate action should be taken to remove this package from any projects.
See every vulnerability recorded for lina-poke46 →
FAQ
lina-poke46 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the installation of compromised packages, which may expose your project to further security risks and instability.
You should uninstall the package immediately using the command npm uninstall lina-poke46 and review your project's dependencies for any other potentially malicious 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 check your application for vulnerabilities using the Vulert playground at Vulert Scanner.
Yes, consider using other reputable npm packages that offer similar functionality without the associated risks of malicious code.