Opus finding
Webhook signature verification ordering allows information leakage on missing secret
lowsecuritymedium
- apps/web/app/api/github/webhook/route.ts:159-165
The POST handler reads the raw body before verifying the signature only after checking secret presence. This is fine, but combined with logging of `delivery` headers from unverified requests on subsequent code paths could leak metadata; minor.
Recommendation
Consider returning early before reading body when secret missing (already done) — acceptable as-is.