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

dsh-plugin-security-review

安全與運維JavaScript

DSH 外掛安全審查與執行時守衛:安裝前靜態審查(反混淆解碼、供應鏈檢測)、Web 一鍵審查/安裝/解除安裝,以及可選的執行時工具呼叫攔截。

2 Starsateen18 更新時間 2026-08-24
訪問 GitHub 倉庫
dsh-plugin-security-review 專案預覽

專案介紹

中文

DSH 外掛安全審查與執行時守衛:安裝前靜態審查(反混淆解碼、供應鏈檢測)、Web 一鍵審查/安裝/解除安裝,以及可選的執行時工具呼叫攔截。

English

Pre-install static security review and runtime guard for dsh plugins: deobfuscation decoding, supply-chain checks, web one-click review/install/uninstall, and optional runtime tool-call guard.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
ateen18
倉庫
ateen18/dsh-plugin-security-review
GitHub Stars
2
Forks
0
開發語言
JavaScript
許可證
未記錄
最近推送
2026-08-24
Manifest
資料中檢測到宣告

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

資料評分

56/ 100
維護活躍
88
文件與實用資訊
85
生態關注度
14
安裝便捷訊號
100
專案宣告訊號
80

近 18 天仍在更新;README 含完整安裝與使用說明;關注度尚低(2)。

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

安裝與使用

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

dsh plugin --profile web add github:ateen18/dsh-plugin-security-review

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

專案截圖

倉庫 README

GitHub 原文

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

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

dsh-plugin-security-review

Awesome DSH Plugin

Security review gate for dsh plugins — static pre-install vetting of malicious code, vulnerabilities and supply-chain risks (with deobfuscation decoding), runtime audit, optional tool-call guard, and a one-click web review/install/uninstall panel.

A security review plugin for DeepSeek Harness (dsh) plugins. Once installed, every other plugin is statically reviewed before it is installed or loaded: dangerous code, vulnerabilities, and supply-chain risks are analyzed, a review report is produced, and an install recommendation is given. At runtime it keeps auditing the installed roster and disables dangerous plugins.

See README.zh.md for the Chinese quick start.

Full user guides:

Three layers

LayerWhenWhat it does
1. Install gatebefore install (dsh-safe-plugin add)downloads source without running any install scripts, analyzes it, prints the report; block refuses the install, warn needs confirmation, pass forwards to dsh plugin add --ignore-scripts
2. Runtime gateafter dsh bootsaudits every out-of-tree plugin in the profile (cached); blocked plugins are disabled via loader.update(id,{disabled:true}) and written into a managed disabled: true block in the profile's cordis.patch.yml, so their code is never imported on the next boot
3. In-session toolsduring sessionssecurity_review / security_review_status tools review any plugin/source directory and read historical reports

Install

dsh-safe-plugin add dsh-plugin-security-review
# or: dsh plugin --profile web add dsh-plugin-security-review

The package declares dsh.bundle, so the dsh plugin manager joins it into dsh.profile.bundles automatically.

Review and install other plugins

dsh-safe-plugin add dsh-plugin-foo       # review + install
dsh-safe-plugin add ./local-plugin-dir
dsh-safe-plugin add https://github.com/me/plugin.git
dsh-safe-plugin review dsh-plugin-foo   # review only
dsh-safe-plugin review . --ignore test/fixtures   # skip fixtures dirs
dsh-safe-plugin list                    # historical reports
dsh-safe-plugin verify                  # re-review installed plugins

Reports

  • Score (0-100), verdict pass / warn / block / audit, per-finding detail

(severity, category, file:line, snippet, recommendation) and an install recommendation.

  • Persisted under $DSH_HOME/security-review/: reports/latest/<name>.md

(markdown), reports/history/*.json, index.json.

  • The web settings UI gains a security-review section (policy,

auto-disable switch, allowlist).

Known limitations

  1. Static analysis cannot cover native binaries, runtime-downloaded code, or

heavily obfuscated payloads; block means strong risk signals, not proof of malice.

  1. The runtime gate deterministically blocks plugin imports that happen after

this plugin applies; plugins that start earlier in the same boot batch load for a few milliseconds before the boot audit disables them, and the managed patch block keeps them from loading on the next boot. Use dsh-safe-plugin add for deterministic pre-install blocking.

  1. Blocking a plugin that provides services other rows inject fails boot

loudly with the missing service named — that is dsh's fail-loud contract.

  1. Transitive dependencies are checked by name heuristics only (no full

source scan of the whole dependency tree).

  1. A review-engine failure degrades to warn (fail-open) so the reviewer

itself can never brick dsh; re-check with dsh-safe-plugin verify.

Development

npm test      # analyzer unit tests (no dsh needed; run from this dir)

License: MIT

使用前核對

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

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

同類專案