webhook: evaluate Mollie signed webhooks once out of beta #94

Öppen
öppnade 2026-10-05 12:32:53 +00:00 av supernaut · 0 kommentarer
Ägare

Problem

The webhook endpoint is unauthenticated by necessity: classic Mollie webhooks post only an id, which we re-fetch. No money is at risk, but any caller can make us spend Mollie API calls.

Mollie now offers signed webhooks (X-Mollie-Signature, an HMAC-SHA256 of the body with a shared signing secret). They are labelled beta.

Mollie docs

https://docs.mollie.com/reference/webhooks-new

Fix

Evaluate once they leave beta. If adopted, verify the HMAC with a timing-safe compare before any outbound call, and subscribe to chargeback.reversed, which would replace part of the 180-day chargeback re-fetch.

Found in the Mollie docs audit of 2026-10-05.

## Problem The webhook endpoint is unauthenticated by necessity: classic Mollie webhooks post only an id, which we re-fetch. No money is at risk, but any caller can make us spend Mollie API calls. Mollie now offers signed webhooks (`X-Mollie-Signature`, an HMAC-SHA256 of the body with a shared signing secret). They are labelled beta. ## Mollie docs https://docs.mollie.com/reference/webhooks-new ## Fix Evaluate once they leave beta. If adopted, verify the HMAC with a timing-safe compare before any outbound call, and subscribe to `chargeback.reversed`, which would replace part of the 180-day chargeback re-fetch. Found in the Mollie docs audit of 2026-10-05.
supernaut lade till detta till projektet Bitborg Payment 2026-10-05 12:34:51 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-payment#94
Ingen beskrivning angiven.