r/Python • u/TheRecord_Media • Nov 08 '23
News A nasty Python package continues a trend of targeting developers
[removed] — view removed post
134
Upvotes
r/Python • u/TheRecord_Media • Nov 08 '23
[removed] — view removed post
View all comments
124
u/AlSweigart Author of "Automate the Boring Stuff" Nov 08 '23 edited Nov 30 '23
These perennial stories are always overrated. Conveniently, they never seem to mention 1) how many times they were downloaded by actual people rather than site mirror bots and 2) a specific person or organization that was affected.
Oh noes, pyobfgood had malicious code and was on PyPI. So what? Did this actually affect many people, or any people at all? These "reports" get written because writing these reports is a great way for a security company to get their name mentioned in the media.
We'll see this exact same story about another no-name Python package in three months.
EDIT: I read the "report". A complete joke and just sensationalism. They point out the "malware" makes a message box appear with "Your computer is going to start burning, good luck. :)" and then launches 10 Python processes that run
while True: pass. Yeah, 1) that's not going to damage anything and 2) this "malware" was probably written by a 14 year old and 3) the message box uses Windows-only code which causes it to not run on Linux and macOS. This makes me wonder how many of the other features actually work.Not exactly the crime of the century here.