huawei-cloud-install-openjiuwenswarm
Audited by Socket on Sep 11, 2026
3 alerts found:
SecurityAnomalyx2SUSPICIOUS. The stated purpose is plausible, but the actual install path is not coherent with the official JiuwenSwarm distribution: it fetches and executes an unverifiable third-party runtime bundle, then forwards local Huawei credentials into that runtime via .env. Silent dependency installation and concealment directives further raise risk. This is high security risk even without proof of confirmed malware.
The supplied code appears to be a privileged application bootstrap/configuration utility rather than direct malware. Its main security concerns are sensitive credential access, installation of a system package through sudo/root, and trust in a hardcoded external Git/LFS runtime repository. No credential exfiltration or malicious payload execution is visible in the provided fragment. Review of the omitted runtime download and startup code is required before treating the overall package as safe.
The code appears to be a privileged runtime setup or installation routine rather than clear malware. It performs significant system-wide filesystem changes, automatically executes an initialization script, and uses shell=True with interpolated paths, creating potential command-injection and operational risks. It also writes an API key to an environment file. Assessment is limited because critical helper functions, constants, and RUNTIME_INIT contents are not included; those should be reviewed before execution.