Malicious Code Injection in allied-lime-python Package
Summary
MAL-2025-66743: Malicious code in allied-lime-python (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 allied-lime-python package is part of the npm ecosystem, which is used for managing JavaScript packages. This package has been implicated in a malicious campaign that aims to exploit npm's publishing mechanisms. It is designed to generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards associated with the tea.xyz protocol.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the allied-lime-python package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants pollutes the npm registry, potentially leading to security risks for developers who unknowingly integrate these malicious packages into their projects. The primary risk is the compromise of the integrity of the npm ecosystem, which can affect numerous applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall allied-lime-python
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 allied-lime-python package from your project by executing the command: npm uninstall allied-lime-python. This will prevent any potential exploitation until a safe version is confirmed.
Conclusion
The allied-lime-python package has been identified as containing malicious code that poses significant risks to developers and the integrity of the npm ecosystem. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for allied-lime-python →
FAQ
The allied-lime-python package is an npm package that has been linked to a malicious campaign aimed at manipulating the npm registry.
The malicious code can alter your package.json file, potentially leading to the inclusion of harmful dependencies and compromising your project's security.
If you have installed the allied-lime-python package, you should uninstall it immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.