Skip to content

LS-MAIL-004: Resend API Key

Severity HIGH
Blast radius Email sending abuse and phishing
Rotate at https://resend.com/api-keys
--verify GET https://api.resend.com/domains

If this leaks

Allows sending email from your verified domains and reading delivery logs.

What to do

  1. Rotate or revoke the credential at https://resend.com/api-keys.
  2. Check the provider's audit logs for use you don't recognise.
  3. Remove it from git history (leakscan purge --help) and load it from an environment variable or secret manager instead.

Pattern

\bre_[A-Za-z0-9]{8}_[A-Za-z0-9]{24}\b

Suppress

On one line: # leakscan:ignore LS-MAIL-004. For the whole project:

disable_rules: [LS-MAIL-004]