A BugHerd API key authenticates your tools to BugHerd, the visual feedback and bug-tracking service. With it, a caller can read the projects and feedback tasks in your account and, depending on the request, create or update tasks. The data is usually bug reports and screenshots of your website or app, which can include details about unreleased features and internal URLs. The key is not a payment credential, but the information it can reach is often sensitive to a product team, so treat a leak as a normal priority to fix this week.
Check your GitHub account for leaked secrets — free
- Provider
- BugHerd
- Severity
- Medium
- Impact
- SaaS account access and billing
- Checked live by LeakWatch
- No
What a BugHerd API Key looks like
BugHerd API keys are short strings of 22 lowercase letters and digits. They have no prefix, so the detection depends on the word “bugherd” appearing near the value, usually in a configuration file or a script:
BUGHERD_API_KEY=… BugHerd API key (masked)
The short length means a random 22-character string can look like many other identifiers. Check the label next to the value before you rotate anything, because a match without the vendor’s name is more likely to be a false alarm.
How BugHerd API Keys get leaked
- Integration scripts. A script that exports feedback to a ticketing tool, with the key written in its configuration and committed.
- Website builds. A build step that injects the key into the site’s code, which then ships to every browser.
- Shared configuration. A settings file sent to a contractor, or pasted into a chat while setting up a new project.
- Logs. A sync job that prints its settings when a request fails.
- Public repositories. A demo or staging project published with the production key in it.
What to do in the first hour
- Regenerate the key. Open the account settings for your BugHerd account, go to the API section and regenerate the key that leaked. Replacing it stops the old value working.
- Deploy the new key to the integration or build that uses it, and test a single sync to confirm it works.
- Review the projects. Look for projects, tasks or feedback that you did not create, and for tasks that were moved or closed without a reason.
- Check the site. If the key was in front-end code, check that the site still behaves as expected, and remove the key from the build.
- Look at other keys in the same configuration, such as the ticketing tool’s token. See I accidentally pushed an API key to GitHub for the order of steps.
- Clean the repository. Read the key from an environment variable at build time and remove the value from files.
Not sure what else leaked? Run a free scan.
Revoke it at BugHerd
The API key is shown in the account’s API settings. Open account settings, find the key and regenerate it. Regenerating replaces the old value. We have not confirmed the current labels on the settings page, or whether each project has its own key, so follow what the page shows you and check the project the key belongs to.
How LeakWatch detects it
The rule is called BugHerd API Key. It looks for the word “bugherd” in any case, followed within about 40 characters by a value of exactly 22 lowercase letters or digits, with word boundaries on both sides. Values with uppercase letters, or of another length, are not reported. The severity is medium, with the impact class for SaaS tools. This type is not checked live: LeakWatch does not send a request to BugHerd with the value it found.
LeakWatch detects this format but does not check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.
FAQ
Can someone read my customers' feedback with this key?
If it is an account key, it can read the feedback in the projects it covers. Feedback often includes screenshots and page addresses, so treat it as sensitive.
Will regenerating break my website feedback widget?
Only if the widget uses the same key. Deploy the new key to the widget and check that feedback still arrives.
Is a leak in a staging project still a problem?
It can be. Staging projects often share data with production, so check whether they point to the same account before you decide how urgent it is.