Earlier quoted context omitted.
Update: - Impacted versions (v1.82.7, v1.82.8) have been deleted from PyPI - All maintainer accounts have been changed - All keys for github, docker, circle ci, pip have been deleted We are still scanning our project to see if there's any more gaps. If you're a security expert and want to help, email me - krrish@berri.ai
> All maintainer accounts have been changed What about the compromised accounts(as in your main account)? Are they completely unrecoverable?
Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
521–530 of 569 posts
Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#522FYI, npm/bun/pnpm/uv now all support setting a minimum release age for packages. I updated my global configs to set min release age to 7 days: ~/.config/uv/uv.toml exclude-newer = "7 days" ~/.npmrc min-release-age=7 # days ~/Library/Preferences/pnpm/rc minimum-release-age=10080 # minutes ~/.bunfig.toml [install] minimumReleaseAge = 604800 # seconds
I understand that this is a good idea but it does feel really weird. Add a min-release-age to see if anyone who doesn't gets bitten. Next up, we're going to advise a minimum-release-age of 14 days, cause most other projects use 7 days.
And maybe more importantly: security tools and researchers.
Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#523Earlier quoted context omitted.
Over the last ~15 years I have been shocked by the amount of spam on social networks that could have been caught with a Bayesian filter. Or in this case, a fairly simple regex.
It's the bear trash lock problem all over again. It could be solved by the filter but filter would also have a bunch of false positives
Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#524Earlier quoted context omitted.
Accountability is on the people using a billion third party dependencies, you need to take responsibility for every line of code you use in your project.
If you are really talking about dependencies, I’m not sure you’ve really thought this all the way through. Are you inspecting every line of the Python interpreter and its dependencies before running? Are you reading the compiler that built the Python interpreter?
Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#525Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#526It will only take one agent-led compromise to get some Claude-authored underhanded C into llvm or linux or something and then we will all finally need to reflect on trusting trust at last and forevermore.
Reflect in what way? The primary focus of that talk is that it’s possible to infect the binary of a compiler in a way that source analysis won’t reveal and the binary self replicates the vulnerability into other binaries it generates. Thankfully that particular problem was “solved” a while back [1] even if not yet implemented widely. However, the broader idea of supply chain attacks remains challenging and AI doesn’t…
Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#527Earlier quoted context omitted.
Just because this attack example did not contain container escape exploits does not mean this is safe. Its better than nothing but nothing that will save us.
Those supply chain attacks we are seeing are bad, but if someone burns a 0day container escape for it, it would probably be a net positive effect on security overall. Just saying this is FUD.
Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#528Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#529Earlier quoted context omitted.
Those supply chain attacks we are seeing are bad, but if someone burns a 0day container escape for it, it would probably be a net positive effect on security overall. Just saying this is FUD.
FUD is crypto and tech bro speech. Using containers without vm, gvisor or similar is just irresponsible.
Re: Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised
#530Earlier quoted context omitted.
> Inside the sandbox but not on my machine. Show me how it can access an unmounted directory. So it says right on the tin of my favorite distro: 'Warning: Beware that the docker group membership is effectively equivalent to being root! Consider using rootless mode below.' So # docker run super-evil-oci-container with a bind mount or two and your would-be attacker doesn't need to guess your sudo password.
> docker run super-evil-oci-container 1. That super evil OCI container still needs to find a vulnerability in Docker 2. You can run Docker in rootless mode e.g. Orbstack runs without root
Rootless mode requires unprivileged user namespaces, disabled on almost any distribution because it's a huge security hole in and of itself.