This is what I would do; ignore txid itself, but instead use the output from 4.):
1.) For any incoming transaction generate a list of inputs and values from inputs, concatenate into a string; sort addresses alphanumerically before doing so
2.) Generate output hashes and values and concatenate into above string; sort addresses alphanumerically before doing so
3.) Concatenate the pubkeys from the inputs that are regenerated from the signatures (NOT the signatures themselves) into the above string; sort pubkeys alphanumerically before doing so
4.) Hash this big string and use it as the txid
Even if someone regenerates signatures at random for any tx, the above will never change. Any duplicate tx that are mutated will come up the same using the above scheme.
Probably even more simply you can just skip step 1.) and put the values of the inputs after their respective pubkeys and then stick it into a string along with the outputs
This can be implemented quickly, probably in 30 min - 1 h. Exchanges verifying that a tx went through need only look for the above alternative txid hash in the next block and then can verify its incorporation into the blockchain.
I'm tired and going to bed so I hope this is coherent, but verifying blockchain incorporation using this scheme should enable protection from tx malleability
Comments welcome
I have always thought taco was bright and did a lot for the community for little in return. I remember following his mining guides over a year ago now when I was trying to figure out what this crypto thing was. This seems it would work. I do not know if it is overly complicated, but it seems this is much more urgent than the team led us to believe. If bitstamp and BTC-E are also affected which they have indicated they are - something needs to be done ASAP, press hype and merchant adoption has done a lot for BTC - weeks of negative media carping could forever damage public perceptions.
I really, really, hope they are calling in the cavalry, Litecoin dev and Coinbase employee Charlie Lee, Fedora founder Warren Togami both from Litecoin team, maybe even a bounty, Sunny King from Peer and Primecoins, anyone that knows this really well should be invited to participate IMHO. This is not the time for egos. I have heard from non-technical friends who are freaked out and don't understand this. A lot of non-computer people have bought in now, early adopters, if you will....
This is not an issue that can languish like the Mac wallet issue did IMHO or permanent damage could be done. Time for all hands on deck so to speak, if the early adopters create a negative network effect by selling at a loss and influencing their peers, then Bitcoin has MAJOR problems.
Any thoughts on who is behind this attack? A rival non-mined coin team like NXT or Ripple? A Mafia, a government?