$ the-wire · showcase
SUPABASE HARDENS CORS AND SHIPS PROMPT-INJECTION EVALS
By RepoJournal · Filed · About Supabase · Composed from the cited sources · methodology
A config hardening for self-hosted envoy plus four new security evals signal Supabase is closing attack surfaces on both the infrastructure and AI agent fronts.
Supabase shipped a CORS hardening for self-hosted deployments, restricting access to `/pg` routes to the studio dashboard instead of the permissive global mode [1]. Meanwhile, four new regression evals, mirroring the AgentDojo benchmark, now test agent robustness against prompt injection through the MCP server's free-text tools like `execute_sql` and `query_logs` [2]. These evals reflect a growing focus on AI security, especially as MCP debugging tools and the Supabase agent skill are now documented [3]. On the CLI side, a migration ordering fix addresses inconsistent behavior across `db pull`, `migration list`, and shadow db replays, which could cause false conflicts and reversed migrations [4]. Storage v1.70.0 and postgres 17.6.1.163 released as portable, smoke-tested runtime artifacts, keeping the local stack current [5][6].
Action items
- → Review the CORS hardening for self-hosted envoy and update your config before next deploy supabase/supabase [immediate]
- → Upgrade to supabase CLI that includes migration ordering fix to avoid false conflicts and reversed replays supabase/cli [immediate]
- → Pin storage to v1.70.0 and postgres to 17.6.1.163 for consistent local runtime supabase/slim-services [plan]
- → Run the new prompt-injection evals against your agents supabase/evals [monitor]
References
- [1] chore: update cors for pg routes (#49136) ↗ supabase/supabase
- [2] feat(evals): prompt-injection security scenarios (AgentDojo-style) (#202) ↗ supabase/evals
- [3] docs: mention MCP debugging tools and Supabase agent skill in debugging docs (#48978) supabase/supabase ↗
- [4] fix(cli): order migrations consistently ↗ supabase/cli
- [5] storage v1.70.0 ↗ supabase/slim-services
- [6] postgres 17.6.1.163 ↗ supabase/slim-services