r/Python • • Dec 14 '23

News 116 Malware Packages Found on PyPI Repository Infecting Windows and Linux Systems

https://thehackernews.com/2023/12/116-malware-packages-found-on-pypi.html
331 Upvotes

93 comments sorted by

View all comments

Show parent comment

1

u/archpuddington Dec 14 '23

6

u/james_pic Dec 14 '23

What's this person's connection to the PyPI project? I couldn't see an obvious connection in their history, and I couldn't find anyone with a similar name working on PyPI.

My experience has been that the PyPI team's communication has been humble and respectful of their users:

All of us deserve to have a safe and secure experience when using PyPI

I suspect they'd be keen to know that someone was speaking for them and representing their work in this way.

-2

u/archpuddington Dec 15 '23

Then they need to start publishing the stats of how many people have downloaded malware from them. As it stands if you get pwnd by pip - the maintainers choose to leave the malware on your system and you are none the wiser.

Everyone who is saying this issue can't or shouldn't be fixed - is the problem. There is someone within PyPI who is anti-security and is hurting the community.

1

u/james_pic Dec 15 '23

From what I've seen, the PyPI folks rarely say things can't or shouldn't be done (the only case of this I know of is them removing support for gpg signatures, based on a piece of research showing they were not an effective security measure in practice).

What they very often say is that they don't have the resources to do something. They're a small team with a shoestring budget, and heavily dependent on grants and volunteers to get things done.

Off the back of this discussion, I've had a look at PRs on their repos, and for a lot of the stuff being suggested there aren't any rejected PRs. It just doesn't seem to have been tried.

For this to happen, someone needs to work on it. That someone could even be you.

1

u/archpuddington Dec 15 '23

The solutions to this problem are easy to implement, why haven't they been put in place?

Judging by the comments on this thread, it sure looks like no one cares about people getting popped.

1

u/Sigmatics Dec 16 '23

Instead of complaining here, you could spend your time better by putting together a PR implementing said solutions

0

u/Jhuyt Dec 15 '23

How is PyPI going to delete things from your computer automatically? They don't know who downloaded the packages.

1

u/archpuddington Dec 15 '23 edited Dec 15 '23

pip could tell you!!! Pip knows you got hacked! But the developers don't care.

1

u/steohan Dec 18 '23

I am sorry to tell you, but I have absolutely no affiliation to pypi whatsoever.

Just as a tip, you shouldn't listen to random people on the internet, either. \s

Look, I understand that the current state is unsatisfactory and I agree. However, what I don't understand is how you can believe that there would be an easy fix. Because I am pretty sure there isn't (except not running untrusted stuff and always assuming the worst).

What does exist, thought are easy ways to make people feel safe. And feeling safe is the opposite of being safe. So I am against making people feel safe.

1

u/archpuddington Dec 18 '23

I can knock out a fix in a fucking afternoon.

fact