The LiteLLM publishing system was hacked to spread malware.
The LiteLLM publishing system was hacked to spread data theft malware.
According to a report by the website Bleeping Computer, a supply chain attack against the Project LiteLLM, an open source software that acts as an intermediary (Gateway) used to connect users' systems with AI or Artificial Intelligence, a large language model (LLM or Large Language Model) through the implementation of the API (Application Programming Interface) of this tool. In this attack, hackers inserted infostealer-capable malware. Stealing the victim's password with a remote code execution tool (RCE or Remote Code Execution). A list of package files on the Repo or Repository platform is as follows:
PyPI: All 7 Wheel (.whl) packages of litellm = = 1.107.0 that are open for download in the range of 11: 39: 51 to 13: 23 UTC time.
Docker Hub: v1.107.0 The latest, main-latest, and main-stable: image files (Image) containing sha256: 1bbcb1443bc962e45f5aad53fe3d2c30600e0379715fb6c664cdd3ac126c339e check code data, which are available for download between 11: 46: 56 and 14: 20 at UTC.
GHCR: v1.107.0 The latest, main-latest, and main-stable image files are released for download at 11: 46: 56 to 13: 51 UTC time, consisting of the following named files.
ghcr.io/berriai/litellm: sha256: 1bbcb1443bc9...
ghcr.io/berriai/litellm-database: sha256: c00f9d92c427...
ghcr.io/berriai/litellm-non_root: sha256: 7b00e91cd2fe...
The research team found that hackers did not modify the main file of the tool inside the installation file, but inserted three malware files: cook.pth, cook.py, and sitecustomize.py inside Python's Library folder. During installation, Python will run a file in the .pth genus, which will lead to a sitecustomize.py malware call that will serve as a separate malware per-process (Detached Loader). It will check the pointer on Github and download the malware file (Payload) in Python from the server. Control (C2 or Command and Control) comes down to install. The malware is focused on stealing the following data.
Password uses cloud services (Cloud) and Deployment tools such as AWS, Azure, Google Cloud, Kubernetes, and Docker, as well as Infrastructure Management Secrets.
The AI Tools and Configuration, such as the Authentication File in the AI Development Tools, includes password information, access to AI tools, and settings of models saved on LiteLLM.
Developer Secrets Key Data and Private Key for Git, GitHub, npm, PyPI, and CI / CD Passwords, which cover .env files and SSH, GPG, TLS keys
Web browser information such as logged login codes, cookies files, Autofill information, Payment information, and Web browser usage history.
Host and runtime data, such as environment variables, Shell and application history, system and network data, etc.
The stolen data is encrypted with the AES-256-CBC key in conjunction with the RSA-4096 key and uploaded to "litellm [.] dev / healthcheck."
The problem file has now been deleted, but for the affected system, the source recommends Isolating the problem body, restarting the use of a backup that was previously malware-infected, and changing all the Secrets keys for security, as well as reverting to a malware-free version of LiteLLM like 1.106.2.
# Trending # lemon 8 diary # litellm # Lemon 8 Howtoo # freedomhack


































