huawei-cloud-ges-graph
Audited by Socket on Nov 18, 2026
3 alerts found:
Securityx3The purpose and credential requirements generally fit Huawei GES operations, and no clear credential-harvesting route or remote installer is shown. However, sending the IAM token over HTTP and disabling TLS verification create substantial credential interception risk; the OBS hostname also needs verification. Treat as suspicious until transport security and endpoint ownership are established.
This code is intended to access Huawei GES and OBS using configured credentials and caller-requested graph or object-storage operations; it contains no clear covert exfiltration or backdoor behavior. Severity is a security warning: TLS verification is disabled for credential-bearing and data-bearing requests, and Cypher validation and identifier interpolation do not reliably prevent destructive actions or query manipulation. Network destinations are the configured IAM URL, graph_ip:graph_port, and OBS buckets at obs.<region>.ulanqab.huawei.com; credentials targeted include passwords, access keys, secret keys, and tokens, with no hardcoded secrets or fixed suspicious domain/IP. The supplied fragment also has a syntax error in the CypherSafetyError declaration and cannot be imported as written.
This code is a Huawei Cloud GES and OBS API client; the fragment shows no clear malware or unauthorized data collection. It handles cloud credentials and tokens, but sends GES traffic over HTTP and disables TLS certificate verification for HTTPS, creating a high risk of credential interception; IAM credentials are also exposed if GES_IAM_URL uses HTTP or an untrusted host. Unescaped query identifiers and heuristic destructive-query checks create query-injection and unintended graph-modification risks. Severity is high for deployments using these insecure transport settings and untrusted query inputs; the OBS endpoint is obs.<region>.ulanqab.huawei[.]com.