Skip to main content
Supabase Security Guide
Q&ASupabase

How secure are Supabase Edge Functions?

Supabase Edge Functions run on Deno Deploy and are isolated from your database by default. They can access the database using the service_role key, which means any vulnerability in an edge function could lead to unrestricted database access. Edge functions should validate and sanitize all user input, implement proper authentication checks, and avoid exposing sensitive environment variables in responses. By default, edge functions require a valid JWT in the Authorization header unless verify_jwt is set to false. UNPWNED tests your edge function endpoints for common vulnerabilities including missing authentication, input validation issues, and information disclosure.

Check your Supabase app now

Run free security scan

Last reviewed: 2026-04-07. Based on publicly available security research and UNPWNED scan telemetry.