byted-supabase

Warn

Audited by Socket on Oct 13, 2026

1 alert found:

Security
SecurityMEDIUM
references/edge-function-dev-guide.md

No clear evidence of classic malicious payloads (e.g., backdoors, reverse shells, or external exfiltration) exists in the provided fragment. However, the code presents a high security-risk design pattern: it uses the Supabase service-role key (bypassing RLS) in Edge Functions that perform database writes/reads/deletes and invoke an RPC, while the snippet shows no explicit authentication/authorization gating for those operations. The webhook signature handling is also incomplete (header presence check only), enabling spoofed webhook payloads. Additionally, returning error.message may leak internal details. Overall: primarily a privilege/authorization-abuse risk rather than direct malware.

Confidence: 68%Severity: 84%
Audit Metadata
Analyzed At
Oct 13, 2026, 12:12 PM
Package URL
pkg:socket/skills-sh/bytedance%2Fagentkit-samples%2Fbyted-supabase%2F@ea75570436a62097ec12bb453a9811317197c83e050454be51c5a3e252f99e4b