Install verification: runtime verified (L5) · tested on dsh 0.2.1-rc.2 · last checked Install verification details →
What it doesAI
Registers websites/HTTP services and manages their lifecycle, git, and release-based SSH deploys with probing, rollback and scheduled publishing.
- Register websites and HTTP services for lifecycle management
- Release-based SSH deploys with stored deploy scripts
- Server probing, rollback and scheduled publishing
Capability tags are AI-inferred or rule-extracted from the README (see badge) — vocabulary-limited, not install-verified. AI = inferred; README = literal keyword from the readme.
Installation
dsh plugin --profile web add github:TodayWei/dsh-wei-sitecontrolInstall method: GitHub · runtime verified (L5)
Verification & Compatibility
Grouped by plugin version: each card lists the dsh versions actually tested against that artifact version and their install verdicts (L5 wins). Untested combinations are omitted — absence means untested, never assumed compatible. L1–L3 are a plugin-level static archive (independent of the dsh version — the same verdict on every dsh row): they sit in each row's level grid next to L4/L5, marked "static", while their evidence is stored once per plugin inside that row's "checks & evidence" instead of being duplicated per version.
External credentials (plugin-level): none detected
○ The author declares no dsh version requirement — install is not blocked by version.
| plugin \ dsh | dsh 0.2.1-rc.2 current | dsh 0.2.1-alpha.4 | dsh 0.2.1-alpha.2 | dsh 0.2.0-rc.2 | dsh 0.2.0-rc.1 |
|---|---|---|---|---|---|
| 5e1d6f | ✓ | ✓ | ✓ | ✓ | ✓ |
5e1d6fgithub✓ 12 runtime-verified2026-10-19
https://github.com/TodayWei/dsh-wei-sitecontrol
✓dsh 0.2.1-rc.2current2026-10-19L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.2
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.2.1-rc.2 · profile: l4-sandbox
Issued: 2026-10-19 · expires: 2026-10-26
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.2.1-alpha.42026-10-16L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.4
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.2.1-alpha.4 · profile: l4-sandbox
Issued: 2026-10-16 · expires: 2026-10-23
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.2.1-alpha.22026-10-11L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.2
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.2.1-alpha.2 · profile: l4-sandbox
Issued: 2026-10-11 · expires: 2026-10-18
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.2.0-rc.22026-10-09L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.0-rc.2
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.2.0-rc.2 · profile: l4-sandbox
Issued: 2026-10-09 · expires: 2026-10-16
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.2.0-rc.12026-09-30L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.2.0-rc.1
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.2.0-rc.1 · profile: l4-sandbox
Issued: 2026-09-30 · expires: 2026-10-07
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.1.7-rc.22026-09-26L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.1.7-rc.2
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.1.7-rc.2 · profile: l4-sandbox
Issued: 2026-09-26 · expires: 2026-10-03
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
○dsh 0.1.7-rc.12026-09-23not tested
- • Node.js: v24.14.0
- • DSH: 0.1.7-rc.1
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.1.7-rc.1 · profile: l4-sandbox
Issued: 2026-09-23 · expires: 2026-09-30
View checks & evidence
This level was not executed in this scan.
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.1.7-alpha.22026-09-23L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.1.7-alpha.2
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.1.7-alpha.2 · profile: l4-sandbox
Issued: 2026-09-23 · expires: 2026-09-30
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.1.6-alpha.22026-09-20L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.1.6-alpha.2
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.1.6-alpha.2 · profile: l3-fullscan
Issued: 2026-09-20 · expires: 2026-09-27
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.1.6-alpha.12026-09-17L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.1.6-alpha.1
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.1.6-alpha.1 · profile: l4-sandbox
Issued: 2026-09-17 · expires: 2026-09-24
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.1.5-rc.22026-09-12L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.1.5-rc.2
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.1.5-rc.2 · profile: l4-sandbox
Issued: 2026-09-12 · expires: 2026-09-19
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓dsh 0.1.5-rc.12026-09-10L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: 0.1.5-rc.1
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dsh0.1.5-rc.1 · profile: l4-sandbox
Issued: 2026-09-10 · expires: 2026-09-17
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✓prehistory2026-10-05L5 · runtime verified
- • Node.js: v24.14.0
- • DSH: unknown
- • Plugin artifact: github · https://github.com/TodayWei/dsh-wei-sitecontrol (version unstated)
ID: dsh-wei-sitecontrol@5e1d6f@dshunknown · profile: l4-sandbox
Issued: 2026-10-05 · expires: 2026-10-12
View checks & evidence
active in loader tree (150 entries)
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/dsh-wei-sitecontrol/)``[](https://www.dsh.so/artifact/dsh-wei-sitecontrol/)``[](https://www.dsh.so/artifact/dsh-wei-sitecontrol/)``[](https://www.dsh.so/artifact/dsh-wei-sitecontrol/)``[](https://www.dsh.so/artifact/dsh-wei-sitecontrol/)``[](https://www.dsh.so/artifact/dsh-wei-sitecontrol/)``[](https://www.dsh.so/artifact/dsh-wei-sitecontrol/)`Security Report
Two automated layers, neither a manual review: a static scan (per-plugin rule checks) and a model-driven dynamic security audit that covers only the subset static-flagged at warn or above and never executes plugin code.
Static low; dynamic medium (authoritative when present) → overall medium.
v0.1.0dsh manifest0.1.0git2026-10-240.1.0same versionclean · gitVet is an AST static scan (npm artifact or git source).
show static findings (11)
- criticalshellExec · shell
lib/ssh.js:57export function exec(conn, command, { timeoutMs = 120000 } = {}) { - warningnetIp · network
lib/githttp.js:78'http://127.0.0.1:7890', // Clash / Clash Verge - warningnetIp · network
lib/githttp.js:79'http://127.0.0.1:7897', // Clash Verge (newer default) - warningnetIp · network
lib/githttp.js:80'http://127.0.0.1:10809', // v2rayN - warningchildProcess · code-exec
lib/lifecycle.js:240const child = spawn(site.command, { - warningchildProcess · code-exec
lib/lifecycle.js:306spawnSync('taskkill', ['/pid', String(pid), '/T', '/F'], { windowsHide: true }) - warningchildProcess · code-exec
lib/lifecycle.js:362if (process.platform === 'win32') spawnSync('taskkill', ['/pid', String(conflict.pid), '/T', '/F'], { windowsHide: true }) - warningshellExec · shell
lib/lifecycle.js:28const out = execFileSync( - warningshellExec · shell
lib/lifecycle.js:86const out = execFileSync('netstat', ['-ano'], { encoding: 'utf8', windowsHide: true, maxBuffer: 8 * 1024 * 1024 }) - warningnetIp · network
lib/lifecycle.js:429url = `http://127.0.0.1:${site.port}${path}` - warningshellExec · shell
lib/sysmon.js:117return execFileSync('powershell', ['-NoProfile', '-NonInteractive', '-Command', script], {
show 5 audit findings
- mediumSSH passwords and inline private keys are persisted in plaintext in registry.json
lib/registry.jsnormalizeTarget copies password/passphrase/privateKey verbatim into the target record, and JsonStore.write() serialises the whole registry to $DSH_HOME/storages/dsh-wei-sitecontrol/registry.json with mode 0666 & umask. Any local reader (another plugin, a backup or log dump, a support bundle) obtains reusable SSH credentials for every managed server. publicTarget does mask these fields for the UI, so the exposure is at rest, not through the API.
- mediumTarget serviceName is interpolated unquoted into remote systemctl/docker commands
lib/detect.jsserviceName (also substituted into 'docker stop $(docker ps -q --filter "name=$SERVICE_NAME")' via base.replace(/$SERVICE_NAME/g, target.serviceName)) and lib/ssh.js serviceCommand ('return `systemctl ${action} ${name}`') build remote shell text without quoting. serviceName can come from the operator, or from parseProfileText() in lib/profile.js, whose regex [^\s,;,。]+ accepts characters such as $, (, ) and |. Deploying such a target therefore executes attacker-chosen commands on the remote host with the SSH user's rights (typically root, since user defaults to 'root').
- mediumSite start command is spawned through a shell as the DSH user
lib/lifecycle.jsConfirms the static scanner's flagged construct: any caller able to create or update a site record (the agent tool or the /dsh-wei-sitecontrol HTTP API implemented in index.js, which was not supplied) can run arbitrary shell commands as the DSH process user, with no quoting or allow-list. This is the plugin's documented purpose rather than a hidden backdoor, but it means the plugin's authorization boundary is entirely the unwritten site-write path, and a prompt-injected agent could turn a site registration into host code execution.
- lowSpawned site processes inherit the full DSH environment
lib/lifecycle.jsEvery supervised site command (including third-party npm/pip start scripts and auto-restarted processes) receives DSH's entire environment, i.e. any harness/API tokens present there. The registry layer deliberately filters SECRET_FIELDS out of site.env (lib/registry.js envMap), but that defence is undone by spreading process.env directly into the child.
- lowGit auth token can be sent over a cleartext http remote
lib/gitops.jspush() only rejects ssh:// and scp-style remotes; a remote configured as http:// (or a plain-HTTP URL reached after a redirect inside lib/githttp.js) receives the resolved token as Basic credentials in cleartext. The token may come from process.env[site.git.tokenEnv], i.e. a real repository credential.
Operator tool: shell-spawned site commands, unquoted service names in remote systemctl/docker commands, and SSH secrets stored in plaintext registry.json; API entry (index.js) was not provided.
Rule (2026-10-24): when a dynamic conclusion exists it is authoritative (it may raise or lower the level); without one, the static/vet fused tier applies. The audit never writes the exemption list (exemptions are manual only); a wrong conclusion is withdrawn by human review and the tier falls back to static/vet.
Disclaimer: the static scan and the dynamic security audit are both automated analysis, not a security guarantee. Always review what you install.
Activity
Last commit 2026-09-12 · activity: Stable
• Repo created: 2026-09-10
• Stars: ★ 0 · Forks: 0
• Health: Stable — committed within 90 days
Source
Author README
View on GitHub ↗The author's original README from the repository — fetched live, unedited (the English page loads the default README).
