huawei-cloud-devbridge-tunnel
The skill is a legitimate DevBridge tunnel management tool but relies on unsafe curl|bash remote script execution for CLI installation, uses eval() in its command adaptation layer, and lacks declared allowed tools — raising security concerns without confirmed malicious intent.
The skill downloads and executes a remote installation script from res-hd.hc-cdn.cn without version pinning, checksum verification, or HTTPS certificate pinning. This is a well-known attack vector where the remote server could serve malicious code at any time.
SKILL.md:87 为什么得出这个结论
3/4 个维度触发发现 5 项声明之外的能力或越权行为。
提取到 3 个高危 IOC 或外联信号。
报告包含 0 步攻击链,另有 2 项高危或严重发现。
发现 1 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
SKILL.md:87, 140, 157 and cli-installation-guide.md:37 download and execute code from https://res-hd.hc-cdn.cn — not version-pinned, no checksum verification
scripts/devbridge_cmd.sh lines 68, 76, 88, 98, 110 use eval with constructed command strings; potential injection if tunnel IDs are not sanitized
SKILL.md does not specify allowed-tools; capability inference shows filesystem:WRITE, network:READ, shell:WRITE without explicit declaration
references/cli-installation-guide.md:137 references 'rm -rf ~' for uninstall; cli-installation-guide.md:161 uses curl with proxy for remote script execution
SKILL.md:160 uses nohup to background host processes; creates persistence risk if processes are not cleaned up
最关键的证据
Unsafe curl|bash remote script execution
The skill downloads and executes a remote installation script from res-hd.hc-cdn.cn without version pinning, checksum verification, or HTTPS certificate pinning. This is a well-known attack vector where the remote server could serve malicious code at any time.
SKILL.md:87 eval() usage in command execution layer
The adaptation layer scripts/devbridge_cmd.sh uses eval() to execute dynamically constructed command strings. While the inputs are internally generated, the pattern is dangerous and could become a vector if tunnel IDs or other parameters are ever influenced by external input.
scripts/devbridge_cmd.sh:68 No allowed-tools declaration in SKILL.md
SKILL.md does not declare which pi allowed tools the skill uses. Based on the implementation, the skill requires filesystem:WRITE, network:READ, and shell:WRITE — none of which are declared.
SKILL.md:1 Unversioned remote download source
The installation URL https://res-hd.hc-cdn.cn/sharedata/hdspace/devbridge/install.sh is not version-pinned. The script could serve different content over time without notice, creating a supply chain risk.
SKILL.md:87 Dangerous rm command in documentation
The CLI installation guide references 'rm -rf ~' (with a space) as an uninstall command, which could cause data loss if the trailing space is stripped or misinterpreted. The command also removes ~/.huawei/devbridge which contains authentication credentials.
references/cli-installation-guide.md:137 Background process persistence without cleanup guarantee
The skill uses nohup to run devbridge host/connect in the background. These processes may continue running after the skill completes if not explicitly stopped, creating a persistence risk where local services remain exposed.
SKILL.md:160 声明能力 vs 实际能力
SKILL.md:87 — curl|bash writes to ~/.huawei/bin/ and ~/.huawei/devbridge/; not declared SKILL.md:87,139 — downloads CLI from res-hd.hc-cdn.cn; Huawei Cloud relay communication; not declared scripts/devbridge_cmd.sh — eval-based command execution with retry logic; no declaration SKILL.md:130 — reads PATH for ~/.huawei/bin; devbridge auth reads AK/SK env vars SKILL.md:44 — skill_invoke used to chain with other DevBridge commands 可疑产物与外联
curl -fsSL https://res-hd.hc-cdn.cn/sharedata/hdspace/devbridge/install.sh | bash SKILL.md:87
rm -rf ~ references/cli-installation-guide.md:137
curl --proxy <proxy-url> -fsSL <install-url> | bash references/cli-installation-guide.md:161
https://res-hd.hc-cdn.cn/sharedata/hdspace/devbridge/install.sh SKILL.md:87
https://noh56s7x-8080.cn-north-4-bridge.myhuaweicloud.com SKILL.md:306
https://res-hd.hc-cdn.cn/sharedata/hdspace/devbridge/install.ps1 references/cli-installation-guide.md:36
https://devbridge. references/rest-api-reference.md:8
https://res-hd.hc-cdn.cn references/troubleshooting.md:58
https://clawhub.ai/user/huaweiclouddev skill-card.md:9
https://clawhub.ai/huaweiclouddev/skills/huawei-cloud-devbridge-tunnel skill-card.md:47
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| devbridge-cli | 0.1.12+ (unpinned) | https://res-hd.hc-cdn.cn/sharedata/hdspace/devbridge/install.sh | 否 | Remote script execution with no version pinning or integrity verification |
| bash | any | system | 否 | Required shell; eval() usage is a concern |
文件构成
SKILL.md scripts/devbridge_cmd.sh references/troubleshooting.md references/rest-api-reference.md references/cli-installation-guide.md skill-card.md