database-migrations-sql-migrations
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes user-provided migration requirements through the
$ARGUMENTSvariable inSKILL.mdwithout boundary markers or specific instructions to ignore embedded commands. Ingestion points: User requirements are passed via the$ARGUMENTSvariable. Boundary markers: No delimiters are used to separate user input from system instructions. Capability inventory: The skill has access to powerful tools includingBash,Write, andEdit, and the ability to execute database commands. Sanitization: The templates provided inresources/implementation-playbook.mddemonstrate unsafe interpolation of database identifiers (e.g.,f"SELECT COUNT(*) FROM {table['name']}") and shell variables (e.g.,pg_dump -d $DATABASE), which could be exploited if an agent follows these patterns using untrusted data. - [COMMAND_EXECUTION]: The skill is configured to use the
Bashtool for database management tasks such as backups and migration execution. While these operations are within the skill's stated purpose, the reliance on shell execution combined with the lack of input sanitization in documentation templates creates a risk of command injection if user-supplied data is not properly escaped.
Audit Metadata