Cloudflare Docs
Cloudflare Fundamentals
Visit Cloudflare Fundamentals on GitHub
Set theme to dark (⇧+D)

Secure compromised account

If you observe suspicious activity within your Cloudflare account, secure your account with these steps.

​​ Step 1 - Change your password

For more guidance on changing your password, refer to Change email address or password.

​​ Step 2 - Revoke active account sessions

When there is more than one active session associated with your email account, you can revoke any session that is not the current session.

To revoke a session:

  1. Log in to the Cloudflare dashboard.
  2. Go to My Profile > Sessions.
  3. On a specific section, click Revoke.
  4. You will be prompted to enter your password before revoking the session.

​​ Step 3 - Enable Two-Factor Authentication (2FA)

To prevent future compromises, make sure that you have Two-Factor Authentication (2FA) enabled on your account.

​​ Step 4 - Change API keys and tokens

​​ API keys

​​ API tokens

​​ Step 5 - Review the audit log

To access audit logs in the Cloudflare dashboard:

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Manage Account > Audit Log.

If you notice any settings were changed, you should undo those changes.