That is scary. But it does require using a custom repository, so hopefully few were hit.
We use poetry, enough which allows specifying additional package repos and it looks like we’d be susceptible to the same attack, but for our internal package index. Looks like I have something to fix this week, thanks for the link!
There already are. I barely missed a linux virus from a hijacked python package what… two years ago?
Linux desktops are quite non-homogenous though, so their vectors/nature is kinda different.
Sure, and they have been for decades. They’re still not that common though.
What Python package almost got you?
I wonder if I’ve been hit but just haven’t noticed because I tend to run things in containers.
Pytorch Nightly: https://pytorch.org/blog/compromised-nightly-dependency/
https://www.theregister.com/2023/01/04/pypi_pytorch_dependency_attack/
Funnily enough I can’t even post what it does without the Lemmy comment filter zapping me, but it tried to scrape accounts and passwords.
Was pretty scary from my perspective. I missed it by a week. PyPi is a mess, and it makes me wonder how much isn’t caught.
That is scary. But it does require using a custom repository, so hopefully few were hit.
We use poetry, enough which allows specifying additional package repos and it looks like we’d be susceptible to the same attack, but for our internal package index. Looks like I have something to fix this week, thanks for the link!
PyTorch Nightly: