Skip to content

LS-PAY-006: Coinbase Access Token

Severity HIGH
Blast radius Cryptocurrency funds and account compromise
Rotate at https://www.coinbase.com/settings/api

If this leaks

Allows access to the Coinbase account's wallets and transaction history, and depending on scopes, the ability to send funds.

What to do

  1. Rotate or revoke the credential at https://www.coinbase.com/settings/api.
  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)coinbase(?:.{0,20})?['\"]([A-Za-z0-9]{64})['\"]

Suppress

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

disable_rules: [LS-PAY-006]