{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"tyan66666-billion-context-dsh","slug":"tyan66666-billion-context-dsh","rank":130,"url":"https://github.com/Tyan66666/billion-context-dsh","name":"Tyan66666/billion-context-dsh","category":"memory","description":{"zh":"模型驱动的上下文压缩（Active Context Pruning）：由模型决定何时压缩、压缩什么。","en":"Model-driven context compression (Active Context Pruning) for DeepSeek Harness: the model decides when and what to compress."},"stars":33,"starsCheckedAt":"2026-08-21","repository":{"owner":"Tyan66666","repo":"billion-context-dsh","requestedRef":null,"subpath":""},"npm":null,"downloads":null,"installMode":"github-source","upstreamInstall":"dsh plugin --profile web add github:Tyan66666/billion-context-dsh","tarball":null,"added":"2026-08-15","page":"https://awesome-dsh-plugin.com/p/Tyan66666/billion-context-dsh/","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":"tyan66666-billion-context-dsh","slug":"tyan66666-billion-context-dsh","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:21:14.416Z","scanStatus":"static-complete","verdict":"pass","score":99,"commit":"1ed020de8339e04afe7370801d916b102a01547a","commitDate":"2026-08-21T23:57:24+08:00","artifactDigest":"sha256:bd16ec72314f7974d809f3fef919a0b6ea5b10b859db7e65282891c596309c6e","downloadUrl":"https://github.com/Tyan66666/billion-context-dsh/archive/1ed020de8339e04afe7370801d916b102a01547a.tar.gz","installMode":"github-source","installCommand":"dsh plugin --profile web add github:Tyan66666/billion-context-dsh","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"billion-context-dsh","packageVersion":"0.2.9","bundle":{"patch":"./cordis.patch.yml"},"client":null,"lifecycleScripts":{},"peerDependencies":["@deepseek-ai/cordis","@deepseek-ai/dsh-compaction"]},"identity":{"status":"found","installMode":"github-source","upstreamNpm":null,"manifestName":"billion-context-dsh","nameMatch":null,"npm":{"name":"billion-context-dsh","latestVersion":"0.2.8","publishedAt":"2026-08-21T08:39:59.200Z","createdAt":"2026-08-13T16:39:22.763Z","versionCount":20,"maintainers":1,"repository":null,"hasInstallScripts":false,"deprecated":false},"repositoryMatch":"missing","provenance":"none","tarballHost":null,"versionMatch":"differs"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"compaction-acp","name":"billion-context-dsh","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":null,"parseErrors":[]},"capabilities":["agent-control","browser-ui","filesystem","host-bundle","session","subprocess"],"outboundHosts":[],"findings":[{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"scripts/rescue-shadow-price.mjs","pathClass":"source","line":33,"evidence":"execFileSync","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"5e9ef176f8812e5bc4625af1"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"scripts/rescue-shadow-price.mjs","pathClass":"source","line":33,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"bc1fa92f2ff348a19517c118"}],"counts":{"critical":0,"high":0,"medium":0,"low":2},"rawCounts":{"critical":0,"high":0,"medium":0,"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":48,"bytesScanned":665712,"truncated":false,"lockfiles":["package-lock.json"],"pathClasses":{"test-example-docs":16,"markdown":13,"cordis":1,"data":2,"manifest":1,"source":15}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"]},"timeline":[{"scannedAt":"2026-08-22T08:21:14.416Z","commit":"1ed020de8339e04afe7370801d916b102a01547a","policyVersion":"HT-DSH-0.2.2","verdict":"pass","status":"static-complete"},{"scannedAt":"2026-08-21T11:20:25.576Z","commit":"f2a284737067b3ee6ea1bfc6c2c12edb0fb984f2","policyVersion":"HT-DSH-0.2.1","verdict":"pass","status":"static-complete"},{"scannedAt":"2026-08-21T10:48:15.346Z","commit":"f2a284737067b3ee6ea1bfc6c2c12edb0fb984f2","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":"1ed020de8339e04afe7370801d916b102a01547a","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:21:14.416Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"f2a284737067b3ee6ea1bfc6c2c12edb0fb984f2","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:20:25.576Z"},{"kind":"first-scan","from":null,"to":"pass","commit":"f2a284737067b3ee6ea1bfc6c2c12edb0fb984f2","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:48:15.346Z"}]}