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#
A DroneCI access token was found hard-coded in the source code. Storing credentials directly in code makes them easily accessible to anyone with code access, increasing the risk of secret leaks.
Impact#
If exposed, attackers could use the access token to compromise your DroneCI pipelines, trigger unauthorized builds, access sensitive resources, or modify infrastructure, potentially leading to data loss or further breaches.