by fraywing · 8mo ago · 0 comments
I feel like npm specifically needs to up their game on SA of malicious code embedded in public projects.
Before each action you need to enter your 2fa code.
I got so frustrated with npm end of last year that I wrote a whole guide covering that issue: https://npmdigest.com/guides/npm-trusted-publishing
Still needs to be published first, but looks like it automates all the annoying UI things you mentioned.
Edit: wait, did the attacker intercept the totp code as it was entered? Trying to make sense of the thread
Are you really saying there is just something fundamental about javascript developers that makes them unable to run the same basic shell commands as Linux distribution maintainers?
(As we’ve seen from every GPG topology outside of the kinds of small trusted rings used by Linux distros and similar, there’s no obvious, trustworthy, scalable way to do decentralized key distribution.)
Identity continuity at a minimum, is of immense defensive value even though we will not know if the author is human or trusted by any humans.
That said any keys that become attached to projects that are highly depended on would earn a lot of trust that they are human by getting a couple of the 5k+ of people worldwide with active well trusted PGP keys to sign theirs via conferences or otherwise, as it has always been.
the implicit trust we have in maintainers is easily faked as we see