I am wondering if it is safe to sign any message with Personal Sign? Can't a malicious dapp try to hide a transaction inside the message I am signing and then use my signature to make that transaction?
I know this question has already been asked here: Is it safe to sign messages with Personal Sign? But I am not satisfied with the answer : personal_sign prefixes the message, preventing it from being a valid transaction. Because of this, it is safer for users.
Does this mean when a user uses personal_sign he is completely safe from the exploit I just mentioned, the message can be used to generate a raw transaction?
\x19. That byte isn't valid as a transaction first byte so an app can't make you sign a transaction. But this is crypto, the probability is never zero, it is very low you have to break the hashing algorithm keccak256. It is something not feasible with current computers. – Ismael Feb 16 '22 at 04:09