skills/aliyun/alibabacloud-aiops-skills/alibabacloud-idaas-kubernetes-m2m-federated-credential/Gen Agent Trust Hub
alibabacloud-idaas-kubernetes-m2m-federated-credential
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill provides instructions and commands to install the
aliyunCLI using a script fromhttps://aliyuncli.alicdn.com/setup.sh. Since this URL belongs to the official Alibaba Cloud CDN and is used to install the vendor's own tooling, it is considered a legitimate and safe administrative operation. - [COMMAND_EXECUTION]: The skill executes
aliyunCLI andkubectlcommands viasubprocess.run. All such calls in the provided scripts (e.g.,common.py,test_m2m_token.py) use list-formatted arguments rather than shell strings, which is a security best practice that prevents command injection. - [DATA_EXPOSURE_AND_EXFILTRATION]: The skill includes explicit safeguards against data exposure. The
scripts/test_m2m_token.pyscript automatically redacts sensitive fields likeaccess_token,refresh_token, andid_tokenfrom its output. Additionally,SKILL.mdcontains strict rules prohibiting the agent from reading or printing Access Keys, directing the user to manage credentials through the official CLI configuration instead. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data from Kubernetes clusters, such as ServiceAccount tokens and OIDC discovery JSON. The ingestion is handled by dedicated Python parsing scripts (
parse_sa_token.py,probe_k8s.py), which minimizes the risk of embedded malicious instructions influencing the agent's behavior compared to direct prompt interpolation.
Audit Metadata