A 51% attack rewrites recent blocks with majority hash or stake. Learn real costs, famous cases, warning signs and how confirmations defend you.