database-migration
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides instructions to execute several command-line tools for database management.
- Evidence: Mentions of
npx sequelize-cli db:migrate,npm run typeorm migration:run,npx prisma migrate dev, andscripts/test-migration.sh. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and transform untrusted data from existing database tables, which could potentially contain malicious instructions targeting the agent's logic during migration scripts.
- Ingestion points: The skill processes data from database tables (e.g.,
SELECT id, address_string FROM users) insideSKILL.md. - Boundary markers: None present to delimit transformed data from instructions.
- Capability inventory: The skill utilizes shell command execution (
npm,npx), file system operations (via referenced scripts), and raw SQL execution capabilities. - Sanitization: The skill demonstrates some best practices like using
replacementsin Sequelize queries to prevent SQL injection, but lacks general protection against instructions embedded within the data values themselves.
Audit Metadata