Use of Hard-coded Credentials
| Property | |
|---|---|
| Language | regex |
| Severity | |
| CWE | CWE-798: Use of Hard-coded Credentials |
| OWASP | A07:2021 - Identification and Authentication Failures |
| Confidence Level | Low |
| Impact Level | Medium |
| Likelihood Level | Low |
Description#
Databricks API tokens have been found hard-coded in the source code. Storing sensitive credentials directly in code makes them visible to anyone with access to the repository, increasing the risk of accidental leaks.
Impact#
If attackers obtain these exposed tokens, they could access Databricks resources, view or modify sensitive data, execute code, or incur infrastructure costs. This can lead to data breaches, service disruption, and loss of organizational trust.