Shopify's SF and LA offices Dashboard Information disclosed via Public Gist
A Shopify employee's public gist exposed internal office dashboard information, including employee email addresses and calendar details.
- Triaged in 9 hours
- Fixed in 10 hours
- Paid in 10 hours
- Disclosed after 2 days
Hi Team,
During my recon process, I found a public gist containing the Internal Information of the Shopify offices of LA and SF.
The gist belongs to the Shopify employee - https://gist.github.com/runmad (He is currently - Engineering Manager at Shopify)
LA Office Dashboard - https://gist.github.com/runmad/333bc33095f6f40ee8fb606fff94fbdb/revisions
SF Office Dashboard - https://gist.github.com/runmad/1e820c6b02d6279914d9bcb8a2a3b9cc/revisions
The disclosed information contains the Shopify employee email addresses and calendar details.
█████████
There are more than 300 revisions on both the gists.
Impact
The gist disclosing the Internal information regarding the Shopify employees.
Please let me know if you need more information from my side.
Thanks @ehsahill
What the report shows
The finding was an information disclosure: internal office dashboard material for the company's Los Angeles and San Francisco offices, published in a public GitHub Gist.: internal office dashboard material for the company's Los Angeles and San Francisco offices, published in a public GitHub Gist.
The researcher describes the discovery as coming out of a recon process. The gist belonged to a Shopify employee, identified in the report as the current Engineering Manager at Shopify, with the profile at:
https://gist.github.com/runmad
Two gists were involved, one per office, and the report links the revision history of each rather than the gist itself:
https://gist.github.com/runmad/[redacted]/revisions
https://gist.github.com/runmad/[redacted]/revisions
The first is described as the LA Office Dashboard and the second as the SF Office Dashboard. According to the report, the disclosed content contains Shopify employee email addresses and calendar details. One section of the report is redacted, so the full extent of what was exposed is not visible in the text.
The researcher notes that there are more than 300 revisions on both gists, which matters because GitHub keeps every revision of a gist reachable, so editing the current version does not remove what earlier versions contained.
The report was disclosed on 6 November 2019 and paid a bounty of 500.00 USD. No severity or CVSS score is given, and the report does not describe a fix.
Root cause
The material was published in a public gist, and the report does not describe how it got there. A gist created without a secret flag is publicly readable and indexed, and its revision history is public too, so the exposure is not limited to the latest revision. The mistake it points to is publication, not intrusion.
Impact
The report frames the impact as disclosure of internal information about Shopify employees: email addresses and calendar details. It also does not state how many employees were affected; the report notes more than 300 revisions on both gists.
How this kind of bug works
Source code and configuration leak through public paste and snippet services constantly, and gists are one of the most common sinks. Three properties make the problem worse than a single careless paste:
- Public by default. A gist is world readable unless it is explicitly created as secret, and secret gists are still reachable by anyone with the URL.
- Permanent history. Every save creates a revision that stays accessible, so deleting a line from the current version leaves it in the history.
- Indexing and forking. Public gists can be searched, crawled and forked, so a copy can outlive the original.
The same pattern applies to other pastebins, snippet tools in chat clients, CI log output, and public object storage buckets. The bug class is exposure of sensitive data through a channel that was never intended to hold it, and the defence is process and detection rather than a single code change.
How to test for it
This is a recon problem more than a request-crafting problem. A workable method:
- Enumerate identities. Collect employee usernames and handles from the program's public presence: engineering blogs, conference talks, package registries, repository commit metadata and organisation membership pages.
- Pivot to snippet services. For each handle, check the corresponding profile on gist and other paste services, and check for accounts with similar names.
- Search by content, not just by author. Query for the organisation's domain, internal hostnames, product names and office names in public code and paste search engines, and review results for configuration, exports and notes.
- Read the history. When a gist looks relevant, open its revisions page and step through earlier versions; a cleaned-up current revision often still exposes the original content.
- Confirm scope. Establish that the material belongs to the target and is not already public by design, such as documentation or sample data.
A positive result is a public document containing non-public identifiers: staff email addresses, internal URLs, calendar or meeting details, credentials or configuration. Common false positives are deliberately published examples, placeholder data, and material the organisation has already acknowledged as public. Do not interact with accounts or data beyond reading what is already public, and avoid downloading more than needed to demonstrate the issue.
How it is fixed
The standard response is removal plus prevention:
- Delete the gist or convert it to secret, and treat the revision history as compromised, since earlier revisions may already have been copied or indexed.
- Rotate any credentials, tokens or keys that appeared in the content.
- Add detection: alerts on the organisation's domains and internal naming conventions appearing in public paste and code services.
- Give staff a sanctioned place to store notes and dashboards, and guidance that internal exports do not belong in public snippets.
- Where the material came from an internal tool, review that tool's export and sharing defaults.
Hunting notes
This class hides in the gap between an employee's personal accounts and the organisation's assets. Recon signals worth watching: employee handles reused across GitHub, gist and paste services; repositories and gists that mention office names, internal domains or product codenames; and profiles with many small snippets, which often accumulate exports and scratch notes over time.
To get a report accepted, show the material is genuinely internal and tied to the target, quote only the minimum needed to prove it, and redact personal data in the write-up. Explain the exposure path plainly: public URL, public revision history, and what categories of data are present. Programs tend to accept these reports when the data is clearly non-public and the researcher has avoided publishing it further.
What happened, in plain words
Shopify is a company that sells software for running online shops. Like most companies, it has offices, and the offices in Los Angeles (LA) and San Francisco (SF) had internal dashboards, and material from them was published in a public gist.
A security researcher was doing recon, short for reconnaissance. Recon means looking around publicly available information to see what a company has accidentally made visible, before trying anything more intrusive. Think of it like walking past a building and noticing that a window is open, rather than breaking a door down.
During that recon, the researcher found a public gist. A gist is a small web page on GitHub, the code hosting site, used for sharing snippets of text or code. GitHub is the online service where developers store and share code; a gist is its lightweight cousin for a single file or a few lines. Gists come in two flavours: secret ones, which are hidden from search but still readable by anyone who has the link, and public ones, which anyone can find and read.
The gist belonged to a Shopify employee, described in the report as the current Engineering Manager at Shopify. The profile is:
https://gist.github.com/runmad
Two gists were involved, one for each office. The report links the revision history of each rather than the gist itself:
https://gist.github.com/runmad/[redacted]/revisions
https://gist.github.com/runmad/[redacted]/revisions
The first is described as the LA Office Dashboard and the second as the SF Office Dashboard. According to the report, the content contains Shopify employee email addresses and calendar details. One section of the report is redacted, so the full extent of what was exposed is not visible.
Why link the revisions page instead of the gist? Because GitHub keeps every saved version of a gist. Each time the author edits and saves, a new revision is stored, and older revisions stay reachable. The researcher notes there are more than 300 revisions on both gists. That matters: if someone pastes sensitive text, then later deletes it, the deleted text is still sitting in the history for anyone who clicks through the versions.
The report was disclosed on 6 November 2019 and paid a bounty of 500.00 USD. A bounty is a reward a company pays a researcher for reporting a security problem responsibly instead of exploiting it. No severity or CVSS score is given; CVSS is a standard scoring system for how serious a vulnerability is. The report does not describe a fix.
In general, how this kind of bug works
This is an information disclosure: sensitive data becomes readable by people who should not see it. No hacking tools are needed. The data was simply published somewhere public.
Paste and snippet services like gists are a common place for this to happen, for three reasons:
- Public by default. A gist is world readable unless it is explicitly created as secret, and even secret gists are reachable by anyone who has the URL. A URL is like an unlisted phone number: not advertised, but not protected either.
- Permanent history. Every save creates a revision that stays accessible, so removing a line from the current version leaves it in the history.
- Indexing and forking. Public gists can be searched, crawled by search engines and copied (forked), so a copy can outlive the original.
The same pattern applies to other pastebins, snippets shared in chat apps, log output from build systems, and public cloud storage buckets. The defence is process and detection, not a single code change.
In general, how to test for it
This is a recon problem more than a request-crafting problem. A workable method:
- Enumerate identities. Collect employee usernames and handles from the company's public presence: engineering blogs, conference talks, package registries, repository commit metadata and organisation membership pages.
- Pivot to snippet services. For each handle, check the corresponding profile on gist and other paste services, and check for accounts with similar names.
- Search by content, not just by author. Query for the organisation's domain, internal hostnames, product names and office names in public code and paste search engines, and review results for configuration, exports and notes.
- Read the history. When a gist looks relevant, open its revisions page and step through earlier versions; a cleaned-up current revision often still exposes the original content.
- Confirm scope. Establish that the material belongs to the target and is not already public by design, such as documentation or sample data.
A positive result is a public document containing non-public identifiers: staff email addresses, internal URLs, calendar or meeting details, credentials or configuration. Common false positives are deliberately published examples, placeholder data, and material the organisation has already acknowledged as public. Do not interact with accounts or data beyond reading what is already public, and avoid downloading more than needed to demonstrate the issue.
In general, how it is fixed
The standard response is removal plus prevention:
- Delete the gist or convert it to secret, and treat the revision history as compromised, since earlier revisions may already have been copied or indexed.
- Rotate any credentials, tokens or keys that appeared in the content. Rotating means replacing them with new ones so the old ones stop working.
- Add detection: alerts on the organisation's domains and internal naming conventions appearing in public paste and code services.
- Give staff a sanctioned place to store notes and dashboards, and guidance that internal exports do not belong in public snippets.
- Where the material came from an internal tool, review that tool's export and sharing defaults.
In general, hunting notes
This class hides in the gap between an employee's personal accounts and the organisation's assets. Recon signals worth watching: employee handles reused across GitHub, gist and paste services; repositories and gists that mention office names, internal domains or product codenames; and profiles with many small snippets, which often accumulate exports and scratch notes over time.
To get a report accepted, show the material is genuinely internal and tied to the target, quote only the minimum needed to prove it, and redact personal data in the write-up. Explain the exposure path plainly: public URL, public revision history, and what categories of data are present. Programs tend to accept these reports when the data is clearly non-public and the researcher has avoided publishing it further.
Glossary
- Recon (reconnaissance): looking at publicly available information to find what a company has exposed.
- Gist: a small public or secret page on GitHub for sharing a snippet of text or code.
- GitHub: the online service where developers store and share code.
- Revision: a saved version of a gist or file; older revisions remain accessible.
- Fork: a copy of someone else's public repository or gist under your own account.
- Information disclosure: a vulnerability where sensitive data becomes readable by people who should not see it.
- Bounty: a reward a company pays a researcher for reporting a security problem responsibly.
- CVSS: a standard scoring system for the severity of a vulnerability.
- Severity: how serious a vulnerability is judged to be.
- Credential: a username and password, or a key or token, used to prove identity.
- Token: a short string that acts like a temporary password for a service.
- Rotate: replace a credential or key with a new one so the old one stops working.
- Redact: remove or black out sensitive details from a document before sharing it.
- False positive: a finding that looks like a problem but is not one.
- Pastebin: a website for sharing blocks of text, often used for snippets and logs.
- Indexing: a search engine recording a page so it appears in search results.
- URL: the address of a page on the web.
- Hostname: the name of a computer or service on a network, such as an internal server name.