db-migration-safety
Pass
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted migration SQL and ORM files for static analysis and quotes observed code verbatim in its findings. There is a lack of explicit boundary markers or instructions to the agent to disregard instructions embedded within the data being processed. This creates a potential surface for indirect prompt injection if a migration file contains malicious instructions (e.g., in SQL comments) that the agent might execute while processing the lint results.
- Ingestion points: SQL migration files and ORM scripts (
scripts/parse-schema.mjs,parse-orm-python.py). - Boundary markers: Absent; the skill does not define specific delimiters to isolate the untrusted code snippets from its own instructions.
- Capability inventory: Access to
Bash,Grep,Read, and the ability to execute database metadata queries viaBash. - Sanitization: The instructions mention that secrets are redacted, but there is no specific logic to escape or sanitize natural language instructions embedded in the code segments.
- [COMMAND_EXECUTION]: The skill relies on the
Bashtool to perform Tier-0 and Tier-1 checks, including running local scripts and executing SQL queries for database inspection. These operations are consistent with the skill's primary purpose but involve the execution of shell commands based on the skill's internal logic.
Audit Metadata