How I Was Able to Make $160 and Protect Multiple Global Brands fr
Shopify Admin API credentials for multiple live stores were exposed in public GitHub repositories. An attacker with these credentials could access sensitive customer data, order details, and shop information.
It all started when I was looking for leaks for Shopify itself on GitHub, aiming to report them via HackerOne, since Shopify offers good bounties for valid findings. Unfortunately, I didn’t find any actual Shopify infrastructure leaks.
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, developers hardcoded Shopify Admin API credentials into public GitHub repositories, and the credentials remained valid for years.
Impact
The exposed credentials could allow an attacker to access sensitive customer data, order details, and shop information, potentially leading to extortion, reputational damage, or data sale.
What the attacker needed
Public GitHub repository; exposed Shopify Admin API credentials
The fix
The credentials should be revoked and rotated, and secrets should not be stored in public repositories.
How it was found
- Search GitHub for Shopify-related leaks.
- Notice exposed Shopify Admin API credentials in public repositories of live stores.
- Test the credentials to confirm they are valid and see what access they grant.
- Create a detailed report for each affected store.
- Email each store with the report and explain the severity.
- Escalate to Shopify via HackerOne after most merchants did not respond.
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.
API credentials are like passwords that let programs talk to a service. Here, these secret keys were accidentally left in public code repositories on GitHub, so anyone could find and use them. That would let someone read private store data, like customer orders.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.