supabase-reference-architecture

Warn

Audited by Socket on Sep 9, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
references/key-components.md

No evidence of malware, exfiltration, backdoors, or obfuscated malicious behavior is present. The main security issue is the unauthenticated-looking edge endpoint using a service-role key to process any supplied order_id; it requires explicit caller authentication, authorization, tenant validation, and preferably idempotency checks. The security-definer audit function should set a secure search_path and limit access to audit data, while audit snapshots should be reviewed for sensitive-field exposure.

Confidence: 96%Severity: 72%
AnomalyLOW
references/examples.md

The code appears to be ordinary Supabase multi-tenant and job-processing example code, not malware. The main security concerns are hardcoded demonstration credentials, possible accidental client exposure of the service-role key through the VITE_ prefix, privileged admin-client usage, payload logging, and reliance on database-side authorization for tenant switching. The fragment contains no evident malicious behavior, but the service-role key handling warrants correction before deployment.

Confidence: 97%Severity: 62%
Audit Metadata
Analyzed At
Sep 9, 2026, 03:53 AM
Package URL
pkg:socket/skills-sh/jeremylongshore%2Ftons-of-skills-marketplace%2Fsupabase-reference-architecture%2F@f90fba339718005ca40023bc15cdafdad4dc690b87fc11a8ed1870433b527527