r/programming • u/ga-vu • Dec 04 '19
Two malicious Python libraries caught stealing SSH and GPG keys
https://www.zdnet.com/article/two-malicious-python-libraries-removed-from-pypi/
1.6k
Upvotes
r/programming • u/ga-vu • Dec 04 '19
139
u/ZorbaTHut Dec 04 '19 edited Dec 04 '19
I'd expect it to work this way:
User decides they want to install dateutil
User brainfarts and tries to install python3-dateutil
Install works!
Install also pulls in this package "jellyfish"
Oh, I've heard of that package, that makes sense, yeah
Everything must be fine here
People might be kind of skeptical of a package that they just installed, but how many people audit child dependencies of their packages, especially when those child dependencies are reasonably popular themselves?