{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"omdsh-dev-dsh-at-file","slug":"omdsh-dev-dsh-at-file","rank":25,"url":"https://github.com/omdsh-dev/dsh-at-file","name":"omdsh-dev/dsh-at-file","category":"ui","description":{"zh":"Codex 风格的 `@file` 文件引用，输入框里直接搜索并引用工作区文件。","en":"Codex-style `@file` mentions: search workspace files in the composer and attach their contents to prompts."},"stars":450,"starsCheckedAt":"2026-08-21","repository":{"owner":"omdsh-dev","repo":"dsh-at-file","requestedRef":null,"subpath":""},"npm":null,"downloads":null,"installMode":"github-source","upstreamInstall":"dsh plugin --profile web add github:omdsh-dev/dsh-at-file","tarball":null,"added":"2026-08-13","page":"https://awesome-dsh-plugin.com/p/omdsh-dev/dsh-at-file/","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":"omdsh-dev-dsh-at-file","slug":"omdsh-dev-dsh-at-file","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:19:44.279Z","scanStatus":"static-complete","verdict":"caution","score":94,"commit":"c57849b27e378cf6b41d082b17c8a8750cee370f","commitDate":"2026-08-20T23:34:20+08:00","artifactDigest":"sha256:5d9bd386c1ce0071e1b872be3207e5f37364b09a7f85e85515cee83026408b20","downloadUrl":"https://github.com/omdsh-dev/dsh-at-file/archive/c57849b27e378cf6b41d082b17c8a8750cee370f.tar.gz","installMode":"github-source","installCommand":"dsh plugin --profile web add github:omdsh-dev/dsh-at-file","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"dsh-at-file","packageVersion":"0.6.7","bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-input-trigger","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-locale"]},"lifecycleScripts":{},"peerDependencies":["@deepseek-ai/cordis","@deepseek-ai/dsh-agent","@deepseek-ai/dsh-typert-protocol","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-api-remotes","@deepseek-ai/dsh-client-ui-input-trigger","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-typert-registry","@deepseek-ai/dsh-settings","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-llm"]},"identity":{"status":"found","installMode":"github-source","upstreamNpm":null,"manifestName":"dsh-at-file","nameMatch":null,"npm":{"name":"dsh-at-file","latestVersion":"0.6.3","publishedAt":"2026-08-19T15:30:26.771Z","createdAt":"2026-08-19T15:30:26.535Z","versionCount":1,"maintainers":1,"repository":null,"hasInstallScripts":false,"deprecated":false},"repositoryMatch":"missing","provenance":"none","tarballHost":null,"versionMatch":"differs"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"dsh-at-file","name":"dsh-at-file","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":"web","parseErrors":[]},"capabilities":["agent-control","browser-ui","filesystem","host-bundle","subprocess","telemetry"],"outboundHosts":[],"findings":[{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"build.mjs","pathClass":"source","line":61,"evidence":"execFileSync","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"12683165c26a59ed187f7b26"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"build.mjs","pathClass":"source","line":61,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"b10cec21ffbcfa15144ca3c2"},{"id":"HT-RUNTIME-001","title":"动态代码执行","severity":"medium","confidence":"medium","layer":"static","path":"lib/index.js","pathClass":"source","line":304,"evidence":"new Function(","remediation":"使用静态模块和受约束的配置解析器，避免在宿主权限下执行动态字符串。","hash":"3e8500af280669a276314770","review":{"verdict":"functional","reason":"该 new Function 位于打包进来的第三方 schemastery 库（vendor/schemastery）中，用于反序列化 schema.callback 字符串为函数，是校验库固有机制，非插件为 @file 功能自写逻辑，且有 typeof 检查与 try/catch 包裹。","model":"sonnet@p2","reviewedAt":"2026-08-21T11:17:59.472Z"}},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"low","layer":"static","path":"tests/files.spec.ts","pathClass":"test-example-docs","line":297,"evidence":"execFileSync","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","note":"位于测试、示例或文档目录","hash":"c9db18892ce1de0707a1b2f9"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"low","layer":"static","path":"tests/files.spec.ts","pathClass":"test-example-docs","line":297,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","note":"位于测试、示例或文档目录","hash":"eae559081147631ae29e7aae"}],"counts":{"critical":0,"high":0,"medium":1,"low":2},"rawCounts":{"critical":0,"high":0,"medium":1,"low":4},"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":71,"bytesScanned":1582604,"truncated":false,"lockfiles":["pnpm-lock.yaml"],"pathClasses":{"markdown":3,"source":49,"cordis":1,"data":2,"manifest":1,"yaml":2,"test-example-docs":13}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"],"review":{"model":"sonnet","reviewedAt":"2026-08-22T08:19:44.279Z","summary":null,"intentMatch":null,"findingsReviewed":1,"findingsCandidates":1,"fromCache":1,"usage":null}},"timeline":[{"scannedAt":"2026-08-22T08:19:44.279Z","commit":"c57849b27e378cf6b41d082b17c8a8750cee370f","policyVersion":"HT-DSH-0.2.2","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:17:59.472Z","commit":"c57849b27e378cf6b41d082b17c8a8750cee370f","policyVersion":"HT-DSH-0.2.1","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T10:45:13.941Z","commit":"c57849b27e378cf6b41d082b17c8a8750cee370f","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":"c57849b27e378cf6b41d082b17c8a8750cee370f","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:19:44.279Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"c57849b27e378cf6b41d082b17c8a8750cee370f","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:17:59.472Z"},{"kind":"first-scan","from":null,"to":"caution","commit":"c57849b27e378cf6b41d082b17c8a8750cee370f","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:45:13.941Z"}]}