The EPP code must be treated like a password: it should not be shared publicly or sent over insecure channels. ICANN requires registrars to provide it to the holder securely. If the code leaks, an attacker could attempt an unauthorized transfer, although registrar lock and holder confirmation add layers of protection. Some registrars allow the code to be regenerated if it is suspected of being compromised.