_captured_headers was storing all x-* headers including X-Hub-Signature-256 and X-Webhook-Signature. Since stored headers are exposed via the payload read endpoint, this enabled replay attacks without knowing the webhook secret. Now signature and authorization headers are excluded from capture. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 KiB
19 KiB