Skip to content

LS-FLY-001: Fly.io API Token

Severity HIGH
Blast radius Deployment pipeline and secrets compromise
Rotate at https://fly.io/user/personal_access_tokens

If this leaks

Grants API access to manage the Fly.io organization's apps, including deploying new code, reading secrets set via flyctl, and accessing machines.

What to do

  1. Rotate or revoke the credential at https://fly.io/user/personal_access_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

fm2_[A-Za-z0-9+/_=-]{60,}

Suppress

On one line: # leakscan:ignore LS-FLY-001. For the whole project:

disable_rules: [LS-FLY-001]