A Zendesk secret is a value that belongs to your help desk account, and its effect depends on what it is for. It may be an API token used by an integration to read and update tickets, a signing secret that Zendesk uses to sign webhook requests, or an OAuth client secret used by an app. Each one has a different risk. An API token can read customer conversations and change tickets. A signing secret that leaks lets someone forge webhook calls that look as if they came from Zendesk. The first task is to find out which secret you have, because the steps differ.
Check your GitHub account for leaked secrets — free
- Provider
- Zendesk
- Severity
- High
- Impact
- Payments and customer data
- Checked live by LeakWatch
- No
What a Zendesk secret looks like
Zendesk secrets do not have one public format that this page can describe with confidence. The rule matches a run of 40 lower-case letters and digits placed close to the word zendesk in a variable, a header or a configuration block. The value is long and random, and it usually has no prefix:
ZENDESK_SECRET=<40-character value, masked as XXXX…>
Zendesk’s Admin Center holds several different kinds of credentials, and they are listed in different places. An API token is used with an account email address and is managed in the API settings. A webhook signing secret is shown in the webhook settings and is used to check the signature on incoming requests. An OAuth client secret belongs to an app you registered. We could not confirm from Zendesk’s developer pages that the 40-character length applies to all of them, so match the value to the place it came from before you decide what to rotate.
How Zendesk secrets get leaked
- Integration code. A connector that calls the Zendesk API, with the token typed into the source code and then committed.
- Webhook receivers. A small server that checks the signature of incoming Zendesk requests, with the signing secret written into its configuration file.
- Support exports. A spreadsheet or a report that includes the settings of an integration, shared with people outside the support team.
- CI logs. A deployment step that prints its environment or the full webhook configuration.
- Shared examples. A snippet pasted into a forum or a support request to show how to authenticate, with the real value left in.
What to do in the first hour
- Identify the secret. Note where it was found. If it sat next to an email address and the word API, it is probably an API token. If it sat next to a webhook URL, it is probably a signing secret. If it belonged to an app, it is probably a client secret. This decides the next steps.
- Rotate the matching secret in the Admin Center. For an API token, create a new token and delete the old one. For a webhook signing secret, regenerate it in the webhook settings. For an app, rotate the client secret in the app’s settings. Do this before you clean the repository.
- Update the integration with the new value, from a secret store or an environment variable. Test one ticket read or one webhook delivery to confirm it works.
- Review the tickets and users. Look for tickets, comments or user changes made since the secret may have been exposed. An API token that could read everything can expose customer conversations, so check the audit log for unusual access.
- Review the webhooks. List the webhook targets on the account and remove any you do not recognize. A target that you did not create can receive your ticket data.
- Check the other secrets in the same file. Support setups are often connected to chat, billing and customer records, so rotate the keys stored alongside the Zendesk value.
- Clean the repository after the rotation: remove the value from the files, add the file to
.gitignoreand decide whether to rewrite history. The order of steps is in I accidentally pushed an API key to GitHub.
Not sure what else leaked? Run a free scan.
Revoke it at Zendesk
Open the account settings of your Zendesk Admin Center. API tokens are managed in the APIs area under apps and integrations, while webhook signing secrets and webhook targets are managed in the webhooks area. OAuth clients are listed in the registered apps area. Choose the screen that matches the secret you identified in the first step. We could not confirm the current labels from Zendesk’s developer documentation during this review, and the layout has changed over time, so follow what the Admin Center shows.
How LeakWatch detects it
The rule is called Zendesk Secret Key. It looks for the word zendesk followed, within about 50 characters, by a separator such as an equals sign, a colon or a comma, and then a value of exactly 40 lower-case letters or digits. The word must sit close to the value, so a 40-character string with no Zendesk context is not reported. The severity is high, with the impact class for payment data as recorded in the rule facts. This type is not checked live: LeakWatch does not send the value to Zendesk.
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
Which secret should I rotate first?
The one that can do the most harm. An API token that can read tickets comes first, followed by a signing secret, because a forged webhook can make your systems act on fake events. If you cannot tell, rotate all of the Zendesk credentials in the file.
Does rotating a webhook signing secret stop my integration?
It stops signature checks that use the old value. Update the receiver with the new secret before the old one is no longer used, and test a delivery after the change.
Why does the rule classify this as payment data?
The classification comes from the rule’s record and reflects how the rule was set up, not a finding that Zendesk stores payments. Judge the impact by what the specific secret can reach in your account.