Sensitive Data Exposure
A publicly reachable text file found through archived URLs contained a site key in plain text. An attacker who found the file could read that key, though the text does not explain what the key protects or what could be done with it.
Published on sheshasai.medium.com
Security
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.
Context
This is a short account of a sensitive data exposure found during bug bounty reconnaissance on a program the author refers to only as redacted.com. The author does not describe the product, the company or the feature that the exposed file belonged to. A file found through archived URLs on the target's main domain contained a sitekey in plain text.
The author frames the work as a deliberate change of approach: earlier reports of low-hanging issues such as session management problems had been closed as duplicates, so the decision was made to go after sensitive data in the domain instead.
Setup
The only tool named in the report is wayback.py, a GitHub tool that queries the Wayback Machine. It was run against the main domain of the target. No accounts, roles, versions or other preconditions are described. The author introduces themselves as a security researcher, bug bounty hunter and penetration tester.
Finding it
The author describes reconnaissance as the main weapon used here. Running wayback.py against the main domain returned around 150 results. The author went through the entire list and found a file, referred to as sensitive.txt, which was then opened by its URL.
Exploitation
Step 1: Enumerate historical URLs
wayback.py was run on the target's main domain and produced roughly 150 URLs from the Wayback Machine. The author reviewed all of them rather than sampling.
Step 2: Open the interesting file
One of the returned URLs pointed to sensitive.txt. Opening it in the browser showed the file's contents directly.
Step 3: Search the file for keywords
With the file open, the author used CTRL+F and searched for the following keywords:
secret,admin,username,emails,password,key,sitekey
For every keyword except sitekey, the browser's find function reported no match, described in the report as a "bang redlight in the search bar". The sitekey search returned a match: the sitekey was present in the file in plain text.

