DeepSHPlugins
dsh-plugin-trustlens 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-plugin-trustlens

安全與運維JavaScriptMIT

只讀 DSH 外掛審查器:靜態掃描、當前會話模型審查和啟用前確認。

1 StarsMengshang-spec 更新時間 2026-08-27
訪問 GitHub 倉庫
dsh-plugin-trustlens 專案預覽

專案介紹

中文

只讀 DSH 外掛審查器:靜態掃描、當前會話模型審查和啟用前確認。

English

Read-only DSH plugin auditor with static scanning, current-session model review, and confirmation gates.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
Mengshang-spec
倉庫
Mengshang-spec/dsh-plugin-trustlens
GitHub Stars
1
Forks
0
開發語言
JavaScript
許可證
MIT
最近推送
2026-08-27
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

46/ 100
維護活躍
91
文件與實用資訊
50
生態關注度
9
安裝便捷訊號
75
專案宣告訊號
100

近 15 天仍在更新;關注度尚低(1)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add github:Mengshang-spec/dsh-plugin-trustlens

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

DSH TrustLens

dsh-plugin-trustlens is a DeepSeek Harness plugin that reviews installed plugins before a user enables or updates them.

It combines:

  • Read-only static scanning for common remote execution, download-and-execute, encoded evaluation, persistence, and environment exfiltration patterns.
  • Semantic review through the model selected by the current DSH session. It does not hard-code DeepSeek or silently choose another model.
  • Comment and README contradiction reporting through commentConflicts.
  • User confirmation gates for enabling, updating, and disabling/quarantining a plugin.

The auditor never requires, imports, launches, installs, downloads, or executes the plugin being inspected. Plugin code, comments, README files, strings, and model output are treated as untrusted data.

DSH installation

Install from the repository with the DSH CLI:

dsh plugin --profile web add github:Mengshang-spec/dsh-plugin-trustlens

The package declares its bundle manifest and patch entry automatically. For a manual local checkout, copy this package into the DSH profile's node_modules directory and add it to the profile patch:

- insert:
    - id: plugin-trustlens
      name: dsh-plugin-trustlens

The DSH Desktop companion synchronizer performs those two steps automatically for the bundled plugin.

Use

Open DSH settings, choose AI 审查, enter the installed package name and its path under the current profile's node_modules, then start the review. The result shows the active provider/model, static findings, semantic findings, and comment/document conflicts.

Static high-risk findings disable the enable/update actions. A user can still explicitly choose isolation/disable after reviewing the report.

Development tests

Run from a DSH Desktop checkout with the bundled Node runtime:

vendor/node/node.exe --test scripts/test/unit-plugin-trustlens-protocol.test.mjs scripts/test/unit-plugin-trustlens.test.cjs

The same checks are available with npm test after installing dependencies.

Limitations

Static scanning is intentionally conservative and can produce findings for security-related example strings or regular expressions. It is a review signal, not proof of malware. Semantic review also requires an active DSH model and credentials; if the current model cannot be determined, the plugin fails closed.

License

MIT. See LICENSE.

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案