{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"upjiang-dsh-ccswitch","slug":"upjiang-dsh-ccswitch","rank":655,"url":"https://github.com/upJiang/dsh-ccswitch","name":"upJiang/dsh-ccswitch","category":"model","description":{"zh":"将 CC Switch 中的 provider 和模型接入 DeepSeek Harness，并支持 provider 筛选和模型名称搜索。","en":"Adds CC Switch providers and models to DeepSeek Harness, with provider filtering and model-name search."},"stars":4,"starsCheckedAt":"2026-08-21","repository":{"owner":"upJiang","repo":"dsh-ccswitch","requestedRef":null,"subpath":""},"npm":null,"downloads":null,"installMode":"github-source","upstreamInstall":"dsh plugin --profile web add github:upJiang/dsh-ccswitch","tarball":null,"added":"2026-08-21","page":"https://awesome-dsh-plugin.com/p/upJiang/dsh-ccswitch/","screenshots":[],"discovery":{"provider":"awesome-dsh-plugin","channel":"plugins.json","indexUrl":"https://github.com/awesome-dsh-plugin/awesome-dsh-plugin","selection":"all curated entries"}},"report":{"sourceId":"upjiang-dsh-ccswitch","slug":"upjiang-dsh-ccswitch","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:27:11.234Z","scanStatus":"static-complete","verdict":"pass","score":99,"commit":"7df0df232c8ca98992b58cd05dd31fe5008f0cac","commitDate":"2026-08-20T09:49:05+08:00","artifactDigest":"sha256:df840fe47e73ca9e05441c8faf32b1438436d954e14e4a1436e387764427e5dc","downloadUrl":"https://github.com/upJiang/dsh-ccswitch/archive/7df0df232c8ca98992b58cd05dd31fe5008f0cac.tar.gz","installMode":"github-source","installCommand":"dsh plugin --profile web add github:upJiang/dsh-ccswitch","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"dsh-ccswitch","packageVersion":"0.1.0","bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-ui-model-selection"]},"lifecycleScripts":{},"peerDependencies":[]},"identity":{"status":"not-published","installMode":"github-source","upstreamNpm":null,"manifestName":"dsh-ccswitch","nameMatch":null,"npm":null,"repositoryMatch":"not-checked","provenance":"not-checked","tarballHost":null},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"dsh-ccswitch","name":"dsh-ccswitch","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":"web","parseErrors":[]},"capabilities":["agent-control","browser-ui","credentials","environment","filesystem","host-bundle","network","subprocess","telemetry"],"outboundHosts":[{"host":"chatgpt.com","count":4},{"host":"generativelanguage.googleapis.com","count":4},{"host":"auth.openai.com","count":2},{"host":"oauth2.googleapis.com","count":2},{"host":"api.anthropic.com","count":2},{"host":"api.openai.com","count":2}],"findings":[{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"lib/index.mjs","pathClass":"source","line":4,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"6ad413e2de7cabee66887976"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"src/auth.ts","pathClass":"source","line":2,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"668085badebab3f441814f1f"},{"id":"HT-CLIENT-001","title":"浏览器端使用危险 HTML 注入点","severity":"medium","confidence":"low","layer":"static","path":"test/client-search.test.js","pathClass":"test-example-docs","line":124,"evidence":".innerHTML =","remediation":"使用安全 DOM API，并在不可避免时对不可信内容进行严格清洗。","note":"位于测试、示例或文档目录","hash":"925fdfe92851bc6a5e22467e"}],"counts":{"critical":0,"high":0,"medium":0,"low":2},"rawCounts":{"critical":0,"high":0,"medium":1,"low":2},"vulnerabilities":[],"coverage":{"source":"complete","manifest":"complete","bundleConfig":"complete","dependencies":"lockfile-present","vulnerabilities":"complete","identity":"complete","artifact":"not-compared","llmReview":"not-needed","dynamicRuntime":"not-run","humanReview":"not-run"},"inventory":{"filesScanned":31,"bytesScanned":256186,"truncated":false,"lockfiles":["pnpm-lock.yaml"],"pathClasses":{"data":2,"test-example-docs":5,"markdown":1,"cordis":1,"source":19,"manifest":1,"yaml":2}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"]},"timeline":[{"scannedAt":"2026-08-22T08:27:11.234Z","commit":"7df0df232c8ca98992b58cd05dd31fe5008f0cac","policyVersion":"HT-DSH-0.2.2","verdict":"pass","status":"static-complete"},{"scannedAt":"2026-08-21T11:28:51.562Z","commit":"7df0df232c8ca98992b58cd05dd31fe5008f0cac","policyVersion":"HT-DSH-0.2.1","verdict":"pass","status":"static-complete"},{"scannedAt":"2026-08-21T10:57:55.936Z","commit":"7df0df232c8ca98992b58cd05dd31fe5008f0cac","policyVersion":"HT-DSH-0.2.0","verdict":"pass","status":"static-complete"}],"events":[{"kind":"policy-change","from":"HT-DSH-0.2.1","to":"HT-DSH-0.2.2","commit":"7df0df232c8ca98992b58cd05dd31fe5008f0cac","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:27:11.234Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"7df0df232c8ca98992b58cd05dd31fe5008f0cac","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:28:51.562Z"},{"kind":"first-scan","from":null,"to":"pass","commit":"7df0df232c8ca98992b58cd05dd31fe5008f0cac","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:57:55.936Z"}]}