A delivery update is not permission to change an address
A carrier platform receives a burst of callbacks that resemble legitimate dispatch webhooks. An incoming event may contain an address-change field even though the source service was only supposed to report status. The scenario becomes dangerous when the receiver treats a webhook's payload as authority to overwrite the delivery destination. There is no basis here to allege a real customer diversion. The appropriate response is to establish which signed event types are trusted, which changes they may make, and how the system prevents an unverified callback from becoming an instruction.
Verify provenance at the receiving endpoint
Inspect the exact request body that is authenticated, the signature algorithm and key selection, timestamp tolerance and event identifier. If signatures are checked against a parsed or re-serialised payload, legitimate and malicious requests can be handled unpredictably. The consumer should verify the provider's published signing process and reject missing, malformed or expired authentication material. A valid signature is still not the same as permission to change an address: the signing service may be authorised to confirm collection while a different workflow owns recipient amendments.
Walk through a synthetic consignment
Create a test order with a fixed destination. Send a permitted status update, followed by a callback with an invalid signature, another with a correct signature but mismatched order identity, and a third containing an unapproved destination field. The status event may update tracking; none of the three negative tests may mutate the destination. Check the transport-management database, downstream carrier queue and customer notification history. An HTTP 200 response merely proves that a request was acknowledged; the authoritative order state is the meaningful observation.
Replay, ordering and retries
Webhook platforms routinely retry after timeouts, and some systems deliver callbacks out of order. The receiver should enforce event idempotency and compare state transitions against an allowed sequence. A delayed 'collected' event must not restore an old destination after an approved redirect. Check whether replayed callbacks create duplicate address-change records or re-trigger a support automation. For rejected events, retain enough request metadata to diagnose the integration without storing unnecessary customer addresses in general security logs.
A legitimate exception needs its own authority
Dispatchers may lawfully correct an address when a customer makes a verified request or a carrier confirms a routing problem. Treat that as a separate instruction requiring a suitable customer or contract verification step. The webhook handler can reference an approved amendment but should not invent approval from a free-text note. Where the integration is business-critical, use a supervised manual route for verified changes while disabling the unsafe field mapping. This avoids both silent diversion and indiscriminate interruption of deliveries.
Investigate an alert without assuming fraud
Compare callback timestamps, signature-validation outcomes, sender account changes, consignment edits and associated customer-service tickets. Distinguish an attacker-controlled message, a misconfigured connector and a legitimate provider retry. If an actual destination was changed, preserve the approved source of that change, affected order identifiers and whether parcels were dispatched before correction. A strange callback or rejected invalid signature does not establish compromise; the conclusion must follow observed state changes and corroborating service records.
Acceptance conditions for the fix
Release the amended webhook integration only when valid status updates still work, destination fields cannot mutate orders without independent approval, and duplicates or stale messages are harmless. Record the deployed configuration, signing-key rotation procedure, the person responsible for carrier-provider changes and the customer-service fallback. Re-run the negative tests after a connector upgrade or new carrier onboarding. The central control is not 'trust signed-looking messages'; it is verify origin and enforce the precise business operation that origin is allowed to request.
Key rotation and carrier onboarding
Document who provides the carrier signing secret, how the receiving team validates a rotation and when old keys cease to work. A newly onboarded carrier should be limited to the event types and order populations defined in its contract. Do not accept an unknown signing key or a fallback 'allow unsigned' configuration to keep a release moving. A carrier-specific test tenant provides a place to rehearse bad signatures and delayed deliveries without putting genuine parcels at risk. The service owner should sign off the migration after both old-key rejection and current-key acceptance are observed.
When to widen the investigation
Evidence of one rejected spoofed callback supports a different conclusion from evidence of an order record altered by that callback. If the latter is found, examine whether the customer received a misleading notification, whether a parcel was dispatched to the wrong address and whether previous orders share the same event path. Coordinate with the provider to obtain logs within agreed retention periods. Where the signing service or keys are suspected to be compromised, suspend trust in that origin and use the approved manual order-change process pending verification.
Avoiding a false sense of safety from signing
Signature verification depends on secret storage, key rotation, correct event parsing and a trustworthy carrier onboarding process. A perfectly verified webhook can still be unsuitable to update an order if its event type lacks that entitlement. Conversely, a malformed callback should be quarantined without preventing a separate signed delivery-status event from being processed. Separate those failure modes in service monitoring; otherwise operations may see one blanket error count and be unable to distinguish malicious-looking traffic from an expired signing key or a provider configuration mistake.
Further reading and implementation support
For integrity of delivery instructions, Next Defence can assist with a scoped verification of webhook validation and order authorisation, including engineering-safe test design and evidence review. Any conclusions would depend on the particular systems and records examined.
Explore the related security capability