alibabacloud-sas-openclaw-security

Pass

Audited by Gen Agent Trust Hub on Nov 2, 2026

Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill implements a proactive security interceptor (_BLOCKED_PATTERNS in run_cloud_assistant_command.py) that uses regular expressions to detect and block high-risk commands such as root-level deletions, reverse shells, and unauthorized credential modification. The references to external malicious domains detected by scanners are non-functional examples within this documentation and logic.
  • [COMMAND_EXECUTION]: The skill utilizes the aliyun CLI via Python's subprocess.run to interact with cloud infrastructure. This is a standard and necessary function for the skill's purpose of cloud security management.
  • [REMOTE_CODE_EXECUTION]: Provides functionality to execute commands on remote ECS instances via Alibaba Cloud Assistant. This capability is used for security remediation tasks. Additionally, the skill includes a vendor-specific setup script for the CLI hosted on a known vendor domain (aliyuncli.alicdn.com).
  • [INDIRECT_PROMPT_INJECTION]: The skill processes data from cloud security APIs (such as vulnerability lists and security alerts) which could theoretically contain malicious instructions if a system was already compromised. The skill mitigates this risk by requiring explicit user confirmation before executing remediation commands and applying a regex-based security blocklist to all user-supplied commands.
  • Ingestion points: API responses from Alibaba Cloud Security Center (SAS) processed in check_openclaw_vulns.py and check_openclaw_alerts.py.
  • Boundary markers: The skill includes explicit instructions in SKILL.md and remediation_guide.md requiring user confirmation for high-risk operations.
  • Capability inventory: Remote shell execution via EcsClient.run_command and local CLI execution via BaseClient._run_cli.
  • Sanitization: Implements check_command_safety in run_cloud_assistant_command.py to filter malicious shell patterns.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 2, 2026, 07:05 PM