postgresql-devsec
Pass
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Includes a destructive file system operation
sudo find /var/lib/postgresql/15/main -mindepth 1 -deleteto clear the data directory for replication setup, which carries high risk if executed against an incorrect path.\n- [PRIVILEGE_ESCALATION]: Regularly employssudofor administrative actions, including package management, service configuration, and database user switching, granting the agent significant control over the host system.\n- [EXTERNAL_DOWNLOADS]: Fetches system packages from official repositories and references external Docker images including the officialpostgresimage and the third-partyedoburu/pgbouncerimage.\n- [INDIRECT_PROMPT_INJECTION]: The skill is designed to interact with live database state which may contain untrusted data.\n - Ingestion points: Reads active queries and session state from the
pg_stat_activityview and system logs.\n - Boundary markers: Does not define explicit delimiters or instructions to treat database-sourced content as untrusted data.\n
- Capability inventory: Provides access to powerful tools like
sudo,psql, and file system commands.\n - Sanitization: Lacks mechanisms for sanitizing or validating the content of queries or logs before processing.\n- [DYNAMIC_EXECUTION]: Documents the use of the
\icommand withinpsqlto execute SQL commands from external files, which could lead to arbitrary SQL execution if the target file is compromised.
Audit Metadata