LS-LD-001: LaunchDarkly Access Token¶
| Severity | HIGH |
| Blast radius | Production behavior control |
| Rotate at | https://app.launchdarkly.com/settings/authorization |
If this leaks¶
Allows changing feature flags in production, which can switch features on or off for every user.
What to do¶
- Rotate or revoke the credential at https://app.launchdarkly.com/settings/authorization.
- 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¶
\bapi-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}\b
Suppress¶
On one line: # leakscan:ignore LS-LD-001. For the whole project:
disable_rules: [LS-LD-001]