huawei-cloud-flexus-l-deploy-jiuwenswarm

Warn

Audited by Socket on Aug 29, 2026

8 alerts found:

Anomalyx4Securityx4
AnomalyLOW
scripts/install_deps.py

No direct malicious behavior is evident in the supplied fragment. The code is an administrative Huawei Cloud deployment tool, but it has a powerful root-level remote execution capability delegated to unreviewed utility functions. The dependency script is empty in this fragment, indicating a likely implementation or truncation defect rather than an observable malicious payload. Review utils.py and the actual script-generation implementation before use, and restrict credentials and target selection appropriately.

Confidence: 94%Severity: 58%
SecurityMEDIUM
scripts/utils.py

No clear evidence of embedded malware, credential theft, covert network communication, obfuscation, persistence, or local system sabotage is present. The code is an administrative automation wrapper whose intended function includes uploading and executing arbitrary scripts on Huawei Cloud instances. That capability is inherently high impact, especially when executed as root, and should only be exposed to trusted callers with strong authorization, target allowlisting, audit logging, and secure credential management. The provided fragment is syntactically incomplete at the end.

Confidence: 97%Severity: 78%
SecurityMEDIUM
scripts/config_channel.py

The code appears intended for authorized Huawei Cloud administration and message-channel configuration, with no direct evidence of malware or data exfiltration. It has significant security weaknesses: credentials are embedded into remotely executed code, the remote script runs as root, configuration secrets are made world-readable, backups retain additional copies of secrets, and unescaped inputs can inject Python code into the generated script. The supplied fragment also appears malformed and incomplete, with accidental script concatenation and undefined functions. It should not be used unchanged; validate and escape inputs, avoid command-line secrets, use restrictive file permissions such as 600, and review the imported utilities and generated script before deployment.

Confidence: 96%Severity: 78%
SecurityMEDIUM
scripts/config_model.py

The code appears intended as a cloud administration utility, not an overt malware payload. However, it has high-impact remote root execution, lacks visible shell-safe handling for user-controlled configuration, and stores the API key in plaintext. It also contains major syntax and runtime defects that prevent execution as supplied. Review and sanitize generate_config_script(), protect the result file, validate instance identifiers, remove or restrict root execution where possible, and inspect utils.py before use.

Confidence: 97%Severity: 78%
AnomalyLOW
scripts/create_instance.py

The fragment is an explicit Huawei Cloud provisioning utility rather than apparent malware. It performs high-impact authenticated cloud actions and can incur recurring charges because automatic payment and renewal are enabled. The shown network destinations are Huawei Cloud endpoints and no unrelated data exfiltration or backdoor behavior is evident. The local utils module and exact file ending require review, and the missing Optional import is a likely runtime defect.

Confidence: 97%Severity: 62%
AnomalyLOW
scripts/deploy_service.py

The fragment appears to be a legitimate cloud deployment orchestrator rather than malware. It performs authenticated Huawei Cloud resource discovery and intentionally executes a locally supplied shell script remotely as root. That capability creates a significant operational security risk if the template, local JSON input, utility modules, credentials, or target selection are compromised, but this fragment itself shows no clear data theft, persistence, backdoor, or obfuscated malicious behavior. Review and integrity-check deploy_script_template.sh and utils.py before use.

Confidence: 96%Severity: 68%
SecurityMEDIUM
assets/deploy_script_template.sh

The fragment is a deployment script with no direct evidence of malware, data theft, backdoors, or sabotage. Its primary supply-chain concern is execution of an unpinned third-party Python package obtained from an alternate mirror, combined with installation and execution as root. Default wildcard CORS, binding to 0.0.0.0, and a fixed session secret create meaningful security exposure if deployed unchanged. Package provenance, hashes, application authentication, and the generated configuration should be reviewed before production use.

Confidence: 97%Severity: 78%
AnomalyLOW
assets/config_template.yaml

The configuration contains no apparent malicious code. It does include deployment security weaknesses: binding to all interfaces, allowing all CORS origins, and configuring unrestricted DingTalk senders if that channel is enabled. Restrict network binding, specify trusted origins, and replace the wildcard sender policy with an explicit allowlist before production use.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Aug 29, 2026, 06:33 AM
Package URL
pkg:socket/skills-sh/huaweicloud%2Fhuaweicloud-skills%2Fhuawei-cloud-flexus-l-deploy-jiuwenswarm%2F@da8db1bf5e2bf00cf90f5ebd7450a73b1813b01a0c6a94244eea237cb5a0cc6f
Security Audit — socket — huawei-cloud-flexus-l-deploy-jiuwenswarm