{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"wsxwj123-dsh-plugins-dsh-session-manager","slug":"wsxwj123-dsh-plugins-dsh-session-manager","rank":365,"url":"https://github.com/wsxwj123/dsh-plugins/tree/main/packages/dsh-session-manager","name":"wsxwj123/dsh-plugins#dsh-session-manager","category":"session","description":{"zh":"会话删除（5 秒可撤销 + 回收站）与归档视图（查看、取消归档）。","en":"Delete sessions with a 5-second undo and a recycle bin, plus an archive view to browse and unarchive, for the DSH Web GUI."},"stars":8,"starsCheckedAt":"2026-08-21","repository":{"owner":"wsxwj123","repo":"dsh-plugins","requestedRef":"main","subpath":"packages/dsh-session-manager"},"npm":"@wsxwj123/dsh-session-manager","downloads":0,"installMode":"npm","upstreamInstall":"dsh plugin --profile web add @wsxwj123/dsh-session-manager","tarball":null,"added":"2026-08-15","page":"https://awesome-dsh-plugin.com/p/wsxwj123/dsh-plugins--packages-dsh-session-manager/","screenshots":["https://raw.githubusercontent.com/wsxwj123/dsh-plugins/main/assets/screenshots/session-manager.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":"wsxwj123-dsh-plugins-dsh-session-manager","slug":"wsxwj123-dsh-plugins-dsh-session-manager","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:24:13.790Z","scanStatus":"static-complete","verdict":"caution","score":94,"commit":"b2877ec638fca9777e549210d3578330f2049f9a","commitDate":"2026-08-21T18:38:22+08:00","artifactDigest":"sha256:66a2020cec896ce5af7c5629f38d7ccfb5dd5e87f74c67385e6867041bbc7d90","downloadUrl":"https://github.com/wsxwj123/dsh-plugins/archive/b2877ec638fca9777e549210d3578330f2049f9a.tar.gz","installMode":"npm","installCommand":"dsh plugin --profile web add @wsxwj123/dsh-session-manager","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"@wsxwj123/dsh-session-manager","packageVersion":"0.1.0","bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-workspace"]},"lifecycleScripts":{},"peerDependencies":["@deepseek-ai/cordis"]},"identity":{"status":"found","installMode":"npm","upstreamNpm":"@wsxwj123/dsh-session-manager","manifestName":"@wsxwj123/dsh-session-manager","nameMatch":true,"npm":{"name":"@wsxwj123/dsh-session-manager","latestVersion":"0.1.0","publishedAt":"2026-08-21T10:03:41.106Z","createdAt":"2026-08-21T10:03:40.692Z","versionCount":1,"maintainers":1,"repository":"git+https://github.com/wsxwj123/dsh-plugins.git","hasInstallScripts":false,"deprecated":false},"repositoryMatch":"match","provenance":"none","tarballHost":null,"versionMatch":"match"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"session-manager","name":"@wsxwj123/dsh-session-manager","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":"web","parseErrors":[]},"capabilities":["browser-ui","environment","filesystem","host-bundle","network","session","subprocess"],"outboundHosts":[],"findings":[{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"build.mjs","pathClass":"source","line":8,"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":8,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"b10cec21ffbcfa15144ca3c2"},{"id":"HT-CLIENT-001","title":"浏览器端使用危险 HTML 注入点","severity":"medium","confidence":"medium","layer":"static","path":"src/client/ArchiveEntry.tsx","pathClass":"source","line":35,"evidence":"dangerouslySetInnerHTML","remediation":"使用安全 DOM API，并在不可避免时对不可信内容进行严格清洗。","hash":"bce70c373ee30b44d8b50693"},{"id":"HT-CLIENT-001","title":"浏览器端使用危险 HTML 注入点","severity":"medium","confidence":"medium","layer":"static","path":"src/client/DeleteButton.tsx","pathClass":"source","line":125,"evidence":".innerHTML =","remediation":"使用安全 DOM API，并在不可避免时对不可信内容进行严格清洗。","hash":"f14db8fa43bff8ab4c39635e"}],"counts":{"critical":0,"high":0,"medium":2,"low":2},"rawCounts":{"critical":0,"high":0,"medium":2,"low":2},"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":71,"bytesScanned":642444,"truncated":false,"lockfiles":[],"pathClasses":{"markdown":15,"source":24,"cordis":1,"manifest":1,"test-example-docs":28,"data":2}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"]},"timeline":[{"scannedAt":"2026-08-22T08:24:13.790Z","commit":"b2877ec638fca9777e549210d3578330f2049f9a","policyVersion":"HT-DSH-0.2.2","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:24:09.248Z","commit":"b2877ec638fca9777e549210d3578330f2049f9a","policyVersion":"HT-DSH-0.2.1","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T10:53:27.107Z","commit":"b2877ec638fca9777e549210d3578330f2049f9a","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":"b2877ec638fca9777e549210d3578330f2049f9a","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:24:13.790Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"b2877ec638fca9777e549210d3578330f2049f9a","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:24:09.248Z"},{"kind":"first-scan","from":null,"to":"caution","commit":"b2877ec638fca9777e549210d3578330f2049f9a","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:53:27.107Z"}]}