Malicious Code Injection in lgjipi-devapptea: npm Package Vulnerability
Summary
MAL-2025-105106: Malicious code in lgjipi-devapptea (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 lgjipi-devapptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The presence of malicious code in this package poses a significant risk to developers and users relying on its functionality.
Vulnerability Detail
The vulnerability in lgjipi-devapptea originates from its inclusion in a campaign that utilizes autopublish scripts to create and publish numerous derivative packages. This malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to pollution of the npm registry. The ramifications include potential security risks for applications using these packages, as they may inadvertently incorporate malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lgjipi-devapptea
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, consider removing the lgjipi-devapptea package from your project until a secure version is released. You can do this by executing: npm uninstall lgjipi-devapptea.
Conclusion
The lgjipi-devapptea package contains a serious vulnerability due to its association with malicious code designed to manipulate npm registry data. It is crucial for developers to update or remove this package to maintain the security of their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for lgjipi-devapptea →
FAQ
The lgjipi-devapptea package is part of a token reward campaign that has been associated with malicious activities in the npm ecosystem.
This vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time 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 needing to sign up.
If you cannot update the package right away, consider removing it from your project as a temporary measure until a secure version is available.