Supabase Security Advisor Fix Planner

Paste redacted function notes or an advisor warning and generate a safe fix plan for Function Search Path Mutable, public.handle_new_user, trigger sign-up paths, search_path, and broad function execution grants.

Use this when

  • 1
    Advisor warns on a functionYou see Function Search Path Mutable or a function_search_path_mutable lint finding.
  • 2
    Auth signup uses a triggerA handle_new_user function writes a profile row and a bad fix could block signups.
  • 3
    Execution grants are unclearYou need to decide whether anon, authenticated, or public should be able to execute the function.
Use redacted SQL only. Do not paste secrets, private connection strings, real user data, customer records, payment data, private screenshots, full names, private handles, full transaction identifiers, credential values, service-role keys, or dashboard screenshots. This page runs locally in the browser and does not use network requests, browser storage, or a backend.

Ready.

Fix plan

Safe remediation checklist

Need a second pass?

The fixed-scope report can review one redacted Supabase function/advisor packet: likely safe patch shape, grants to tighten, signup or RPC smoke tests, and the exact evidence to keep before rerunning Security Advisor. The sample report is fictional and shows the report shape before checkout.

Source-backed problem set