by bhaak · 9y ago · 0 comments
Parity's refactoring of the official audited multi-sig contract code has fucked up again. I wonder if they even audited their code.
The post-mortem of the last incident https://blog.ethcore.io/the-multi-sig-hack-a-postmortem/ evades that question under the paragraph "Was the wallet not audited?".
If they used a library instead of a contract, this wouldn't have been possible. I hope they had a reason to use a contract otherwise they clearly have noone else to blame this time.
It's actually the opposite, using a library allowed this to break all the wallets using it. However, an Ethereum "library" isn't what you'd expect a software "library" to be - it's an executable contract that just is never supposed to be executed directly. But oops, nothing prevented that from happening.
The concept of everyone using a common, well-audited contract makes sense though. Virtually all Bitcoin multisignature transactions use the same script construction and it has never been hacked, despite being much older.
Just Parity's contract was neither common nor well audited.
> Virtually all Bitcoin multisignature transactions use the same script construction and it has never been hacked, despite being much older.
The only multi-sig issue that I'm aware of in Bitcoin was the Bitfinex hack but I don't know in what relation BitGo's multi-sig implementation is to the standard multi-sig.
The EF multi-sig implementation has been audited and AFAIK there has also never been an issue with it.
It's ethereum, they'll just hardfork those coins back
Apparently almost $300M stuck - I don't see them not bringing up another hard fork to retrieve them
Perhaps it can be fixed though, as part of the next hard fork.