{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"stevenx65-dsh-balance-plugin","slug":"stevenx65-dsh-balance-plugin","rank":409,"url":"https://github.com/stevenx65/dsh-balance-plugin","name":"stevenx65/dsh-balance-plugin","category":"usage","description":{"zh":"dsh 网页侧边栏的 DeepSeek 余额与 token 用量监控：今日/累计切换，并按 provider 过滤其他厂商。","en":"DeepSeek balance and token usage in the web sidebar, with a today/all-time toggle and provider filtering."},"stars":7,"starsCheckedAt":"2026-08-21","repository":{"owner":"stevenx65","repo":"dsh-balance-plugin","requestedRef":null,"subpath":""},"npm":null,"downloads":null,"installMode":"github-source","upstreamInstall":"dsh plugin --profile web add github:stevenx65/dsh-balance-plugin","tarball":null,"added":"2026-08-14","page":"https://awesome-dsh-plugin.com/p/stevenx65/dsh-balance-plugin/","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":"stevenx65-dsh-balance-plugin","slug":"stevenx65-dsh-balance-plugin","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:24:38.590Z","scanStatus":"static-complete","verdict":"caution","score":93,"commit":"9067ed33ac83f986b54096bcd21c2c1db0583bb4","commitDate":"2026-08-15T00:18:50+08:00","artifactDigest":"sha256:51726bfb97f2de763abe2441c21678cc561df3fac0b888ce89cbd302120fdcab","downloadUrl":"https://github.com/stevenx65/dsh-balance-plugin/archive/9067ed33ac83f986b54096bcd21c2c1db0583bb4.tar.gz","installMode":"github-source","installCommand":"dsh plugin --profile web add github:stevenx65/dsh-balance-plugin","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"dsh-balance-plugin","packageVersion":"0.1.0","bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-ui-primitives"]},"lifecycleScripts":{},"peerDependencies":["@deepseek-ai/dsh-client-ui-primitives"]},"identity":{"status":"found","installMode":"github-source","upstreamNpm":null,"manifestName":"dsh-balance-plugin","nameMatch":null,"npm":{"name":"dsh-balance-plugin","latestVersion":"0.2.0","publishedAt":"2026-08-15T02:22:19.981Z","createdAt":"2026-08-14T17:08:08.048Z","versionCount":2,"maintainers":1,"repository":"git+https://github.com/luokai-demo/dsh-plugins.git","hasInstallScripts":false,"deprecated":false},"repositoryMatch":"mismatch","provenance":"none","tarballHost":null,"versionMatch":"differs"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"dsh-balance","name":"dsh-balance-plugin","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":"web","parseErrors":[]},"capabilities":["browser-ui","credentials","environment","filesystem","host-bundle","network","subprocess"],"outboundHosts":[{"host":"api.deepseek.com","count":1}],"findings":[{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"index.js","pathClass":"source","line":13,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"b447e259cd9305ea45943b5c"},{"id":"HT-DATA-001","title":"同一模块同时接触凭据与网络","severity":"medium","confidence":"medium","layer":"static","path":"index.js","pathClass":"source","line":158,"evidence":"credential access at line 158 + outbound network at line 11","remediation":"拆分能力边界，限定目的域名，并提供不会发送凭据值的可验证证明。","hash":"e73c97f69cd613eb206b5995","review":{"verdict":"functional","reason":"test","model":"sonnet@p2","reviewedAt":"2026-08-21T11:25:24.552Z"}},{"id":"HT-IDENTITY-001","title":"npm 上存在同名包但指向其他仓库","severity":"low","confidence":"medium","path":"package.json","pathClass":"manifest","line":1,"evidence":"npm repository=git+https://github.com/luokai-demo/dsh-plugins.git ≠ stevenx65/dsh-balance-plugin","remediation":"npm 上存在同名包但指向其它仓库；从源码安装时请使用 github: 引用并锁定 commit。","layer":"identity","hash":"f9bf616579f6291eaf8969aa"}],"counts":{"critical":0,"high":0,"medium":1,"low":2},"rawCounts":{"critical":0,"high":0,"medium":1,"low":2},"vulnerabilities":[],"coverage":{"source":"complete","manifest":"complete","bundleConfig":"complete","dependencies":"lockfile-missing","vulnerabilities":"lockfile-missing","identity":"complete","artifact":"not-compared","llmReview":"complete","dynamicRuntime":"not-run","humanReview":"not-run"},"inventory":{"filesScanned":6,"bytesScanned":26111,"truncated":false,"lockfiles":[],"pathClasses":{"markdown":2,"source":2,"cordis":1,"manifest":1}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"],"review":{"model":"sonnet","reviewedAt":"2026-08-22T08:24:38.590Z","summary":null,"intentMatch":null,"findingsReviewed":1,"findingsCandidates":1,"fromCache":1,"usage":null}},"timeline":[{"scannedAt":"2026-08-22T08:24:38.590Z","commit":"9067ed33ac83f986b54096bcd21c2c1db0583bb4","policyVersion":"HT-DSH-0.2.2","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:25:24.552Z","commit":"9067ed33ac83f986b54096bcd21c2c1db0583bb4","policyVersion":"HT-DSH-0.2.1","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T10:53:57.275Z","commit":"9067ed33ac83f986b54096bcd21c2c1db0583bb4","policyVersion":"HT-DSH-0.2.0","verdict":"caution","status":"static-complete"}],"events":[{"kind":"policy-change","from":"HT-DSH-0.2.1","to":"HT-DSH-0.2.2","commit":"9067ed33ac83f986b54096bcd21c2c1db0583bb4","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:24:38.590Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"9067ed33ac83f986b54096bcd21c2c1db0583bb4","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:25:24.552Z"},{"kind":"first-scan","from":null,"to":"caution","commit":"9067ed33ac83f986b54096bcd21c2c1db0583bb4","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:53:57.275Z"}]}