LS-GCP-001: GCP Service Account¶
| Severity | CRITICAL |
| Blast radius | Full cloud project compromise |
| Rotate at | https://console.cloud.google.com/iam-admin/serviceaccounts |
If this leaks¶
This JSON key authenticates as the service account with all of its granted IAM roles, potentially exposing Compute Engine, Cloud Storage, BigQuery data, and billing controls.
What to do¶
- Rotate or revoke the credential at https://console.cloud.google.com/iam-admin/serviceaccounts.
- 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¶
"type"\s*:\s*"service_account"
Suppress¶
On one line: # leakscan:ignore LS-GCP-001. For the whole project:
disable_rules: [LS-GCP-001]