Skip to content

LS-DD-002: Datadog App Key

Severity HIGH
Blast radius Observability data exposure
Rotate at https://app.datadoghq.com/organization-settings/application-keys

If this leaks

Combined with an API key, allows full read/write access to the Datadog account's dashboards, monitors, and configuration via the API.

What to do

  1. Rotate or revoke the credential at https://app.datadoghq.com/organization-settings/application-keys.
  2. Check the provider's audit logs for use you don't recognise.
  3. Remove it from git history (leakscan purge --help) and load it from an environment variable or secret manager instead.

Pattern

(?i)(?:dd|datadog)(?:_|-)?app(?:_|-)?key\s*[=:]\s*['\"]?([a-f0-9]{40})['\"]?

Suppress

On one line: # leakscan:ignore LS-DD-002. For the whole project:

disable_rules: [LS-DD-002]