analyzing-postgres

Pass

Audited by Gen Agent Trust Hub on Apr 12, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The discovery script (scripts/discover.ts) utilizes the Bun.spawn API to execute the system's psql command line tool. This interaction is used to retrieve database metadata such as table schemas, row counts, and performance metrics using environment-provided credentials.
  • [SAFE]: The skill enforces a mandatory 'Two-Phase Execution' pattern which requires the agent to first discover and verify schema details before attempting to execute SQL queries. This process effectively prevents common errors related to hallucinated resource names and ensures that the agent operates only on verified database objects.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 12, 2026, 04:21 PM
Security Audit — agent-trust-hub — analyzing-postgres