Remix.run Logo
▲ 6thbit 9 hours ago

couldn't github reject a push that contains an existing hash in the repo?

▲schacon 8 hours ago | parent [-]

It doesn't reject, but it will not replace. Same for a fetch/pull. That is another issue with this attack vector (that Linus also mentions) - it has to be the _first_ time that a node has seen this object. It makes the attack even more difficult than it already is (in like 4 different major ways)