huawei-cloud-kunpeng-source-code-migrate

Warn

Audited by Socket on Aug 27, 2026

9 alerts found:

Anomalyx6Securityx3
AnomalyLOW
SKILL.md

SUSPICIOUS: the skill is broadly aligned with Kunpeng migration assessment, and the main tools/endpoints appear Huawei-controlled, but it has a sizable operational footprint: remote code transfer, SSH command execution, cloud provisioning, password-based auth, and weakened SSH host verification. This looks more like a high-trust infrastructure automation skill than malware, but it carries medium security risk and should only be used in controlled environments.

Confidence: 84%Severity: 58%
SecurityMEDIUM
scripts/ssh_client.py

The fragment is an intended administrative SSH/SFTP utility, not clear malware. Its primary risks are disabled SSH host-key verification, unrestricted remote command execution by design, credential exposure through environment and temporary-file sources, and insufficient validation of remote filenames during recursive downloads. The pasted code also contains syntax errors and would not run unchanged. Review and fix these issues before use, especially host-key verification and local path containment.

Confidence: 98%Severity: 72%
SecurityMEDIUM
scripts/provision_kunpeng_server.sh

The code performs legitimate Huawei Cloud infrastructure provisioning and shows no clear malicious intent or data-exfiltration behavior. It does create a publicly addressed server with root password SSH authentication enabled, embeds the password in cloud-init, and stores it in predictable temporary locations. These are material security risks and should be hardened by using key-based SSH, disabling root/password login, validating SSH_SOURCE, using secure atomic temporary files, and adding cleanup handling.

Confidence: 97%Severity: 78%
AnomalyLOW
references/task-prepare-server.md

The supplied fragment is a DevKit installation and cloud/SSH migration-assessment workflow, not a self-contained malicious payload. It contains significant operational security risks: billable cloud-resource creation, password persistence in /tmp, external IP disclosure, remote arbitrary command execution, and file transfer. The fragment alone does not establish malware or intentional sabotage. The referenced scripts must be audited before execution, especially ssh_client.py, provision_kunpeng_server.sh, and install_devkit.sh.

Confidence: 94%Severity: 68%
AnomalyLOW
references/scripts-guide.md

The supplied fragment is operational documentation with benign stated migration and provisioning purposes, not evidence of malware. It contains security-sensitive behavior: password-based root SSH access, automatic acceptance of unknown host keys, remote command execution, privileged software installation, cloud-resource creation, and storage of credentials in a temporary environment file. The most concrete issue is AutoAddPolicy(), which permits host-key spoofing. The actual scripts and installer download mechanisms are not included, so their security and supply-chain properties remain unverified.

Confidence: 94%Severity: 58%
SecurityMEDIUM
scripts/install_devkit.sh

No direct evidence of intentionally malicious behavior is present in this script. It is a legitimate-looking installer, but it introduces a significant supply-chain risk by downloading and executing unsigned, unverified archives and by extracting them without archive path validation. Use only with a trusted mirror and independently verified package checksums or signatures; review the archive before installation, especially when using sudo or --offline.

Confidence: 97%Severity: 72%
AnomalyLOW
references/verification-method.md

The fragment is documentation for DevKit and SSH-based source scanning, with no clear evidence of malware or intentional data theft. It contains security weaknesses: untrusted temporary shell-file sourcing, unsafe interpolation of SOURCE_PATH into remote shell commands, and reliance on an unreviewed SSH client and predictable /tmp paths. These issues should be remediated with validated environment-file handling, shell-safe argument passing or robust escaping, secure temporary directories, and verification of SSH host keys and credential handling.

Confidence: 97%Severity: 57%
AnomalyLOW
references/prerequisites.md

No clear malware or intentional data theft is present in this fragment. It is documentation for provisioning and SSH access, but it recommends insecure plaintext storage and persistence of SSH passwords, use of root, and potentially exposed cloud credentials. The referenced scripts must be reviewed separately to validate the claimed credential handling and provisioning behavior.

Confidence: 98%Severity: 67%
AnomalyLOW
references/task-connect-server.md

The supplied fragment is documentation for an authorized-looking remote migration workflow, not malware or an npm package payload. It contains no direct malicious behavior or obfuscation. Its main security concern is the high-impact design: password-based SSH, a possible root account, arbitrary remote command execution, and arbitrary file uploads. Review ssh_client.py and enforce host-key verification, least-privilege accounts, restricted commands, and validated paths before use.

Confidence: 97%Severity: 67%
Audit Metadata
Analyzed At
Aug 27, 2026, 08:24 PM
Package URL
pkg:socket/skills-sh/huaweicloud%2Fhuaweicloud-skills%2Fhuawei-cloud-kunpeng-source-code-migrate%2F@666ff43e47fa716c3effa571d7b4b706f73e20f1789d58b4c46fca834f122d90
Security Audit — socket — huawei-cloud-kunpeng-source-code-migrate