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¶
- Rotate or revoke the credential at https://developers.facebook.com/tools/debug/accesstoken/.
- Check the provider's audit logs for use you don't recognise.
- 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]