Skip to content

LS-FB-001: Facebook Access Token

Severity HIGH
Blast radius Social account and page compromise
Rotate at https://developers.facebook.com/tools/debug/accesstoken/

If this leaks

Allows calling the Graph API as the user or page with the token's permissions, such as posting or reading messages.

What to do

  1. Rotate or revoke the credential at https://developers.facebook.com/tools/debug/accesstoken/.
  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

\bEAA[CD][A-Za-z0-9]{90,}\b

Suppress

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

disable_rules: [LS-FB-001]