Integrations

Who can read your webhook signing secret, and who can point your webhooks somewhere else?

Show a signing secret once, verify every delivery, and treat a change to where webhooks deliver as a privileged action.

2 min readDEV GroupIntegrations & data movement · Security

A webhook is a standing export

Fewer people than you think should be able to do either. Show a signing secret once, verify every delivery on the receiving side, and treat creating a webhook or changing where it delivers as a privileged action, because a webhook is a standing export of your data. Two security advisories published on 8 and 9 November 2026 for open-source, self-hostable project and task tools show both halves. In one, a webhook's signing secret was meant to appear only when the webhook was created or its secret regenerated, but it also came back in every list, read, and update response. Anyone who could read those responses, or the logs, proxies, and browser tools that recorded them, could sign payloads the receiving system would accept as genuine. In the other, an API token scoped only to project webhooks was accepted for managing the owner's user-level webhooks when a user ID was supplied in the request body. A holder of that narrow token could register a webhook to a receiver they controlled and receive reminders and task payloads from all of the owner's projects, or read, change, or delete the owner's existing webhooks. Neither needed a novel exploit. Each turned an ordinary credential into a quiet copy of the data.

On the sending side

On the sending side, return the secret only at creation or regeneration, store it encrypted, and keep it out of API responses, logs, and error reports. Enforce token scope on the server against the resource being addressed, not an identifier the caller puts in the body, and keep a test that a project-scoped token is refused at the user level. Validate the destination URL when the connection is made, not only when the URL is saved, so a webhook cannot be aimed at internal addresses.

On the receiving side

On the receiving side, verify the signature over the raw request body with a constant-time comparison, reject deliveries whose signed timestamp falls outside a short window, and dedupe on the event ID so a replay is harmless. Support two active secrets during a rotation, so the sender can cut over without dropped deliveries, then retire the old one and prove a payload signed with it is rejected. Log every webhook created, every destination changed, and every secret regenerated, and alert on them the way you would on a new admin. Reconcile the webhooks that exist against an owned inventory of what should exist, with the receiver each one feeds. Secret handling, scope enforcement, signature checks, and the inventory around them are software work at the seams, and that is where we fit.

Sources

  • Security advisory on webhook signing secrets in API responses. Security advisory. November 8, 2026.
  • Security advisory on a project token managing user-level webhooks. Security advisory. November 9, 2026.

Was this useful?

Get in touch

Seeing one of these in your system?

Describe what exists today and where it breaks. We will come back with a technical point of view and a scoped first step.