LS-PREFECT-001: Prefect API Key¶
| Severity | HIGH |
| Blast radius | Workflow orchestration compromise |
| Rotate at | https://app.prefect.cloud/my/api-keys |
If this leaks¶
Allows running and modifying flows and reading blocks, which store other credentials.
What to do¶
- Rotate or revoke the credential at https://app.prefect.cloud/my/api-keys.
- 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¶
\bpnu_[A-Za-z0-9]{36}\b
Suppress¶
On one line: # leakscan:ignore LS-PREFECT-001. For the whole project:
disable_rules: [LS-PREFECT-001]