# Leaked BugHerd API Key? Regenerate It and Check Projects

> BugHerd API key exposed in a sync script or site build? Regenerate it, check projects and feedback for changes, then clean the repository.

Source: https://leakwatch.net/secrets/bugherd-api-key

---

[LeakWatch](/)

[Product](/product)[Live feed](/leaks)[Guides](/secrets)[Blog](/blog)[Free scan](/)

1.  [Home](/)
2.  [Secrets](/secrets)
3.  BugHerd API Key

Messaging · Secret guide

# Leaked BugHerd API Key: what to do in the first hour

Medium severityDetected onlyLast verified November 5, 2026 · 4 min read

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:

```text
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

1.  **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.
2.  **Deploy the new key** to the integration or build that uses it, and test a single sync to confirm it works.
3.  **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.
4.  **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.
5.  **Look at other keys** in the same configuration, such as the ticketing tool’s token. See [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github) for the order of steps.
6.  **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](/).

[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.

## Related

-   [Intercom Access Token](/secrets/intercom-access-token)
-   [HubSpot API Key](/secrets/hubspot-api-key)
-   [Customer.io API Key](/secrets/customer-io-api-key)
-   [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github)
-   [Which vendors leak most this week](/leaks/trends)
-   [All secret guides](/secrets)

[Get alerted next time a secret leaks — create a free account](/)

LeakWatch is not affiliated with BugHerd.

![Gabriel Diyan, founder of LeakWatch](/brand/Photo-Gabriel-Diyan.webp)

Gabriel Diyan (0xCr0c0)

Cybersecurity student, founder of LeakWatch. I built and run the scanner described here — the detection patterns, the false-positive classifier and the provider validators are mine. [More about who I am](/about).

[GitHub](https://github.com/Leakwatch-Scan) · [X](https://x.com/LeakwatchScan) · [LinkedIn](https://www.linkedin.com/in/gabriel-diyan-80a378375) · [GitHub (personal)](https://github.com/crocogab)

LeakWatch

Secrets leak into public commits every minute. This watches the forges for yours. Built and run by [Gabriel Diyan](/about), a cybersecurity student — [why LeakWatch exists](/about).

Scan

-   [Product](/product)
-   [Live feed](/leaks)
-   [Trends](/leaks/trends)
-   [API docs](/docs)
-   [CI/CD](/docs?tab=ci)

Read

-   [Blog](/blog)
-   [Secret guides](/secrets)
-   [Changelog](/changelog)
-   [About](/about)

Verify

-   [Security](/security)
-   [Privacy](/privacy)
-   [Terms](/terms)
-   [Legal](/legal)
-   [Contact](/contact)
-   [Status](https://status.leakwatch.net)

© 2026 LeakWatch

[GitHub](https://github.com/Leakwatch-Scan)[X](https://x.com/LeakwatchScan)
