supabase-db-migration
Pass
Audited by Gen Agent Trust Hub on Jul 17, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill enforces a secure-by-default approach for database design, requiring the immediate enablement of Row Level Security (RLS) and the creation of corresponding policies for every new table.
- [SAFE]: The helper Python script (
scripts/new_migration.py) implements strict input validation using a regular expression (SUMMARY_RE) to ensure migration summaries are limited to safe alphanumeric characters, preventing path traversal or shell injection attacks. - [SAFE]: The skill instructions include explicit prohibitions against security-sensitive actions, such as committing service_role keys, local DB screenshots, or executing destructive reset commands against production environments.
- [SAFE]: The workflow incorporates a mandatory human-in-the-loop verification step (Step 4), requiring user approval of the migration plan and SQL scope before proceeding, which serves as a safeguard against unintended schema changes.
- [SAFE]: The skill utilizes standardized templates for zero-downtime migrations (e.g., three-stage column renaming), reducing the risk of application downtime or data corruption during schema updates.
Audit Metadata