huawei-cloud-computing-query
Audited by Socket on Dec 1, 2026
2 alerts found:
Anomalyx2This environment checker installs project dependencies, bootstraps pip when necessary, and sends configured Huawei Cloud credentials to IAM for intended validation and project lookup. It disables HTTPS certificate verification and downloads then executes get-pip.py from mirrors[.]huaweicloud[.]com or bootstrap[.]pypa[.]io, creating a meaningful supply-chain and interception risk. The code does not show unrelated credential exfiltration or other clear malware behavior; severity is a security warning focused on unverified downloads and execution.
This code is a Huawei Cloud credential and IAM query helper, not apparent malware. It reads cloud access-key/secret-key and security-token environment variables and uses them in an IAM API request; no fixed malicious domain or URL is present. The notable security issue is disabled TLS certificate verification, which can expose credentials to interception, potentially through HTTPS_PROXY or HTTP_PROXY; urllib3 warnings are also suppressed. Severity is moderate to high for credential confidentiality, but the fragment shows no direct credential theft or other malicious behavior.