database-testing

Pass

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The provided code examples demonstrate an attack surface where data retrieved from a database is used to construct shell commands.
  • Ingestion points: In references/migration-tests.md, a query retrieves the migration_name from the _prisma_migrations table.
  • Boundary markers: The code does not use boundary markers or delimiters when interpolating the database value into the shell command string.
  • Capability inventory: The script uses execSync from the node:child_process module to execute commands on the host system.
  • Sanitization: There is no evidence of sanitization, escaping, or validation of the latest variable before it is used to build the command string for psql.
  • [COMMAND_EXECUTION]: The skill's reference files contain numerous instances of shell command execution to interface with database CLI tools.
  • Evidence: references/migration-tests.md uses execSync to run npx prisma migrate deploy, psql, and pg_dump commands for migration testing and schema snapshotting.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 23, 2026, 04:46 AM