Skip to content

LS-MAIL-006: MailerSend API Token

Severity HIGH
Blast radius Email sending abuse and phishing
Rotate at https://app.mailersend.com/api-tokens

If this leaks

Allows sending email from your domains and reading activity data.

What to do

  1. Rotate or revoke the credential at https://app.mailersend.com/api-tokens.
  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

\bmlsn\.[a-f0-9]{64}\b

Suppress

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

disable_rules: [LS-MAIL-006]