Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The webhook verification example is insecure because it computes a plain hash of `body + secret` using `sha3` and compares it directly to the header value. Signed webhook verification normally requires the provider's exact signing scheme, typically an HMAC over the raw request body with constant-time comparison; a simplified example like this can cause developers to implement broken verification and accept forged webhook payloads.
