litellm suffered a PyPI supply chain attack; a simple installation could steal all sensitive credentials, including SSH keys.

avatar
MarsBit
03-25
This article is machine translated
Show original
According to Mars Finance, Andrej Karpathy posted on the X platform that litellm suffered a PyPI supply chain attack. Simply executing `pip install litellm` can steal SSH keys, AWS/GCP/Azure credentials, Kubernetes configurations, Git credentials, environment variables, encrypted wallets, SSL private keys, CI/CD keys, and database passwords. litellm has 97 million monthly downloads, and the risk can spread to all projects that rely on litellm, such as dspy. The maliciously injected version was deployed for less than an hour before being discovered when a flaw in the attack code caused Callum McMahon's machine to run out of memory and crash. Andrej Karpathy stated that supply chain attacks are one of the most threatening problems in modern software, as each dependency installation can introduce tampered packages deep into the dependency tree. He is therefore increasingly inclined to reduce dependencies and instead use LLM to directly implement simple functions.

Source
Disclaimer: The content above is only the author's opinion which does not represent any position of Followin, and is not intended as, and shall not be understood or construed as, investment advice from Followin.
Like
73
Add to Favorites
13
Comments