this post was submitted on 02 Jun 2025
1506 points (99.4% liked)
Technology
70877 readers
3187 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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!