Malicious Code Injection in pilka-lni-lima Package: npm Vulnerability Overview
Summary
MAL-2025-164150: Malicious code in pilka-lni-lima (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
The pilka-lni-lima package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary functionality of pilka-lni-lima is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the pilka-lni-lima package originates from its association with a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and creating random package names, which leads to pollution of the npm registry. This can result in security risks for developers who unknowingly use these compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall pilka-lni-lima
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 pilka-lni-lima package from your project by executing: npm uninstall pilka-lni-lima. This will prevent any malicious code from executing while you assess the situation and look for a secure alternative package.
Conclusion
The pilka-lni-lima package has been identified as containing malicious code that can compromise the integrity of applications using it. It is essential to take immediate action by updating or removing the package to safeguard your projects from potential threats.
See every vulnerability recorded for pilka-lni-lima →
FAQ
The pilka-lni-lima package is a JavaScript package in the npm ecosystem, primarily associated with token reward campaigns.
The malicious code can modify your package.json file, remove private flags, and republish variants, potentially leading to security risks and application instability.
You should uninstall the pilka-lni-lima package immediately and monitor your application for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.