The mass wallet-draining attacks linked to Ethereum’s Pectra upgrade involve malicious smart contracts deployed using the EIP-7702 feature, which allows attackers to automate the theft of ETH from wallets with leaked private keys by delegating control to “sweeper” contracts that instantly transfer incoming funds to attacker-controlled addresses.