Malicious Code Injection in lina-poke48: A Threat to npm Ecosystem
Summary
MAL-2025-158132: Malicious code in lina-poke48 (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-poke48 is an npm package that appears to be part of a token reward campaign associated with the tea.xyz protocol. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in lina-poke48 stems from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers inadvertently using compromised packages, potentially exposing their applications to security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lina-poke48
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-poke48 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The lina-poke48 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata and flood the registry. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for lina-poke48 →
FAQ
lina-poke48 is an npm package that has been identified as part of a malicious campaign to flood the npm registry with compromised packages.
The malicious code can modify your package.json file, remove private flags, and publish random package names, potentially leading to security vulnerabilities in your application.
You can use Vulert, which monitors open-source vulnerabilities in your software using just package-lock.json. Visit Vulert Scanner to check if your application is affected without any signup.
If you have installed lina-poke48, you should uninstall it immediately using the command 'npm uninstall lina-poke48' and audit your dependencies for any other vulnerabilities.
To prevent similar vulnerabilities, regularly update your dependencies, use trusted packages, and conduct security audits on your project.