Last week's malicious LiteLLM release never reached a developer's machine at two...
Feross @feross@infosec.exchange
Last week's malicious LiteLLM release never reached a developer's machine at two Socket customers: a leading AI lab and one of America's three largest automakers.
LiteLLM gets about 23 million downloads a week. Version 1.107.0, published to PyPI on October 21, stole credentials every time Python started, even if the code never imported LiteLLM. Socket flagged it as malware seven minutes after it was published.
At the AI lab, Socket Firewall blocked it the moment it reached their PyPI index. Over the next couple of hours there were several more attempts to install it. Every one was blocked, and no credentials needed rotating.
At the automaker, a policy holds back brand-new releases, so pip never offered it to anyone.
Teams without a check in front of the install found out from an advisory, then spent the day finding where it ran and rotating keys.