skills/aliyun/alibabacloud-aiops-skills/alibabacloud-ecs-vpc-publicnetwork-troubleshoot/Gen Agent Trust Hub
alibabacloud-ecs-vpc-publicnetwork-troubleshoot
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes the official
aliyunCLI using thesubprocessmodule to perform supplementary queries for DDoS, Cloud Firewall, and billing status. These invocations use argument lists rather than shell strings, and sensitive inputs like Role ARNs are validated with regular expressions inscripts/sts_create.pyto prevent command injection. - [CREDENTIALS_SAFE]: Credentials are managed via
scripts/sts_create.py, which validates the environment's default credential chain or uses STS AssumeRole. Temporary credentials are cached locally inscripts/.sts_cache.jsonwith restricted file permissions (0o600), and the skill instructions explicitly forbid hardcoding or echoing plaintext keys. - [EXTERNAL_DOWNLOADS]: The skill depends on the official
aliyun-python-sdk-corepackage, which is a standard library provided by the vendor (Alibaba Cloud). No unverified third-party dependencies or remote script executions were detected. - [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided identifiers (Instance IDs, VSwitch IDs) and passes them to diagnostic scripts. While this creates an attack surface, the risk is mitigated by using these values only as structured arguments for read-only API calls and CLI commands, following a least-privilege model.
Audit Metadata