https://claude.ai/share/31f96692-014d-4628-b56f-605e1a82d1b2
Go to supabase.com and log in
Open your project
Click Project Settings (gear icon, bottom left sidebar)
Click Data API or JWT Keys in the settings menu
Find the Legacy JWT Secret tab
Click Change Legacy Secret
Click Generate a random secret
Read the confirmation dialog — it warns you everything breaks instantly
Confirm it
✅ Anon key and service role key auto-regenerate after this.
Still in Project Settings
Click Database in the left menu
Scroll down to Database password
Click Reset database password
Save the new password in a password manager
Go to Project Settings → Data API
Copy the new anon key and service role key
Open your .env file or your hosting dashboard (Vercel, Railway, etc.)
Replace the old SUPABASE_ANON_KEY and SUPABASE_SERVICE_ROLE_KEY with the new ones
Redeploy your app
Go to Project Settings → Edge Functions → Secrets
Delete all old secrets
Re-add them with fresh values (OpenAI keys, any third party stuff, etc.)
Go to your Supabase account settings
Change your password
Enable MFA
Have jeet (co-owner) do the same
Go to Logs Explorer in your project sidebar
Check for suspicious activity around March 21 (when the attacker was active)
Make sure no unknown edge functions exist in your project
Please authenticate to join the conversation.
In Progress
Feedback, Bugs, & Feature Requests
28 days ago

Harshil S
Get notified by email when there are changes.
In Progress
Feedback, Bugs, & Feature Requests
28 days ago

Harshil S
Get notified by email when there are changes.