What problem does it solve? Multi-tenant SaaS codebases risk leaking one company's data to another through missing RLS policies, spoofed tenant IDs, unverified webhooks, or leaked secrets. This Skill acts as a strict security gatekeeper that reviews every backend, edge function, SQL migration, and frontend change in the Pitch CRM codebase and blocks insecure implementations before they ship. ## Core Features & Use Cases - Tenant Isolation Enforcement: Rejects code that trusts company_id from request bodies, requires JWT-based identity resolution, and mandates manual company_id filtering whenever the service role bypasses RLS. - Route Auth-Mode Declaration: Requires every edge function route to declare itself as authenticated tenant, service-role worker, public webhook, or public signed-token, with matching verification logic. - Webhook & Integration Security: Enforces signature verification for Telnyx, Stripe, and email webhooks, plus per-company scoping of QBO, Stripe, DocuSign, and other integration credentials. - Use Case: When adding a new Supabase edge function that sends bulk SMS, the Skill checks that the route declares its auth mode, resolves the tenant from the JWT, verifies DNC compliance gates, and writes an audit log before allowing completion. ## Quick Start Review this new edge function for tenant isolation, RLS coverage, webhook signature verification, and secret hygiene before I merge it.