LS-DB-008: Databricks Token¶
| Severity | HIGH |
| Blast radius | Data platform compromise |
| Rotate at | https://docs.databricks.com/en/dev-tools/auth/pat.html |
If this leaks¶
Allows running jobs and notebooks and reading data in the Databricks workspace as the user.
What to do¶
- Rotate or revoke the credential at https://docs.databricks.com/en/dev-tools/auth/pat.html.
- 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¶
\bdapi[a-f0-9]{32}(?:-\d)?\b
Suppress¶
On one line: # leakscan:ignore LS-DB-008. For the whole project:
disable_rules: [LS-DB-008]