database-testing
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
child_process.execSyncinreferences/migration-tests.mdto run database-related shell commands such asprisma,psql, andpg_dump. - [INDIRECT_PROMPT_INJECTION]: The skill implements a pattern that is vulnerable to command injection from database content. In
references/migration-tests.md, a migration name is fetched from the_prisma_migrationstable and directly interpolated into a shell command string executed viaexecSync. - Ingestion points: The value is read from the database table
_prisma_migrationswithin thereferences/migration-tests.mdfile. - Boundary markers: No boundary markers or "ignore instructions" delimiters are used to wrap the untrusted data.
- Capability inventory: The skill uses
child_process.execSyncfor shell command execution (file:references/migration-tests.md). - Sanitization: The database-sourced value is interpolated into the shell command without escaping or validation, allowing for potential command injection.
- [EXTERNAL_DOWNLOADS]: The skill suggests using
npxto run tools likeprismaandsequelize-cli, which fetches packages from the npm registry. These are well-known developer tools and registries.
Audit Metadata