Tag: New Hashes

GitHub ‘Verified’ Commits Can Be Rewritten Into New Hashes Without Breaking Signatures
News

GitHub ‘Verified’ Commits Can Be Rewritten Into New Hashes Without Breaking Signatures

The hash of a signed Git commit is not the unique name that many in the software industry believe it to be, according to new study. Even if a second contribution with the same files, author, date, and valid signature is created by someone without the signing key, GitHub will still mark it as "Verified." Everything is in line with what a reviewer would look for. The hash of the commit does not. This is significant because a confirmed commit hash is regarded by numerous systems as a permanent, distinct name for its contents. This is the specific failure: if you block a faulty commit based on its hash, an attacker can re-push the identical content under a new hash that is still "Verified" and has never been viewed by your blocklist. The same soft point is inherited by reproducible-buil...