Re:Backdoor in event-stream library dependency
by yuchi on Monday November 26, 2018 @03:43PM
(#18536624)
This was, from the eyes of npm Inc. and everyone else a completely legitimate ownership transfer.
There was a "human error" (Domenic trusting the wrong person) that was completely unpreventable by technological means.
There was no hijacking involved.
Just do the same thing we have for SSH: on first connection (installation), ask if you trust the other side. That goes into your authorized_keys (lock file). If you connect again (update) and the key changed, print a big scary warning. No blockchain needed.