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(28 天前) |
| 扫描层级 | 静态扫描(自研规则 + 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': 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': '明文凭据'}]}git-refresh
main
未复核。
未查询。