← 返回扫描报告总表 · ← dshlib 图书馆

扫描报告 · huaweicloud/huaweicloud-devkit

认证等级L2
验证状态self-declared(单方声明,待独立验证)
验证方法未登记 structured verifiedBy
运行级实测未做运行级实测
内容锚git commit bcefb32fc5f1 · huaweicloud/huaweicloud-devkit · git ls-remote / clone 复现可对账
DIDdid:cha2a:package:huaweicloud/huaweicloud-devkit
身份锚点npm 未声明 GitHub 仓库——装前请自行核验来源
来源git
插件版本—
安装dsh plugin add github:huaweicloud/huaweicloud-devkit
扫描日期2026-09-04(28 天前)
扫描层级静态扫描(自研规则 + GuardDog 复核 + OSV 依赖)
扫描器版本dshlib-scan v0.1 · GuardDog 3.2.0 · OSV.dev

自研扫描:⚠️ 待审 · GuardDog 复核:未扫描 · OSV 依赖:未扫描

语义:扫描是提示信号,非安全审查。✅ 通过=无命中;⚠️ 待审=有命中需人工判断;❌ 失败=无法扫描。人工确认恶意→下架。本页全部内容由 dshlib 数据库派生(验证报告 可核对证据)。认证等级与依赖漏洞正交:L4 认证覆盖插件包内容/来源/生态,不覆盖依赖安全(见收录与验证标准)。结论有有效期:插件或运行时更新后,本页结论可能过期(>30 天将标注待复核)。本库能力与边界:披露页。

1. 自研扫描(dshlib-scan)

verified

True

findings

{'dangerous_commands': [{'file': 'huaweicloud-devkit-main/README.md', 'line': 66, 'match': 'rm -rf ~/.npm/_npx/  # Linux/', 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/README.md', 'line': 204, 'match': 'rm -rf ~/.npm/_npx/', 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/README.md', 'line': 226, 'match': 'rm -rf ~/.npm/_npx/  # Linux/', 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/README.zh-CN.md', 'line': 62, 'match': 'rm -rf ~/.npm/_npx/  # 仅 Linux/', 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/README.zh-CN.md', 'line': 200, 'match': 'rm -rf ~/.npm/_npx/', 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/README.zh-CN.md', 'line': 222, 'match': 'rm -rf ~/.npm/_npx/  # 仅 Linux/', 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/safety/policy.json', 'line': 69, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/safety/policy.json', 'line': 70, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/safety/rules/cloud-risk-rules.json', 'line': 363, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/safety/rules/cloud-risk-rules.json', 'line': 367, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/safety/rules/cloud-risk-rules.json', 'line': 380, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-ecs/SKILL.md', 'line': 27, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-ecs/SKILL.md', 'line': 37, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-ecs/SKILL.md', 'line': 64, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-ecs/SKILL.md', 'line': 64, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-iac/SKILL.md', 'line': 3, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/mcp-server.mjs', 'line': 83, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/mcp-server.mjs', 'line': 96, 'match': 'shutdown', 'label': '系统关机'}], 'excessive_permissions': [{'file': 'huaweicloud-devkit-main/integrations/atomcode/hooks/huaweicloud-telemetry.js', 'line': 79, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/integrations/dsh/hook-plugin.mjs', 'line': 74, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/integrations/opencode/hooks/skill-tracker.js', 'line': 43, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/auth/credentials.mjs', 'line': 103, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/session-manager.mjs', 'line': 175, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/update-check.mjs', 'line': 20, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/ws-exec/hwlink-exec-client.js', 'line': 263, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/ws-exec/hwlink-exec-client.js', 'line': 448, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/ws-exec/ws-exec-client.js', 'line': 194, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/ws-exec/ws-exec-client.js', 'line': 347, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/bump-version.mjs', 'line': 15, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/bump-version.mjs', 'line': 22, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/bump-version.mjs', 'line': 29, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/bump-version.mjs', 'line': 30, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/bump-version.mjs', 'line': 35, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/bump-version.mjs', 'line': 43, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/bump-version.mjs', 'line': 95, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/create-release-pr.mjs', 'line': 12, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/create-release-pr.mjs', 'line': 65, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/create-release-pr.mjs', 'line': 70, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/create-release-pr.mjs', 'line': 100, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/next-stable.mjs', 'line': 17, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/scripts/pack-verify.mjs', 'line': 13, 'match': 'execSync(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/test/officeace-adaptation.test.mjs', 'line': 70, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/test/officeace-adaptation.test.mjs', 'line': 71, 'match': 'exec(', 'label': '命令执行'}], 'data_exfiltration': [{'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huaweicloud-safety/SKILL.md', 'line': 57, 'match': 'secret injection instead of fetch', 'label': '凭据字段进入网络请求'}], 'hardcoded_secrets': [{'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/hcloud-cli.mjs', 'line': 307, 'match': "token='),\n    )\n  ) {\n    return [];\n  }\n  // Explicit obsutil-style credentials", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/hcloud-cli.mjs', 'line': 337, 'match': "token=' + creds.securityToken];\n}\n\nexport function planHcloudCommand(args, optio", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 427, 'match': "token=')),\n      JSON.stringify(parsed.args),\n    );\n    assert.ok(parsed.args.s", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 443, 'match': "token='));\n    assert.equal(injected.length, 0, JSON.stringify(parsed.args));\n  ", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 500, 'match': "token=')));\n    assert.ok(!redactedArgs.includes('", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 531, 'match': "token=')));\n  clearRuntimeCredentials();\n});\n\ntest('", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 541, 'match': "token=')));\n  clearRuntimeCredentials();\n});\n\ntest('", 'label': '明文凭据'}]}

mode

git-refresh

branch

main

2. 第三方复核(GuardDog 3.2.0)

未复核。

3. 依赖漏洞(OSV.dev)

未查询。