★SB-EDGE-JWT-OFF
JWT verification disabled for an edge function
- Severity
- Medium / High
- Confidence
- High
- Stack
- Supabase
- Runs
- On by default
What the CLI looks for
verify_jwt = false for a function in supabase/config.toml.
Why it matters
With verify_jwt turned off, Supabase lets any request reach the function, with or without a valid token. That is fine for a webhook that verifies its own signature, and dangerous for everything else.
How to fix it
Turn JWT verification back on unless the function verifies a signature or a secret itself (a Stripe webhook, for example). If it has to stay off, check that signature at the top of the function.
[functions.process-callback]
verify_jwt = true