schema-migration-strategy

Pass

Audited by Gen Agent Trust Hub on Sep 4, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill identifies and processes external migration state and files which represents a potential injection vector if these sources are compromised.
  • Ingestion points: The skill audits migration history tables (e.g., _prisma_migrations, flyway_schema_history) and compares source control DDL against live databases as described in SKILL.md.
  • Capability inventory: The agent can execute migrations using npx prisma migrate deploy or psql, and can perform operations like dropping columns or restoring database snapshots via aws rds as seen in SKILL.md and agents/schema-migration-strategy-agent.md.
  • Boundary markers: The skill does not define explicit boundary markers or instructions to ignore embedded commands within the processed SQL or migration files.
  • Sanitization: There is no evidence of sanitization or safety checks performed on the contents of the migration scripts before they are passed to execution tools.- [COMMAND_EXECUTION]: The skill provides instructions for executing powerful CLI tools through the shell.
  • Evidence: Multiple files provide command patterns for npx prisma, psql, and aws rds restore-db-instance-to-point-in-time. These are executed using the Bash tool permitted in the skill configuration.- [DYNAMIC_EXECUTION]: The skill employs runtime execution environments for scripting and database operations.
  • Evidence: SKILL.md configures Prisma seeding via ts-node prisma/seed.ts, which involves runtime compilation and execution of TypeScript. Additionally, it uses DO $$ PL/pgSQL blocks for batched updates, which execute dynamic code within the database engine.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 4, 2026, 08:33 AM