database-advanced-optimization
Pass
Audited by Gen Agent Trust Hub on Aug 25, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides a shell script
scripts/query-profiling.shwhich automates database profiling by executingpsqlandmongoshcommands. It uses variables for database connection parameters (host, port, user, database) which are passed as command-line arguments. While standard for administrative tools, users should ensure the inputs to these scripts are validated to prevent shell command injection.\n- [PRIVILEGE_ESCALATION]: The instructions inREADME.mdandSKILL.mdsuggest operations that typically require elevated privileges, such as restarting system services viasystemctlor copying configuration files to/etc/. These operations are consistent with the skill's primary purpose of database administration and optimization.\n- [INDIRECT_PROMPT_INJECTION]: Thescripts/query-profiling.shscript represents an attack surface for indirect prompt injection if an agent is instructed to run it using data from an untrusted source as arguments (e.g., a database name provided by an external user). This risk is inherent to tools accepting shell arguments.
Audit Metadata