huaweicloud/huaweicloud-devkit| 认证等级 | L2 |
| 验证状态 | self-declared(单方声明,待独立验证) |
| 验证方法 | 未登记 structured verifiedBy |
| 运行级实测 | 未做运行级实测 |
| 内容锚 | git commit bcefb32fc5f1 · huaweicloud/huaweicloud-devkit · git ls-remote / clone 复现可对账 |
| DID | did:cha2a:package:huaweicloud/huaweicloud-devkit |
| 身份锚点 | npm 未声明 GitHub 仓库——装前请自行核验来源 |
| 来源 | git |
| 插件版本 | — |
| 安装 | dsh plugin add github:huaweicloud/huaweicloud-devkit |
| 扫描日期 | 2026-09-04(73 天前) |
| 扫描层级 | 静态扫描(自研规则 + GuardDog 复核 + OSV 依赖) |
| 扫描器版本 | dshlib-scan v0.1 · GuardDog 3.2.0 · OSV.dev |
自研扫描:⚠️ 待审 · GuardDog 复核:未扫描 · OSV 依赖:未扫描
True
{'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': 418, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/safety/rules/cloud-risk-rules.json', 'line': 422, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/safety/rules/cloud-risk-rules.json', 'line': 435, '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/skills/huawei-sandbox/SKILL.md', 'line': 339, 'match': 'rm -rf /tmp/devbridge-pkg && mkdir -p /tmp/', 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 166, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 217, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 217, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 328, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 329, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 354, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 365, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 367, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 374, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 374, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md', 'line': 1092, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/references/fullstack-postgrest.md', 'line': 83, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/references/fullstack-postgrest.md', 'line': 253, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/references/fullstack-postgrest.md', 'line': 259, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/references/fullstack-postgrest.md', 'line': 273, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/references/fullstack-postgrest.md', 'line': 289, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-sandbox/references/tunnel-persistence.md', 'line': 67, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/mcp-server.mjs', 'line': 92, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/mcp-server.mjs', 'line': 105, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 197, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 203, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 210, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 216, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 219, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 220, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 223, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 226, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 227, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 263, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 272, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 276, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 280, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 289, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/sandbox-pool.mjs', 'line': 293, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/session-manager.mjs', 'line': 1317, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/telemetry/telemetry.mjs', 'line': 421, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/telemetry/telemetry.mjs', 'line': 430, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/tools.mjs', 'line': 896, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/tools.mjs', 'line': 896, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/tools.mjs', 'line': 896, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/tools.mjs', 'line': 909, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/test/issue-997-1001-sandbox-defects.test.mjs', 'line': 199, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/test/issue-997-1001-sandbox-defects.test.mjs', 'line': 203, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/test/sandbox-pool.test.mjs', 'line': 199, 'match': 'shutdown', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/test/search-market.test.mjs', 'line': 49, 'match': 'rm -rf/', 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/test/session-manager.test.mjs', 'line': 891, 'match': "rm -rf /'] }), /invalid pid/", 'label': 'rm -rf 危险删除'}, {'file': 'huaweicloud-devkit-main/test/session-manager.test.mjs', 'line': 649, 'match': 'reboot', 'label': '系统关机'}, {'file': 'huaweicloud-devkit-main/test/session-manager.test.mjs', 'line': 664, 'match': 'reboot', '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': 44, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/auth/credentials.mjs', 'line': 105, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/safety-policy.mjs', 'line': 423, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/safety-policy.mjs', 'line': 432, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/safety-policy.mjs', 'line': 441, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/safety-policy.mjs', 'line': 452, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/safety-policy.mjs', 'line': 462, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/safety-policy.mjs', 'line': 473, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/safety-policy.mjs', 'line': 501, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/safety-policy.mjs', 'line': 518, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/session-manager.mjs', 'line': 187, 'match': 'exec(', 'label': '命令执行'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/sandbox/session-manager.mjs', 'line': 1399, '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/huawei-cloud-dew-key-management/references/csms-usage.md', 'line': 4, 'match': 'secret values are never fetch', 'label': '凭据字段进入网络请求'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/skills/huawei-cloud-smn-dms-message/SKILL.md', 'line': 362, 'match': 'token` | Yes | Confirmation token (from the HTTP ping-back request', 'label': '凭据字段进入网络请求'}, {'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/skills/huawei-ecs/references/windows-ssh.md', 'line': 80, 'match': "password='<password>'", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/plugins/huaweicloud-core/src/hcloud-cli.mjs', 'line': 338, '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': 368, 'match': "token=' + creds.securityToken];\n}\n\nexport function planHcloudCommand(args, optio", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/cred-reconcile-e2e.test.mjs', 'line': 347, 'match': "token: 'never-issued-confirm-token'", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/cred-reconcile-e2e.test.mjs', 'line': 673, 'match': "token=')),\n '", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/devbridge-key.test.mjs', 'line': 35, 'match': "api_key: 'devbridge_MOCKKEY'", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/devbridge-key.test.mjs', 'line': 74, 'match': "api_key: 'devbridge_TEST1'", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/devbridge-key.test.mjs', 'line': 87, 'match': "api_key: 'devbridge_TEST2'", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/devbridge-key.test.mjs', 'line': 102, 'match': "api_key: 'devbridge_NEW'", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/devbridge-key.test.mjs', 'line': 114, 'match': "api_key: 'devbridge_NO_ORPHAN'", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 470, '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': 486, 'match': "token='));\n assert.equal(injected.length, 0, JSON.stringify(parsed.args));\n ", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 543, 'match': "token=')));\n assert.ok(!redactedArgs.includes('", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 574, 'match': "token=')));\n clearRuntimeCredentials();\n});\n\ntest('", 'label': '明文凭据'}, {'file': 'huaweicloud-devkit-main/test/hcloud-cli.test.mjs', 'line': 584, 'match': "token=')));\n clearRuntimeCredentials();\n});\n\ntest('", 'label': '明文凭据'}]}git-refresh
main
未复核。
未查询。