huawei-cloud-ecs-alert

Warn

Audited by Socket on Aug 29, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/batch_query_metrics.sh

No clear evidence of intentional malware (no exfiltration, credential theft, persistence, or obfuscated payloads) is present in this fragment. However, there are two notable security risks: (1) the script `source`s a local dependency file at runtime, creating an execution trust boundary; and (2) in CSV output mode, user-controlled `--ecs-ids` values are interpolated directly into the inline `python3 -c` program text, creating a potential code-injection vector if crafted ECS IDs break quoting. This warrants review and hardening (e.g., avoid embedding user input into `python -c`, pass values via stdin/env, or robustly escape/validate).

Confidence: 66%Severity: 56%
Audit Metadata
Analyzed At
Aug 29, 2026, 06:57 AM
Package URL
pkg:socket/skills-sh/huaweicloud%2Fhuaweicloud-skills%2Fhuawei-cloud-ecs-alert%2F@6cf48b02b2d93fb11b9f2d8bbc70c42f05333e1178711ec2d0941fbba0d09fef
Security Audit — socket — huawei-cloud-ecs-alert