Malicious Code Injection in lina-poke53: A Threat to npm Users
Summary
MAL-2025-158138: Malicious code in lina-poke53 (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-poke53 is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with altered metadata. Its primary functionality is compromised, leading to significant risks for developers who may unknowingly use it.
Vulnerability Detail
The vulnerability in lina-poke53 stems from its association with a malicious campaign that floods the npm registry with spammy packages. The package contains scripts that modify the package.json file to remove private flags, change version numbers, and create random package names, which can lead to the pollution of the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who might inadvertently install these malicious packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-poke53
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-poke53 package and monitor your project for any dependencies that may have inadvertently included it. You can also use tools like Vulert to scan your package-lock.json file for vulnerabilities. For example, you can check your application using the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The lina-poke53 package poses a significant threat due to its malicious code designed to manipulate the npm registry. Developers are advised to remove this package and monitor their projects for any vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for lina-poke53 →
FAQ
lina-poke53 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 malicious packages that may compromise your application's security and integrity.
You should uninstall the package immediately using the command npm uninstall lina-poke53 and check your project for any other affected dependencies.
You can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without needing to install any additional software.
Regularly update your dependencies, use trusted sources for packages, and utilize tools like Vulert to keep track of vulnerabilities.