Skip to content
Leaked secrets Disclosed report Beginner

Datadog api keys exposed can be used to do all the read and write access to the instance

Datadog API and application keys were embedded in a JavaScript file on the site. They could potentially give unauthorised access to Datadog services.

harshdranjan Follow

Originally disclosed on HackerOne

Critical 9.6 View original
  • Disclosed after 17 days

Summary by the program

The researcher identified DatadogHQ API keys and application keys embedded in a JavaScript (JS) file on the site █████. These keys could potentially provide unauthorized access to DatadogHQ services. The researcher responsibly reported the issue, providing a proof-of-concept (PoC) to demonstrate the vulnerability without exploiting it further.

The original report as published on HackerOne, by harshdranjan. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, secret Datadog API and application keys were placed in client-side JavaScript, where any visitor can read them.

What the attacker needed

Keys exposed in a public JS file

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A JavaScript file is code a website sends to your browser, and anyone can read it. This site left secret keys inside that file, which could potentially let someone access the company's Datadog account.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More by harshdranjan

View all

7 more disclosed reports, best first.

More from Mars

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.