Skip to content

LS-MAIL-003: Postmark Server Token

Severity HIGH
Blast radius Email sending abuse and phishing
Rotate at https://account.postmarkapp.com/servers
--verify GET https://api.postmarkapp.com/server

If this leaks

Allows sending email through the Postmark server and reading message activity/bounce data, commonly abused for phishing.

What to do

  1. Rotate or revoke the credential at https://account.postmarkapp.com/servers.
  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

(?i)postmark(?:.{0,20})?['\"]([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})['\"]

Suppress

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

disable_rules: [LS-MAIL-003]