dsh-redteam-model
SeaOf0
基于dsh web实现的多种模式,目的是服务于redteam进行授权的安全研究,覆盖渗透测试、红队评估、代码审计等范围领域,请勿用于非法行为。(允许二开,赋予模块各位自己的业务逻辑,方法论只有自己熟练的才好用,好的方法论=好的生态)
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:frostnova04/dsh-permission-guard
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A Permission Settings page for DeepSeek Harness (DSH).
One page under Settings that does two things:
The page asks for confirmation before enabling Full access, and names the risk in plain words.
Plugin market — once listed, install it from Settings → Plugins in the app.
Today, from this repository (the CLI adds the package to your profile and registers its bundle in one step):
dsh plugin --profile desktop add github:frostnova04/dsh-permission-guard
Swap desktop for your own profile name if it differs. A pinned tarball works the same way:
dsh plugin --profile desktop add https://github.com/frostnova04/dsh-permission-guard/releases/download/v0.1.0/dsh-permission-guard-0.1.0.tgz
Reload the window afterwards. The page appears under Settings → Permissions (权限设置).
This plugin does not invent a permission system. It writes the permission presets DSH already has:
defaultPreset value of the permission settings
namespace, which DSH reads when it creates a session. Changing it never touches a session
that already exists./permission command, so the
change is recorded in that one session's own log and survives a restart.Full access means sandbox danger-full-access with approval policy never: no confirmation
prompts, and writes to any file the DSH process can reach.
DSH ships a single "permission" row in Settings → General. This plugin gives the same write a dedicated page with the two operations people actually asked for: one switch for everything new, and a per-session list for everything old.
dsh web both work).settings and permission-presets plugins, which every standard composition
includes.npm install
npm test
test/host.test.mjs mounts the Host API on a real HTTP server with fake Cordis services and
drives every route, including the connection gate.test/client.test.mjs loads client.js the way the browser module loader does, registers the
settings section, renders the page with react-test-renderer, and clicks through the
confirmation flow and one allowlist row.| File | Role |
|---|---|
index.js |
Host half: the /permission-guard/api/* routes, catalog and session reads, preset writes |
client.js |
Client half: the settings.section registration and the page |
cordis.patch.yml |
The single Loader row that inserts the plugin |
locale/*.json |
The title and description plugin managers display |
icon.svg, assets/icon-180.png |
The plugin icon (a raster copy for storefronts) |
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: sandbox。