alibabacloud-emas-apm-query

Pass

Audited by Gen Agent Trust Hub on Nov 5, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill's documentation and installation guides reference official Alibaba Cloud sources for the Aliyun CLI and its plugins (e.g., aliyuncli.alicdn.com). These are well-known, trusted vendor resources used for environment setup.
  • [COMMAND_EXECUTION]: The skill uses a set of Bash scripts (list_top_issues.sh, dig_issue.sh) to execute aliyun emas-appmonitor commands. These commands are restricted to read-only operations (get-issues, get-issue, get-errors, get-error) to query telemetry data. The scripts include robust input validation to ensure that user-supplied arguments (AppKey, OS, DigestHash) are properly formatted, preventing shell injection vulnerabilities.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes telemetry data (stack traces, exception messages, and logs) retrieved from the EMAS APM backend to generate troubleshooting reports and code fix suggestions. This represents an attack surface where maliciously crafted logs could theoretically attempt to influence agent behavior.
  • Ingestion points: Data from get-issue, get-errors, and get-error API responses are saved to local JSON files and then parsed.
  • Boundary markers: None explicitly used during prompt interpolation.
  • Capability inventory: The agent has capabilities for local file read/write and network communication through the Aliyun CLI.
  • Sanitization: The scripts use jq for secure JSON parsing and include basic formatting (e.g., escaping newlines) before generating the final report.
  • [CREDENTIALS_SAFE]: The skill explicitly instructs the user not to print or hardcode Access Key (AK) or Secret Key (SK) values. It recommends secure configuration methods such as OAuth or environment variables, which is a standard security best practice for cloud management tools.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 5, 2026, 07:04 PM