KeySnare
Search
Archive
Authors
Login
Sign Up
KeySnare

Archive

Dive into a collection of past posts and rediscover timeless content.
Anyone can make themselves admin if your role lives in user_metadata

Nov 30, 2026

•

2 min read

Anyone can make themselves admin if your role lives in user_metadata

Any signed-in Supabase user can edit their own user_metadata. If your app checks roles there, here's how to find it and move roles somewhere users can't touch.

Lucy at KeySnare
Lucy at KeySnare
Your Supabase views might be skipping RLS

Nov 23, 2026

•

2 min read

Your Supabase views might be skipping RLS

In Supabase, a view in the public schema skips Row Level Security by default. Here's the two-minute check and the one-line fix: security_invoker.

Lucy at KeySnare
Lucy at KeySnare
Your Supabase uploads might be public

Nov 16, 2026

•

2 min read

Your Supabase uploads might be public

A public storage bucket skips every access check for reading files. Here's the five-minute check, and the safer setup with private buckets and signed URLs.

Lucy at KeySnare
Lucy at KeySnare
Your RLS is on. Your users' emails might still be public.

Nov 9, 2026

•

2 min read

Your RLS is on. Your users' emails might still be public.

Row Level Security decides which rows people can see, not which columns. Here's the quick check for the leak AI-built Supabase apps keep shipping.

Lucy at KeySnare
Lucy at KeySnare
Supabase error 42501? Don't fix it the dangerous way

Nov 2, 2026

•

2 min read

Supabase error 42501? Don't fix it the dangerous way

New Supabase tables now need an explicit GRANT. Here's the safe two-minute fix, and the "quick fix" your AI might suggest that opens up your whole database.

Lucy at KeySnare
Lucy at KeySnare
A leaked key isn't fixed until it's rotated

Oct 26, 2026

•

2 min read

A leaked key isn't fixed until it's rotated

Deleting a key from your code doesn't stop anyone using it. Here's how to find it, replace it and prove the old one is dead.

Lucy at KeySnare
Lucy at KeySnare
Your API routes might be open to everyone

Oct 19, 2026

•

2 min read

Your API routes might be open to everyone

3 quick checks for missing logins, wide-open CORS and runaway AI bills.

Lucy at KeySnare
Lucy at KeySnare
Is your AI-built app leaking keys? 3 checks in 5 minutes

Oct 15, 2026

•

2 min read

Is your AI-built app leaking keys? 3 checks in 5 minutes

Welcome to LeakMoat: quick security wins for vibe coders. No keys left behind.

Lucy at KeySnare
Lucy at KeySnare

KeySnare

Security tips and scans for AI-built and vibe-coded apps

Archive

Authors

© 2026 KeySnare.
beehiivPowered by beehiiv