supabase-architecture-variants

Warn

Audited by Socket on Sep 9, 2026

1 alert found:

Security
SecurityMEDIUM
references/nextjs-ssr.md

The code is not indicative of malware or intentional supply-chain compromise. The server/client key separation and cookie-based session handling are generally appropriate. However, deleteUserAccount is critically unsafe as shown: an unauthenticated or unauthorized caller may be able to invoke the server action with another user's ID and use the service-role key to delete that user's data and account. Require authenticated caller verification, explicit authorization, and preferably enforce that self-service deletion targets the caller's own user ID. Review OAuth state/PKCE handling and avoid exposing detailed backend errors.

Confidence: 97%Severity: 90%
Audit Metadata
Analyzed At
Sep 9, 2026, 03:52 AM
Package URL
pkg:socket/skills-sh/jeremylongshore%2Ftons-of-skills-marketplace%2Fsupabase-architecture-variants%2F@068b0dc1f9ead87036e2378525ba1dd50f72feba82b298968884e38a7a75f42c