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 inSKILL.md. - Capability inventory: The agent can execute migrations using
npx prisma migrate deployorpsql, and can perform operations like dropping columns or restoring database snapshots viaaws rdsas seen inSKILL.mdandagents/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, andaws rds restore-db-instance-to-point-in-time. These are executed using theBashtool permitted in the skill configuration.- [DYNAMIC_EXECUTION]: The skill employs runtime execution environments for scripting and database operations. - Evidence:
SKILL.mdconfigures Prisma seeding viats-node prisma/seed.ts, which involves runtime compilation and execution of TypeScript. Additionally, it usesDO $$PL/pgSQL blocks for batched updates, which execute dynamic code within the database engine.
Audit Metadata