The screenshot is captioned "sensitive key" and shows the sitekey found in the file.
That is the whole of the technical finding: a publicly reachable text file, discovered through archived URLs, containing a sitekey in clear text. The report does not show the file's full contents, the exact key value, the URL, or any response headers.
Root cause
The report does not analyse the cause. The report does not analyse the cause. The file was found through a URL returned by the Wayback Machine tool. Why the file was reachable, and whether any access control was intended, is not stated.
Impact
The author does not set out a concrete attack chain. The exposure is limited to a sitekey being readable by anyone who finds the file. What that key protects, and what an attacker could do with it, is not described in the report, so the practical impact should be treated as unquantified.
Fix
The report does not say what remediation was applied. The timeline given is:
| Event | Date |
|---|---|
| Reported | 1 September 2019 |
| Triaged | 19 September 2019 |
| Swag received | 5 October 2019 |
Variants to test
- Run a Wayback Machine enumeration tool against the main domain and other subdomains, then review every archived URL rather than a sample. A positive result is a URL that returns a file with configuration-style contents.
- Open each candidate file and search it for
secret,admin,username,emails,password,keyandsitekey. A positive result is any of those strings appearing in clear text. - Repeat the keyword search on other archived text-like files (
.txt,.json,.xml,.js) found in the same enumeration. A positive result is a match that reveals a credential or key rather than a harmless placeholder.
What happened, in plain words
A security researcher was hunting for bugs in a company's website, which the write-up calls redacted.com to keep the company's name private. Earlier, they had reported some easy-to-find problems, such as weaknesses in how the site handled logged-in users (called session management). Those reports were closed as duplicates, meaning someone else had already reported the same thing, so the researcher decided to change tactics and look for exposed sensitive data instead.
To do this, they used a free online archive called the Wayback Machine. The Wayback Machine is a service run by the Internet Archive that regularly saves copies of web pages as they appear over time, like a giant public scrapbook of the internet. Even if a file has since been deleted from a website, the Wayback Machine may still have a copy of it. The researcher used a tool called wayback.py to query the Wayback Machine for URLs saved for the target's main domain. The tool returned around 150 URLs. The researcher went through all of them, one by one, and found one that pointed to a text file they call sensitive.txt.
They opened that file in their browser and used the browser's built-in search function (CTRL+F) to look for words that often appear in configuration files and might reveal secrets: secret, admin, username, emails, password, key and sitekey. For every word except sitekey, the browser showed no match. But sitekey was there, sitting in the file in plain text for anyone to read.
That is the whole finding: a publicly reachable text file, discovered through archived URLs, containing a sitekey in clear text. The report does not show the file's full contents, the exact key value, the URL, or any response headers. It also does not describe the product, the company, or the feature the file belonged to.
Why this matters
A sitekey is a value often used by websites to identify themselves to a third-party service, for example a CAPTCHA provider that checks whether a visitor is a human or a bot. If a sitekey is meant to be public (as some are), finding it is harmless. If it is meant to be private, finding it could let an attacker impersonate the site or bypass a protection. The report does not say what this particular sitekey protects or what an attacker could do with it, so the practical impact is unknown. The lesson for a beginner is simpler: files that contain configuration values should not be left where anyone can download them, and old copies of such files can linger in web archives long after the original is gone.
How the researcher found it, step by step
Step 1: List old URLs with the Wayback Machine
The researcher ran wayback.py, a tool available on GitHub, against the target's main domain. The tool queries the Wayback Machine for archived URLs of that domain and prints the results. About 150 URLs came back. The researcher read through the entire list rather than sampling a few, because a single forgotten file is enough to expose a secret.
Why do this? Websites change over time. A file that was public last year may have been removed since, but the archive still remembers it. Attackers (and bug bounty hunters) use this to find forgotten pages, old backups and leftover configuration files.
Step 2: Open the interesting file
One of the returned URLs pointed to sensitive.txt. The researcher opened it in the browser, and the file's contents appeared directly on screen. A .txt file is plain text, so the browser displays it without any formatting, which makes it easy to read and search.
Why do this?
Step 3: Search the file for keywords
With the file open, the researcher pressed CTRL+F (the browser's find function) and searched for these keywords:
secret,admin,username,emails,password,key,sitekey
Here is what each word means and why it was chosen:
secret: a value that should never be public, such as an API secret key.admin: a reference to an administrator account or admin panel.username: a login name.emails: email addresses, which can be used for phishing or spam.password: a password, the most direct kind of secret.key: a generic term for API keys, encryption keys or other access tokens.sitekey: a key used by a website to identify itself to a third-party service, often a CAPTCHA.
For every keyword except sitekey, the browser's find bar showed no match, which the report describes as a "bang redlight in the search bar". The sitekey search returned a match: the sitekey was present in the file in plain text.

The screenshot is captioned "sensitive key" and shows the sitekey found in the file.
Why do this? Searching a file for common secret-related words is a quick way to spot exposed credentials without reading every line. It is the same idea as scanning a document for the word "password" before sharing it.
What caused it
The report does not analyse the cause. The report does not analyse the cause. The file was found through a URL returned by the Wayback Machine tool. Why the file was reachable, and whether any access control was intended, is not stated.
What an attacker could do
The author does not set out a concrete attack chain. The exposure is limited to a sitekey being readable by anyone who finds the file. What that key protects, and what an attacker could do with it, is not described in the report, so the practical impact should be treated as unquantified.
How it was fixed
The timeline given is:
| Event | Date |
|---|---|
| Reported | 1 September 2019 |
| Triaged | 19 September 2019 |
| Swag received | 5 October 2019 |
"Triaged" means the company's security team reviewed the report and confirmed it was a real issue worth tracking. "Swag" means free merchandise, such as a T-shirt, which some bug bounty programs send as a thank-you when a report is valid.
Things you can try yourself
- Run a Wayback Machine enumeration tool against the main domain and other subdomains, then review every archived URL rather than a sample. A positive result is a URL that returns a file with configuration-style contents.
- Open each candidate file and search it for
secret,admin,username,emails,password,keyandsitekey. A positive result is any of those strings appearing in clear text. - Repeat the keyword search on other archived text-like files (
.txt,.json,.xml,.js) found in the same enumeration. A positive result is a match that reveals a credential or key rather than a harmless placeholder.
Glossary
- Bug bounty: a program where a company rewards people for finding and reporting security problems in its systems.
- Reconnaissance (recon): the information-gathering phase of a security test, where you collect URLs, files and other details about a target before trying to find weaknesses.
- Wayback Machine: a free public archive run by the Internet Archive that stores copies of web pages over time.
wayback.py: a tool on GitHub that queries the Wayback Machine and lists archived URLs for a domain.- URL: the address of a resource on the web, such as
https://example.com/file.txt. - Domain: the main part of a website's address, such as
example.com. - Subdomain: a prefix added to a domain, such as
blog.example.com. .txtfile: a plain text file with no formatting, displayed directly by a browser.- CTRL+F: the keyboard shortcut that opens the browser's find bar to search text on a page.
- Sitekey: a value a website uses to identify itself to a third-party service, often a CAPTCHA provider.
- CAPTCHA: a test that asks a visitor to prove they are human, such as clicking pictures of traffic lights.
- API key: a secret string that lets a program access a service on behalf of its owner.
- Session management: how a website keeps track of a logged-in user across multiple page requests, usually with a cookie or token.
- Cookie: a small piece of data a website stores in your browser to remember you between visits.
- Token: a value used to prove identity or grant access, similar to a temporary password.
- Sensitive data exposure: a weakness where private information, such as keys, passwords or personal data, is left where unauthorised people can read it.
- Duplicate: a bug report that describes a problem someone else has already reported, so it is closed without a separate reward.
- Triaged: the stage where a security team reviews a report and confirms it is valid.
- Swag: free merchandise given as a thank-you for a valid report.
- Response headers: extra information a web server sends along with a page, such as its type and caching rules.