huawei-cloud-devkit-application-check-cli
Audited by Socket on Sep 21, 2026
10 alerts found:
Anomalyx8Securityx2SUSPICIOUS:整体功能与“华为云上部署 DevKit 并做迁移评估”基本一致,主要网络端点和安装源也大体属于官方生态,因此不像凭据窃取型恶意技能。但它要求广泛云与 SSH 操作、自动创建资源并在部分步骤绕过逐次确认,且存在远程安装脚本/二进制执行与文档规则自相矛盾的问题,带来中等偏高安全风险。
The script appears to be a legitimate DevKit credential-encryption and SSH-verification utility rather than malware. It intentionally processes SSH passwords and sends them to configured hosts, but it does not show exfiltration to an attacker-controlled destination or other malicious behavior. Security review is required before use because host-key checking is disabled, the expect fallback can be injection-prone, plaintext credentials remain in backups and temporary runtime data, and the predictable /tmp state file is vulnerable to local tampering. The external sys-mig and devkit binaries must be independently trusted and verified.
The file does not show clear malware or intentional credential theft; its remote administration behavior is aligned with its stated purpose. It has significant security risks: disabled SSH host-key verification, shell command injection through unquoted --version and --nodes-conf values, and potential tar path traversal during report downloads. Use only with trusted arguments and a trusted remote server, and fix these issues by quoting all shell arguments, enforcing SSH host-key verification, and validating extracted paths against the destination directory.
No clear malware or deliberate data-exfiltration behavior is present in this documentation. It describes a legitimate remote DevKit installation and scanning workflow, but presents material supply-chain and operational security risks: execution of unreviewed remote scripts, downloading an archive without documented integrity verification, handling SSH credentials, and interpolating configuration values into shell commands. The referenced scripts and package must be inspected before use, and variables and paths should be strictly validated and safely quoted.
The shown fragment is cloud provisioning and deployment documentation with real resource-creation commands. It does not provide evidence of malware or intentional supply-chain sabotage. It presents moderate security risk because it handles cloud credentials, exposes the ECS password through a CLI argument, creates a publicly reachable instance, enables broad ICMP ingress, uses a predictable temporary file, and automatically proceeds to remote installation steps. The unseen portions require separate review.
The fragment is an operations guide, not malware, and contains no direct malicious payload. It specifies legitimate remote administration and scanning workflows, but presents meaningful security risks: disabled SSH host-key verification, password-based authentication and temporary plaintext credential handling, potentially unrestricted remote command execution from user input, and unspecified integrity verification for downloaded and installed software. Implementation review and strict command/path allowlisting are required before treating the workflow as safe.
No clear malicious behavior is present in the supplied script. Its behavior is consistent with a privileged DevKit installer, but it has meaningful supply-chain and installation risks: unsigned remote archives are extracted and executed, tar contents are not safely constrained, and the unvalidated --version argument is written into paths and /etc/profile. Use only with trusted URLs and review or add checksums/signatures and safe version validation before deployment.
The supplied document is legitimate-looking operational documentation and contains no direct evidence of malware or intentional sabotage. It does, however, describe several insecure administrative practices: password-based SSH via sshpass, passwords placed in SSHPASS command contexts, disabled SSH host-key verification, and software installation without integrity verification. These are security risks but are not by themselves evidence of malicious intent. Review the referenced scripts and verify download checksums, use SSH keys, enforce host-key validation, and avoid exposing credentials in command strings.
This is credential-handling and workflow documentation, not malware or executable attack code. It includes reasonable confirmation, masking, EIP-resolution, and encryption requirements, but it retains significant secret-management risk because passwords are persisted in environment variables and may be passed through command-line argument expansion during ECS creation. The supplied text alone provides no evidence of malicious intent; implementation should independently verify that secrets are not exposed by process listings, shell tracing, CLI logs, or provider-side telemetry.
The supplied fragment is operational documentation, not apparent malware. Its main security concerns are execution of an unverified remotely downloaded installer, powerful delegated SSH and cloud operations whose implementation is not shown, and a credential configuration example that can expose secrets through command-line history or process inspection. No direct malicious behavior is demonstrated in the visible text, but execution should be limited to trusted, verified scripts and credential values should be supplied through safer mechanisms.