huawei-cloud-migration-vmware-ecs-private

Warn

Audited by Socket on Sep 30, 2026

6 alerts found:

Anomalyx3Securityx3
AnomalyLOW
scripts/batch_migrate.py

This is a migration orchestration tool with legitimate but high-impact cloud and SSH operations. The clearest risks in this file are shell injection in background relaunch mode, possible credential exposure through command logging/process arguments, and lock-file path redirection from crafted source_ip values. Runtime pip installation adds supply-chain exposure. No clear malware behavior is evident in the fragment.

Confidence: 97%Severity: 68%
SecurityMEDIUM
scripts/sms_agent_push.py

This appears to be legitimate remote deployment and credential-management code, with no direct evidence of malware in the fragment. It has significant security weaknesses: shell injection exposure, unsafe archive extraction, unverified executable downloads, permissive SSH host-key handling, and possible transient credential disclosure. Treat supplied paths, URLs, credentials, and archives as trusted only after validation; verify artifact integrity and enforce strict host-key checks.

Confidence: 94%Severity: 79%
SecurityMEDIUM
scripts/gost_ops.py

The visible code appears intended to deploy and manage a remote GOST port-forwarding service. It does not show clear data theft or other definite malware behavior, but installing an unauthenticated downloaded executable and interpolating rule values into shell commands pose significant supply-chain and command-injection risks. The fragment is incomplete, limiting assessment of the full implementation.

Confidence: 95%Severity: 72%
AnomalyLOW
scripts/proxy_ecs_ops.py

No clear malicious behavior is evident. This is remote proxy/server administration code, but it executes interpolated shell commands and contains an apparent malformed concatenation. The rsync configuration, if applied by omitted code, could expose a root-owned writable module and defaults to allowing all hosts. The shown configure_rsync method does not apply that configuration and appears to fail on undefined variables.

Confidence: 97%Severity: 55%
AnomalyLOW
scripts/report.py

No clear malware behavior is present. The code has report-generation defects and security risks: filename path traversal/absolute-path writes, unescaped HTML output, and CSV formula injection. As shown, save_html also fails on undefined variables and contains recursive calls rather than writing and returning the HTML report.

Confidence: 99%Severity: 62%
SecurityMEDIUM
scripts/squid_ops.py

This is recognizable remote Squid administration code, with no clear evidence of malware or intentional obfuscation. It has significant security issues if method arguments can be influenced by an untrusted party: shell-command injection paths and an overly broad CONNECT ACL that can expose the proxy to unauthorized HTTPS use. Restrict and validate inputs, avoid shell interpolation, and apply source and destination restrictions to CONNECT.

Confidence: 98%Severity: 78%
Audit Metadata
Analyzed At
Sep 30, 2026, 08:06 AM
Package URL
pkg:socket/skills-sh/huaweicloud%2Fhuaweicloud-skills%2Fhuawei-cloud-migration-vmware-ecs-private%2F@a219b1edf3cc89eb797852f79b8ad9e6d59484702e4e06688c543729e9e5b7a1