Skip to content

LS-BB-001: Bitbucket App Password

Severity HIGH
Blast radius Source code and CI/CD compromise
Rotate at https://bitbucket.org/account/settings/app-passwords/

If this leaks

Acts as the user over the Bitbucket API with the app password's scopes, including private repositories and pipelines.

What to do

  1. Rotate or revoke the credential at https://bitbucket.org/account/settings/app-passwords/.
  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

\bATBB[A-Za-z0-9_=.\-]{28,}\b

Suppress

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

disable_rules: [LS-BB-001]