Re:Compromised PyTorch-nightly dependency chain December 30t...
by richbell on Sunday January 01, 2023 @11:16AM
(#34207547)
Yeah, it's far from perfect but it does get a lot right. It's painful watching all these new package management tools like pip and npm completely ignore what came before them.
I think Go's approach is interesting, though it does rely on some magic that isn't immediately obvious. I agree that being explicit is a tremendous benefit: it avoids the attack used here, and makes it less likely for typo-squatting to succeed (e.g., `npm install axiod`).
I think golang has the best answer for this, where it's easy to impersonate but it has to be explicit.