alibabacloud-flink-sql-skill
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/git_sync.pyusessubprocess.runto execute Git commands for repository synchronization. It implements security controls by explicitly disabling Git hooks (core.hooksPath=/dev/null) and using a strict whitelist-based regular expression (`re.sub(r"[^a-zA-Z0-9_.-]", "_", ...)") to sanitize filenames and prevent command injection. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from Flink runtime logs and tool outputs which could potentially contain malicious instructions to influence the agent's behavior.
- Ingestion points: Ingests free-text content from logs and platform events via
scripts/job_operations.py(throughflink_api_proxyandget_start_log). - Boundary markers: Absent. The skill does not utilize explicit delimiters or 'ignore' instructions when presenting log content or API results to the agent.
- Capability inventory: Executes local Git commands (
scripts/git_sync.py), performs high-risk cloud job mutations like start, stop, and delete (scripts/job_operations.py), and executes SQL DDL/DML statements (scripts/sql_extensions.py). - Sanitization: Present. Includes a
redactfunction inscripts/metric_history.pyto prevent sensitive authentication tokens from appearing in output and utilizes official Alibaba Cloud SDKs for structured data processing.
Audit Metadata