{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"htcqp802-dsh-knowledge-base","slug":"htcqp802-dsh-knowledge-base","rank":428,"url":"https://github.com/htcqp802/dsh-knowledge-base","name":"htcqp802/dsh-knowledge-base","category":"memory","description":{"zh":"DSH 通用知识库插件：导入 md/txt/json/yml/docx/pdf、目录化管理、FTS5 全文检索（BM25）、Web 管理界面。","en":"General-purpose knowledge base for DSH: import md/txt/json/yml/docx/pdf, folder management, FTS5 full-text search (BM25), and a Web management UI."},"stars":6,"starsCheckedAt":"2026-08-21","repository":{"owner":"htcqp802","repo":"dsh-knowledge-base","requestedRef":null,"subpath":""},"npm":"dsh-knowledge-base","downloads":995,"installMode":"npm","upstreamInstall":"dsh plugin --profile web add dsh-knowledge-base","tarball":null,"added":"2026-08-16","page":"https://awesome-dsh-plugin.com/p/htcqp802/dsh-knowledge-base/","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":"htcqp802-dsh-knowledge-base","slug":"htcqp802-dsh-knowledge-base","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:24:50.025Z","scanStatus":"static-complete","verdict":"pass","score":98,"commit":"c084a21afe28f96c6b05ec548bd9f6f3e0f47138","commitDate":"2026-08-17T07:30:23+08:00","artifactDigest":"sha256:65bd6fe87b59e7d6af26cbd4f33de1776294770ea11b933767d28728f257b83b","downloadUrl":"https://github.com/htcqp802/dsh-knowledge-base/archive/c084a21afe28f96c6b05ec548bd9f6f3e0f47138.tar.gz","installMode":"npm","installCommand":"dsh plugin --profile web add dsh-knowledge-base","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"dsh-knowledge-base","packageVersion":"0.1.5","bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-conversation"],"platform":"web"},"lifecycleScripts":{},"peerDependencies":["@deepseek-ai/cordis","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-tools","@deepseek-ai/schemastery"]},"identity":{"status":"found","installMode":"npm","upstreamNpm":"dsh-knowledge-base","manifestName":"dsh-knowledge-base","nameMatch":true,"npm":{"name":"dsh-knowledge-base","latestVersion":"0.1.5","publishedAt":"2026-08-16T11:50:18.412Z","createdAt":"2026-08-16T07:31:56.616Z","versionCount":6,"maintainers":1,"repository":"git+https://github.com/htcqp802/dsh-knowledge-base.git","hasInstallScripts":false,"deprecated":false},"repositoryMatch":"match","provenance":"none","tarballHost":null,"versionMatch":"match"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"knowledge-base","name":"dsh-knowledge-base","path":"cordis.patch.yml","disabled":false},{"id":"knowledge-base-web","name":"dsh-knowledge-base/web","path":"cordis.patch.yml","disabled":false},{"id":"knowledge-base","name":"dsh-knowledge-base","path":"dev-headless.cordis.yml","disabled":false},{"id":"knowledge-base","name":"dsh-knowledge-base","path":"dev.cordis.yml","disabled":false},{"id":"knowledge-base-web","name":"dsh-knowledge-base/web","path":"dev.cordis.yml","disabled":false}],"overrides":[],"jsExpressions":1,"clientPlatform":"web","parseErrors":[]},"capabilities":["browser-ui","environment","filesystem","host-bundle","network","subprocess","telemetry"],"outboundHosts":[{"host":"foo.bar","count":2},{"host":"www.apache.org","count":1}],"findings":[{"id":"HT-CONFIG-001","title":"Cordis 配置包含可执行 !!js 表达式","severity":"low","confidence":"high","layer":"dsh-semantics","path":"cordis.patch.yml","pathClass":"cordis","line":14,"evidence":"!!js ctx.get('webServer') === undefined","remediation":"!!js 是 DSH 的官方配置机制；只在表达式引入模块、访问进程或网络时需要额外解释。","hash":"12db281da02ecda65e675305"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"lib/parse-ByetpssQ.js","pathClass":"source","line":5,"evidence":"spawnSync","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"9b3f4bb26e8661fcc08441e9"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"lib/parse-ByetpssQ.js","pathClass":"source","line":5,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"a8f10aa74d796f9bab97f02b"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"lib/types/parse.js","pathClass":"source","line":13,"evidence":"spawnSync","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"87eb9c9c837970ba7210135e"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"lib/types/parse.js","pathClass":"source","line":13,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"b825397d5c81e2ea28a34117"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"src/parse.ts","pathClass":"source","line":14,"evidence":"spawnSync","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"00f19227adbdc6ed8c4965b1"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"src/parse.ts","pathClass":"source","line":14,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"c499687a091b4fcfb20a7ec6"}],"counts":{"critical":0,"high":0,"medium":0,"low":7},"rawCounts":{"critical":0,"high":0,"medium":0,"low":7},"vulnerabilities":[],"coverage":{"source":"complete","manifest":"complete","bundleConfig":"complete","dependencies":"lockfile-missing","vulnerabilities":"lockfile-missing","identity":"complete","artifact":"not-compared","llmReview":"not-needed","dynamicRuntime":"not-run","humanReview":"not-run"},"inventory":{"filesScanned":36,"bytesScanned":1224359,"truncated":false,"lockfiles":[],"pathClasses":{"test-example-docs":1,"markdown":5,"cordis":3,"source":25,"manifest":1,"data":1}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"]},"timeline":[{"scannedAt":"2026-08-22T08:24:50.025Z","commit":"c084a21afe28f96c6b05ec548bd9f6f3e0f47138","policyVersion":"HT-DSH-0.2.2","verdict":"pass","status":"static-complete"},{"scannedAt":"2026-08-21T11:25:49.336Z","commit":"c084a21afe28f96c6b05ec548bd9f6f3e0f47138","policyVersion":"HT-DSH-0.2.1","verdict":"pass","status":"static-complete"},{"scannedAt":"2026-08-21T10:54:29.287Z","commit":"c084a21afe28f96c6b05ec548bd9f6f3e0f47138","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":"c084a21afe28f96c6b05ec548bd9f6f3e0f47138","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:24:50.025Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"c084a21afe28f96c6b05ec548bd9f6f3e0f47138","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:25:49.336Z"},{"kind":"first-scan","from":null,"to":"pass","commit":"c084a21afe28f96c6b05ec548bd9f6f3e0f47138","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:54:29.287Z"}]}