Skip to content
Leaked secrets Write-up Beginner

How a Late-Night iSpy.today Alert Turned Into a $1000 Bounty

A commit pushed to a GitHub repository belonging to a secondary organisation of a bug bounty target contained what appeared to be an API key. The finder reported it and received a bounty, but the text does not confirm the key was live or what access it granted.

medium.com

Published on medium.com

About a month ago, I launched iSpy.today, a tool built for bug bounty hunters to monitor GitHub push events in real time and catch exposed secrets. I had added several targets by configuring their GitHub org names and matching email domains.

Arshad Kazmi, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

What the attacker needed

Public GitHub repository; commit email matches target domain; monitoring tool configured

How it was found

  1. Configure the monitoring tool with the target's GitHub organisation names and email domains.
  2. Receive an alert about a commit containing what looked like an API key.
  3. Notice the commit email matched the target's domain but the repository was not in the main organisation.
  4. Confirm the owning organisation was also operated by the target and was in scope.
  5. Submit the report on the bug bounty platform.

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 write-up has not been written yet. The Original tab links to the source.

Developers sometimes accidentally save secret passwords or keys into code and upload it to GitHub, where anyone watching can see it. This person built a tool that watches for such mistakes and got an alert about a key in a repository owned by a company's lesser-known organisation. They checked it was allowed under the bug bounty rules and reported it, earning a reward.

What is Leaked secrets?

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

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.