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 Why this conclusion was reached
3/4 dimensions flagged5 undeclared or violating capabilities were inferred.
3 high-risk artifacts or egress signals were extracted.
The report includes 0 attack-chain steps and 2 severe findings.
1 dependency or supply-chain issues need attention.
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
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
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| devbridge-cli | 0.1.12+ (unpinned) | https://res-hd.hc-cdn.cn/sharedata/hdspace/devbridge/install.sh | No | Remote script execution with no version pinning or integrity verification |
| bash | any | system | No | Required shell; eval() usage is a concern |
File composition
SKILL.md scripts/devbridge_cmd.sh references/troubleshooting.md references/rest-api-reference.md references/cli-installation-guide.md skill-card.md