{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"shiye-10pages-dsh-whale-meter","slug":"shiye-10pages-dsh-whale-meter","rank":338,"url":"https://github.com/Shiye-10Pages/dsh-whale-meter","name":"Shiye-10Pages/dsh-whale-meter","category":"usage","description":{"zh":"用量段位与战绩卡片：按本月 token 消耗评 🐟→🐳 五档段位，分位本地估算（零上报）；6 家厂商 46 个模型精准计价，支持国内厂商按输入长度分档；自动回填安装前的历史会话；8·17 调价前后同一份用量的新旧价对比。数据全在本机，无遥测。","en":"Usage tiers and shareable stats cards: 🐟→🐳 ranks by monthly token burn with a locally-computed estimated percentile, precise pricing for 46 models across 6 vendors (including size-tiered Chinese pricing), backfill of pre-install sessions, and old-vs-new comparison across the 2026-08-17 rate change. Local-only, no telemetry."},"stars":8,"starsCheckedAt":"2026-08-21","repository":{"owner":"Shiye-10Pages","repo":"dsh-whale-meter","requestedRef":null,"subpath":""},"npm":"dsh-whale-meter","downloads":292,"installMode":"npm","upstreamInstall":"dsh plugin --profile web add dsh-whale-meter","tarball":null,"added":"2026-08-17","page":"https://awesome-dsh-plugin.com/p/Shiye-10Pages/dsh-whale-meter/","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":"shiye-10pages-dsh-whale-meter","slug":"shiye-10pages-dsh-whale-meter","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:23:53.977Z","scanStatus":"static-complete","verdict":"caution","score":95,"commit":"c484500e6a00d26317dc71ee854ced26df6f2aaa","commitDate":"2026-08-17T07:29:32+08:00","artifactDigest":"sha256:2fdad491bb09d5d94bd659706ce1508d94416787b465357f3e5a3d77a0db0449","downloadUrl":"https://github.com/Shiye-10Pages/dsh-whale-meter/archive/c484500e6a00d26317dc71ee854ced26df6f2aaa.tar.gz","installMode":"npm","installCommand":"dsh plugin --profile web add dsh-whale-meter","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"dsh-whale-meter","packageVersion":"0.1.0","bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-conversation"]},"lifecycleScripts":{"prepare":"tsdown"},"peerDependencies":[]},"identity":{"status":"found","installMode":"npm","upstreamNpm":"dsh-whale-meter","manifestName":"dsh-whale-meter","nameMatch":true,"npm":{"name":"dsh-whale-meter","latestVersion":"0.1.0","publishedAt":"2026-08-16T23:12:38.130Z","createdAt":"2026-08-16T23:12:37.843Z","versionCount":1,"maintainers":1,"repository":"git+https://github.com/Shiye-10Pages/dsh-whale-meter.git","hasInstallScripts":false,"deprecated":false},"repositoryMatch":"match","provenance":"none","tarballHost":null,"versionMatch":"match"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"whale-meter","name":"dsh-whale-meter","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":"web","parseErrors":[]},"capabilities":["browser-ui","credentials","environment","filesystem","host-bundle","network","session"],"outboundHosts":[{"host":"api.deepseek.com","count":1},{"host":"api-docs.deepseek.com","count":1},{"host":"platform.claude.com","count":1},{"host":"developers.openai.com","count":1},{"host":"ai.google.dev","count":1},{"host":"open.bigmodel.cn","count":1},{"host":"platform.kimi.com","count":1}],"findings":[{"id":"HT-INSTALL-002","title":"Git 安装会触发 prepare 构建脚本","severity":"medium","confidence":"low","layer":"supply-chain","path":"package.json","pathClass":"manifest","line":39,"evidence":"\"prepare\": \"tsdown\"","remediation":"发布预构建制品（npm 或 GitHub Release tarball），并记录源码与发布包的一致性证明。","note":"该插件以 npm/tarball 预构建方式分发，prepare 不在用户机器上执行","hash":"810168c20b99e01213acbe59"},{"id":"HT-DATA-001","title":"同一模块同时接触凭据与网络","severity":"medium","confidence":"medium","layer":"static","path":"src/index.ts","pathClass":"source","line":53,"evidence":"credential access at line 53 + outbound network at line 59","remediation":"拆分能力边界，限定目的域名，并提供不会发送凭据值的可验证证明。","hash":"262182598ff1996725f7add0","review":{"verdict":"functional","reason":"config.apiKey/DEEPSEEK_API_KEY 仅用于向官方 api.deepseek.com/user/balance 查询余额，属于用量面板插件展示余额的必要功能，未发往第三方端点。","model":"sonnet@p2","reviewedAt":"2026-08-21T11:23:47.341Z"}}],"counts":{"critical":0,"high":0,"medium":1,"low":0},"rawCounts":{"critical":0,"high":0,"medium":2,"low":0},"vulnerabilities":[],"coverage":{"source":"complete","manifest":"complete","bundleConfig":"complete","dependencies":"lockfile-present","vulnerabilities":"complete","identity":"complete","artifact":"not-compared","llmReview":"complete","dynamicRuntime":"not-run","humanReview":"not-run"},"inventory":{"filesScanned":35,"bytesScanned":300410,"truncated":false,"lockfiles":["package-lock.json"],"pathClasses":{"test-example-docs":7,"markdown":2,"cordis":1,"data":3,"manifest":1,"source":21}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"],"review":{"model":"sonnet","reviewedAt":"2026-08-22T08:23:53.977Z","summary":null,"intentMatch":null,"findingsReviewed":1,"findingsCandidates":1,"fromCache":1,"usage":null}},"timeline":[{"scannedAt":"2026-08-22T08:23:53.977Z","commit":"c484500e6a00d26317dc71ee854ced26df6f2aaa","policyVersion":"HT-DSH-0.2.2","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:23:47.341Z","commit":"c484500e6a00d26317dc71ee854ced26df6f2aaa","policyVersion":"HT-DSH-0.2.1","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T10:52:30.581Z","commit":"c484500e6a00d26317dc71ee854ced26df6f2aaa","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":"c484500e6a00d26317dc71ee854ced26df6f2aaa","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:23:53.977Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"c484500e6a00d26317dc71ee854ced26df6f2aaa","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:23:47.341Z"},{"kind":"first-scan","from":null,"to":"caution","commit":"c484500e6a00d26317dc71ee854ced26df6f2aaa","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:52:30.581Z"}]}