alibabacloud-emr-starrocks-assistant
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a bundled Python CLI (srsql, sr-login, sr-whoami, etc.) to interact with StarRocks clusters. It also utilizes system tools like
uvandwhichto manage the local execution environment and install the necessary tooling from the skill's own project root. - [EXTERNAL_DOWNLOADS]: The skill connects to
ipinfo.ioduring connection troubleshooting to discover the client's public egress IP, aiding in the configuration of cluster whitelists. This utilizes a well-known service for diagnostic purposes. Additionally, the documentation references the installation ofuvfrom its official Astral repository. - [CREDENTIALS_UNSAFE]: The skill manages database credentials provided by the user, storing them in local configuration files (
~/.starrocks/{profile}.cnf). These files are explicitly managed with strict filesystem permissions (mode 600) within a secured directory (mode 700) to ensure local security. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface as it ingests and displays the results of database queries which could contain malicious content. However, this risk is effectively mitigated by a robust security model that uses
sqlglotto classify SQL statements and requires explicit user confirmation (--yesflag) before executing any non-READ commands (DML, DDL, etc.). - [DATA_EXPOSURE]: The skill interacts with the cluster's MySQL wire protocol (port 9030) using vendor-provided endpoints (
starrocks.aliyuncs.com). No sensitive data exfiltration to unauthorized third-party domains was detected.
Audit Metadata