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_PATTERNSinrun_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
aliyunCLI via Python'ssubprocess.runto 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.pyandcheck_openclaw_alerts.py. - Boundary markers: The skill includes explicit instructions in
SKILL.mdandremediation_guide.mdrequiring user confirmation for high-risk operations. - Capability inventory: Remote shell execution via
EcsClient.run_commandand local CLI execution viaBaseClient._run_cli. - Sanitization: Implements
check_command_safetyinrun_cloud_assistant_command.pyto filter malicious shell patterns.
Audit Metadata