{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"940842546-dsh-usage-billing","slug":"940842546-dsh-usage-billing","rank":343,"url":"https://github.com/940842546/dsh-usage-billing","name":"940842546/dsh-usage-billing","category":"usage","description":{"zh":"用量与消费统计：8/17 调价前后峰谷计费，主界面汇总面板、按会话明细与日/周/月/年/累计用量热力图。","en":"Usage and cost statistics with peak/off-peak pricing after the 2026-08-17 rate change, a floating summary panel, per-session breakdowns, and a day/week/month/year/all usage heatmap."},"stars":8,"starsCheckedAt":"2026-08-21","repository":{"owner":"940842546","repo":"dsh-usage-billing","requestedRef":null,"subpath":""},"npm":null,"downloads":null,"installMode":"github-source","upstreamInstall":"dsh plugin --profile web add github:940842546/dsh-usage-billing","tarball":null,"added":"2026-08-16","page":"https://awesome-dsh-plugin.com/p/940842546/dsh-usage-billing/","screenshots":["https://raw.githubusercontent.com/940842546/dsh-usage-billing/main/assets/screenshots/02-stats-dialog-overview.png","https://raw.githubusercontent.com/940842546/dsh-usage-billing/main/assets/screenshots/03-stats-dialog-charts.png","https://raw.githubusercontent.com/940842546/dsh-usage-billing/main/assets/screenshots/04-settings-usage-overview.png","https://raw.githubusercontent.com/940842546/dsh-usage-billing/main/assets/screenshots/07-stats-dialog-usd.png"],"discovery":{"provider":"awesome-dsh-plugin","channel":"plugins.json","indexUrl":"https://github.com/awesome-dsh-plugin/awesome-dsh-plugin","selection":"all curated entries"}},"report":{"sourceId":"940842546-dsh-usage-billing","slug":"940842546-dsh-usage-billing","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:23:58.035Z","scanStatus":"static-complete","verdict":"caution","score":95,"commit":"5c6ef5b0d3d10653429bbba67dcf98877125bb92","commitDate":"2026-08-21T17:40:33+08:00","artifactDigest":"sha256:7ff0fbfdcd73d312e2da940bc6e3d85809541b28a188361b21f4f115b915d9bc","downloadUrl":"https://github.com/940842546/dsh-usage-billing/archive/5c6ef5b0d3d10653429bbba67dcf98877125bb92.tar.gz","installMode":"github-source","installCommand":"dsh plugin --profile web add github:940842546/dsh-usage-billing","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"dsh-usage-billing","packageVersion":"0.4.0","bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"},"lifecycleScripts":{},"peerDependencies":["@deepseek-ai/dsh-tools"]},"identity":{"status":"found","installMode":"github-source","upstreamNpm":null,"manifestName":"dsh-usage-billing","nameMatch":null,"npm":{"name":"dsh-usage-billing","latestVersion":"0.4.0","publishedAt":"2026-08-19T06:29:06.738Z","createdAt":"2026-08-15T15:28:33.722Z","versionCount":7,"maintainers":1,"repository":null,"hasInstallScripts":false,"deprecated":false},"repositoryMatch":"missing","provenance":"none","tarballHost":null,"versionMatch":"match"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"usage-stats","name":"dsh-usage-billing","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":"web","parseErrors":[]},"capabilities":["browser-ui","credentials","environment","host-bundle","network"],"outboundHosts":[{"host":"api.deepseek.com","count":1}],"findings":[{"id":"HT-DATA-001","title":"同一模块同时接触凭据与网络","severity":"medium","confidence":"medium","layer":"static","path":"lib/index.js","pathClass":"source","line":479,"evidence":"credential access at line 479 + outbound network at line 515","remediation":"拆分能力边界，限定目的域名，并提供不会发送凭据值的可验证证明。","hash":"7ac0fe66cdbadca1cda3bb26","review":{"verdict":"functional","reason":"resolveDeepSeekApiKey 读取用户自身配置的 DEEPSEEK_API_KEY 后仅用于向 DeepSeek 官方接口 api.deepseek.com/user/balance 查询余额，符合插件计费统计功能，未发往第三方。","model":"sonnet@p2","reviewedAt":"2026-08-21T11:24:44.928Z"}}],"counts":{"critical":0,"high":0,"medium":1,"low":0},"rawCounts":{"critical":0,"high":0,"medium":1,"low":0},"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":7,"bytesScanned":136677,"truncated":false,"lockfiles":[],"pathClasses":{"markdown":3,"cordis":1,"source":2,"manifest":1}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"],"review":{"model":"sonnet","reviewedAt":"2026-08-22T08:23:58.035Z","summary":null,"intentMatch":null,"findingsReviewed":1,"findingsCandidates":1,"fromCache":1,"usage":null}},"timeline":[{"scannedAt":"2026-08-22T08:23:58.035Z","commit":"5c6ef5b0d3d10653429bbba67dcf98877125bb92","policyVersion":"HT-DSH-0.2.2","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:24:44.928Z","commit":"5c6ef5b0d3d10653429bbba67dcf98877125bb92","policyVersion":"HT-DSH-0.2.1","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T10:53:30.291Z","commit":"5c6ef5b0d3d10653429bbba67dcf98877125bb92","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":"5c6ef5b0d3d10653429bbba67dcf98877125bb92","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:23:58.035Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"5c6ef5b0d3d10653429bbba67dcf98877125bb92","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:24:44.928Z"},{"kind":"first-scan","from":null,"to":"caution","commit":"5c6ef5b0d3d10653429bbba67dcf98877125bb92","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:53:30.291Z"}]}