How I Earned $650 Using Just Recon: A Bug Hunter’s Success Story
A public GitHub repository associated with an e-commerce platform exposed access keys, customer transaction metadata and card-related information. An attacker could have used these to interact with payment systems, impersonate user sessions or commit payment fraud.
Published on myselfakash20.medium.com
Every hacker dreams of the perfect find — a critical vulnerability hiding in plain sight, waiting to be discovered. For me, that moment came during a routine recon session, when I uncovered a severe Sensitive Information Leakage on one of the biggest e-commerce platforms.
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
Root cause
Likely sensitive credentials and customer data were committed to a public GitHub repository due to misconfigured repository practices or human error.
Impact
The exposed data could have allowed attackers to interact with payment systems, impersonate user sessions or commit payment fraud; the repository was secured after disclosure.
What the attacker needed
Public GitHub repository; no account needed to view public repos
The fix
The repository was secured within a few days after responsible disclosure.
How it was found
- Search GitHub with targeted queries for the target domain and keywords like access_key.
- Clone the discovered repository locally.
- Run a recursive search for keywords such as access_key, card and auth.
- Inspect the files to confirm customer billing details, card metadata and an access key were present.
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.
A company accidentally left sensitive files, including secret access keys and customer payment details, in a public code repository on GitHub. Anyone could find and download them. This is dangerous because those keys and data could let a criminal break into the company's systems or steal money.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.