Skip to content

fix: harden AI MCP endpoints with Supabase auth#85

Merged
Mr-Dark-debug merged 1 commit intomainfrom
mr-dark-debug/fix-critical-and-high-priority-bugs-in-ai-endpoints
Oct 9, 2025
Merged

fix: harden AI MCP endpoints with Supabase auth#85
Mr-Dark-debug merged 1 commit intomainfrom
mr-dark-debug/fix-critical-and-high-priority-bugs-in-ai-endpoints

Conversation

@Mr-Dark-debug
Copy link
Copy Markdown
Collaborator

Summary

  • guard the AI tool proxy with Supabase authentication and staff role verification before invoking MCP services
  • enforce the same authentication/authorization checks on AI draft read/write operations
  • require authenticated staff before listing AI workflows so service-role queries respect RLS policies

Testing

  • npm run lint

https://chatgpt.com/codex/tasks/task_e_68e73af799a4832d81d1e7a2cb293ae2

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
syntax-blogs Ready Ready Preview Comment Oct 9, 2025 4:38am

@Mr-Dark-debug Mr-Dark-debug merged commit ea54a89 into main Oct 9, 2025
4 of 12 checks passed
@Mr-Dark-debug Mr-Dark-debug deleted the mr-dark-debug/fix-critical-and-high-priority-bugs-in-ai-endpoints branch October 9, 2025 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant