logoalt Hacker News

bognitionyesterday at 2:51 PM6 repliesview on HN

The decision to block all downloads is pretty disruptive, especially for people on pinned known good versions. Its breaking a bunch of my systems that are all launched with `uv run`


Replies

Shankyesterday at 3:00 PM

> Its breaking a bunch of my systems that are all launched with `uv run`

From a security standpoint, you would rather pull in a library that is compromised and run a credential stealer? It seems like this is the exact intended and best behavior.

tedivmyesterday at 3:07 PM

You should be using build artifacts, not relying on `uv run` to install packages on the fly. Besides the massive security risk, it also means that you're dependent on a bunch of external infrastructure every time you launch. PyPI going down should not bring down your systems.

show 2 replies
MeetingsBrowseryesterday at 3:06 PM

Are you sure you are pinned to a “known good” version?

No one initially knows how much is compromised

cpburns2009yesterday at 2:54 PM

That's PyPI's behavior when they quarantine a package.

zbentleyyesterday at 5:02 PM

That's a good thing (disruptive "firebreak" to shut down any potential sources of breach while info's still being gathered). The solve for this is artifacts/container images/whatnot, as other commenters pointed out.

That said, I'm sorry this is being downvoted: it's unhappily observing facts, not arguing for a different security response. I know that's toeing the rules line, but I think it's important to observe.

saidnooneeveryesterday at 3:27 PM

known good versions and which are those exactly??????