Skip to content

LS-TWILIO-003: Twilio API Key

Severity HIGH
Blast radius Communications abuse and billing fraud
Rotate at https://console.twilio.com/us1/account/keys-credentials/api-keys

If this leaks

Combined with its secret, allows sending SMS and calls billed to the account and reading message logs.

What to do

  1. Rotate or revoke the credential at https://console.twilio.com/us1/account/keys-credentials/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

\bSK[0-9a-fA-F]{32}\b

Suppress

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

disable_rules: [LS-TWILIO-003]