supabase-webhooks-events

Warn

Audited by Socket on Sep 9, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
references/edge-function-receivers.md

The code appears to implement legitimate webhook processing and contains no evident malware or intentional supply-chain attack behavior. Its primary security risks are optional signature enforcement, missing validation, privileged service-role database access, absent error handling, and a non-atomic idempotency implementation. The code should not be exposed publicly with WEBHOOK_SECRET unset, and the idempotent handler requires authentication and an atomic deduplication design.

Confidence: 98%Severity: 64%
AnomalyLOW
references/database-webhooks.md

The code is ordinary database webhook configuration rather than apparent malware. It intentionally sends database row data to specified Supabase Edge Function endpoints. The service-role key in an outgoing Authorization header and full-row serialization create meaningful confidentiality and credential-exposure risks if the destination, database setting, or function permissions are misconfigured. Use a restricted webhook secret instead of a service-role key where possible, explicitly set a safe search_path in SECURITY DEFINER functions, restrict access to pg_net response tables, and add a DELETE trigger if delete events are required.

Confidence: 97%Severity: 62%
Audit Metadata
Analyzed At
Sep 9, 2026, 03:54 AM
Package URL
pkg:socket/skills-sh/jeremylongshore%2Ftons-of-skills-marketplace%2Fsupabase-webhooks-events%2F@24e00b651d9e32d9871dd52c4905810b6e0140b096b19977b92c1002218adc15