supabase-security

Warn

Audited by Socket on Oct 10, 2026

6 alerts found:

Anomalyx3Securityx3
AnomalyLOW
scripts/report.js

No clear malware behavior is present. The primary security issue is an injection risk if result fields, especially summary counts or probe fields, can be attacker-controlled. Validate numeric fields and safely encode all dynamic values for their output context.

Confidence: 97%Severity: 55%
AnomalyLOW
docs/scan.html

The code implements a plausible browser-based Supabase exposure scan, but its weak URL validation can disclose the supplied anon key to an arbitrary host. Unescaped HTML rendering of table and column names also permits injection into the results view. The optional signup sends email and project URL to a third party. These are concrete security and privacy concerns, but the fragment does not show clear malware behavior.

Confidence: 98%Severity: 68%
SecurityMEDIUM
action.yml

The action's stated audit and migration-lint behavior is plausible, and this YAML provides no evidence of deliberate malware or obfuscation. However, direct shell interpolation of webhook inputs creates command-injection risk, and the floating npx @latest package receives a Supabase access token, adding material supply-chain exposure. Pin the CLI to a reviewed version and pass webhook values through safely quoted environment variables.

Confidence: 97%Severity: 72%
AnomalyLOW
test/fixtures/migrations/clean/20250101000000_schema.sql

No malicious behavior is evident. The grant of all privileges on private.billing to anon is a significant least-privilege concern and should be removed unless explicitly justified; its effective accessibility cannot be determined from this fragment because schema USAGE may be controlled elsewhere.

Confidence: 97%Severity: 62%
SecurityMEDIUM
test/fixtures/migrations/basic/20250102000000_functions_views.sql

The principal security issue is an exposed data-disclosure function: anon can execute a SECURITY DEFINER function that returns every user's email address. Restrict execution and/or enforce appropriate row-level filtering. The order totals view also warrants an authorization review. The fragment shows no clear malware behavior.

Confidence: 99%Severity: 86%
SecurityMEDIUM
test/fixtures/migrations/lazy/20251031000000_fix_permission_denied.sql

No malware, credential theft, or destructive behavior is present. The script creates a significant database access-control risk through broad grants, especially unrestricted access to public.notes and public read access to all posts. Review and narrow the privileges and policies before deployment.

Confidence: 98%Severity: 79%
Audit Metadata
Analyzed At
Oct 10, 2026, 02:01 AM
Package URL
pkg:socket/skills-sh/perufitlife%2Fsupabase-security-skill%2Fsupabase-security%2F@cbece9c5232272454e3017d30ad703816645888f