This question already has an answer here:
I am not talking about the privacy related concerns just the security aspect and the ability for someone to 'break my private key'.
The addresses that my wallet generates are p2pkh addresses. If i use the bitcoin core and do 'validateaddress' i get a json blob back which includes 'pubkey'.
If i had a database that had a bunch of public keys, not p2pkh but the "pubkey" from validateaddress, and that database were to be breached, would all of the utxos at the original wallet be at risk? (Let's assume the wallet is in cold storage and not connected to the internet). The only thing in that database would be the pubkey(s).
If this is the case... why do we even go through the process of creating p2pkh addresses in the first place? Is it just for aesthetics, less bytes in the transaction, just for privacy, or is there an actual security reason?
Finally is this "pubkey" that validates an address, why would we even need a p2pk in the first place (unless it is literally for the equivalent reason of "improving" to a p2pkh from p2pk).
THis is different from the question posted in the first comment as i am talking purely about security ramifications. IE.. there is nothing more inherent secure by using SHA256 +RipeMD to hash a public key then just using the public key itself.