If someone is trying to redirect blame they'll always find some way to do so.
:hmm:
Hmm indeed. A hack is possible but the timeline of events is dubious.
I mean, I'm all for benefit of the doubt and such, but it's pretty obvious what happened here.
If it's the former (or could be made to be the former), requiring GPG signed commits would go a long way to preventing malicious activity.
Currently, developers store npm tokens which may be stolen because they're often stored on disk or as environment variables.
Requiring developers to store encryption keys makes almost no difference: the private key will still be stored on disk and will still be vulnerable to effectively the same attacks.
There are some differences of course. Security-conscious users could use hardware tokens to store their encryption keys, and they could password protect the private key in either case. This is not the large majority of users though, so in the average case, it won't matter.