alibabacloud-emr-cluster-manage
Pass
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONPROMPT_INJECTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill includes instructions to install or update the Aliyun CLI by downloading a setup script from
https://aliyuncli.alicdn.com/setup.shand piping it to bash. This resource is hosted on an official domain belonging to the service vendor (Aliyun) and follows standard installation practices for the tool. - [PROMPT_INJECTION]: The skill defines a set of safety constraints to identify and refuse common prompt injection patterns, such as attempts to override instructions or switch to unfiltered modes. These mentions are defensive and serve to harden the agent's behavior against adversarial inputs by providing examples of what to refuse.
- [INDIRECT_PROMPT_INJECTION]: The skill handles untrusted user input (e.g., cluster names, descriptions) that is used to construct CLI commands. It addresses this risk with a dedicated 'Input Validation' section and provides the following security details:
- Ingestion points: User-provided strings for cluster configuration parameters, names, and descriptions are ingested in
SKILL.md. - Boundary markers: The instructions mandate passing complex nested parameters as JSON strings to isolate potential shell meta-characters from the command line.
- Capability inventory: The skill uses the
aliyunCLI to perform cluster management operations via subprocess execution. - Sanitization: Explicit validation rules in
SKILL.mdprohibit shell meta-characters (such as backticks and command substitution) and enforce specific character sets and length limits for identifiers. - [COMMAND_EXECUTION]: The primary function of the skill is to execute
aliyunCLI commands to manage the lifecycle of EMR clusters. All command invocations are restricted to the EMR service and include source tracking via a mandatory User-Agent string to ensure transparency and accountability.
Audit Metadata