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 theBun.spawnAPI to execute the system'spsqlcommand 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