Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The webhook example reads the request body twice with `await request.text()`: once for signature verification and again before `JSON.parse`. In the Fetch/Workers request model, the body stream is typically consumable only once, so the second read can fail or return an empty body, causing verification/parsing bugs and potentially leading developers to disable verification or implement unsafe workarounds in production webhook handlers.
