alibabacloud-ecs-memory-oom-remediation

Pass

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill utilizes the Alibaba Cloud CLI (aliyun) to perform cloud-side reads (DescribeInstances, DescribeMetricLast, etc.) and uses the Alibaba Cloud Assistant RunCommand API to execute a diagnostic collector inside the target ECS instance.
  • [DATA_EXFILTRATION]: The skill collects diagnostic data including memory usage, disk IO, kernel OOM logs, and process lists. To prevent accidental exposure of sensitive data, the memory_diagnosis.py script and the in-guest bash collector implement specific regex-based masking logic to redact passwords, tokens, and access keys found in command-line arguments.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes data returned from the ECS guest, which could theoretically contain malicious instructions. This risk is mitigated by a strict 'Final Answer Delivery Contract' defined in SKILL.md, which mandates that the agent must output the script's report verbatim in code blocks and prohibits any summarization or interpretation of the results.
  • [PRIVILEGE_ESCALATION]: While the in-guest collector runs with root privileges via Cloud Assistant, its scope is strictly limited to a frozen, hardcoded set of read-only diagnostic commands. Mutating actions like enabling swap are restricted to a pre-defined Alibaba Cloud plugin (ACS-ECS-SwapConfig) and require explicit user consent in the current session.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 16, 2026, 02:54 AM