postgresql-psql
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill documents the ! (or \shell) meta-command and the \g | [COMMAND] syntax. These are standard features of the psql client that allow users to execute shell commands or pipe query results to external processes during a database session.
- [DATA_EXFILTRATION]: The skill provides instructions for using \copy and COPY commands to export data to the local filesystem or standard output. It also describes the configuration of the ~/.pgpass file for managing database credentials, including security recommendations for file permissions such as restrictive access rights.
- [REMOTE_CODE_EXECUTION]: The documentation includes Bash script examples for automated database maintenance, health checks, and connection pooling. These scripts leverage standard PostgreSQL tools like psql and pg_dump for legitimate administrative workflows.
Audit Metadata