LS-PAY-004: Braintree Access Token¶
| Severity | HIGH |
| Blast radius | Payment processing and customer financial data |
| Rotate at | https://developer.paypal.com/braintree/articles/control-panel/important-gateway-credentials |
If this leaks¶
Allows creating transactions and reading customer payment data on the production Braintree merchant account.
What to do¶
- Rotate or revoke the credential at https://developer.paypal.com/braintree/articles/control-panel/important-gateway-credentials.
- 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¶
access_token\$production\$[a-z0-9]{16}\$[a-f0-9]{32}
Suppress¶
On one line: # leakscan:ignore LS-PAY-004. For the whole project:
disable_rules: [LS-PAY-004]