Skip to content
Info disclosure Disclosed report Beginner

Leaking sensitive files on Github leads to internal files (python scripts,SQL files)

A public GitHub repository exposed sensitive internal development information, including code and documentation. An attacker could access this to learn about internal systems.

xsam Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 6 days
  • Fixed in 3 months
  • Paid in 10 days
  • Disclosed after 4 months

Summary by the program

@samidrif discovered a source repository containing sensitive and internal development information including Starbucks code and documentation. @samidrif delivered a quality report detailing his find, suspected impact, and suggestions for remediation. The repository was removed and necessary remediations performed quickly, however the ticket remained open while we completed additional work. Thank you @samidrif for the solid research!

The original report as published on HackerOne, by xsam. 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 the repository was mistakenly made public or contained sensitive files that were not properly removed before publishing.

Impact

An attacker could access internal code and documentation, which might reveal system details and aid in further attacks.

What the attacker needed

Public GitHub repository

The fix

The repository was removed and necessary remediations performed.

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 company left a public code repository on GitHub containing private files. Anyone could find and read these files, which included code and documentation.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by xsam

View all

3 more disclosed reports, best first.

More from Starbucks

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.