⚠️ This repository has been renamed: MCJF28/dsh-prompt-crafter — click to visit the new location. Everything below is preserved as originally indexed.

@MCJF28/dsh-prompt-optimizer avatar

@MCJF28/dsh-prompt-optimizer

One-click prompt rewriter in the DeepSeek Harness composer: three rewrite levels, follows the model you are already chatting with.

Ecosystem pluginKnowledgeAI Models
Verification
L5 · Ecosystem plugin
Ecosystem plugin
Risk
Out of scope
Health
Active
Trust
Silver

Install verification: Ecosystem plugin: installs via dsh plugin add but declares no dsh.bundle and mounts no plugin capability — the L1-L5 install ladder does not rate it; the security scan still runs.Install verification details →

What it does

One-click prompt rewriter in the DeepSeek Harness composer: three rewrite levels, follows the model you are already chatting with.

Installation

dsh plugin --profile web add github:MCJF28/dsh-prompt-optimizer
verified

Install method: GitHub · runtime test inconclusive (L5 unknown)

Verification & Compatibility○ Ecosystem plugin

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

Declared DSH compatibilityfrom package.json · peerDependencies
author declared no dsh version requirement

○ The author declares no dsh version requirement — install is not blocked by version.

Install compatibility matrix (rows = plugin versions〔latest 5〕, columns = dsh versions〔latest 5〕)
○ Ecosystem plugin
At-a-glance → evidence in the cards below
plugin \ dshdsh 0.2.1-rc.2
current
dsh 0.2.1-alpha.4
6702d7○○
Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified○ ecosystem plugin◼ ecosystem app✗ failed
6702d7github○ 2 ecosystem plugin2026-10-18

https://github.com/MCJF28/dsh-prompt-optimizer

○dsh 0.2.1-rc.2current2026-10-18Ecosystem plugin
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-rc.2
  • • Plugin artifact: github · https://github.com/MCJF28/dsh-prompt-optimizer (version unstated)
Levels (L1–L3 plugin-level static archive · L4/L5 newest real verdicts for this combination)
L1 static
Passed
L2 static
Passed
L3 static
Passed
L4 sandbox
Passed
L5 runtime
Unknown
Ecosystem plugin: no install verdict — not a usable dsh plugin (shown as L5 · ecosystem plugin)
Ecosystem plugin

ID: dsh-prompt-optimizer-21@6702d7@dsh0.2.1-rc.2 · profile: l4-sandbox

Issued: 2026-10-18 · expires: 2026-10-25

View checks & evidence
L1 · Found✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed
Install command parsed✓ Passed
Source: registry verification · Method: install spec parse · Captured 2026-10-18
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-18
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec github:MCJF28/dsh-prompt-optimizer · channel GitHub source · outcome ran · exit 0
check took: 2.0s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec github:MCJF28/dsh-prompt-optimizer · channel GitHub source · outcome ran · exit 0
check took: 2.0s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec github:MCJF28/dsh-prompt-optimizer · channel GitHub source · outcome ran · exit 0
check took: 2.0s
L5 · Run tested? Unknown

not present in web-profile loader inventory

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec github:MCJF28/dsh-prompt-optimizer · install mode reused L4 scratch
check took: 197ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-18
ready line dsh web: http://127.0.0.1:63850/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-18
path / · HTTP 200 · took 197ms
Plugin active in inventory? Unknown
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-18
verdict not-found · entries 150
phases: active 122 · null 28
not present in web-profile loader inventory

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-18Ecosystem plugin
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.2.1-alpha.4
  • • Plugin artifact: github · https://github.com/MCJF28/dsh-prompt-optimizer (version unstated)
Levels (L1–L3 plugin-level static archive · L4/L5 newest real verdicts for this combination)
L1 static
Passed
L2 static
Passed
L3 static
Passed
L4 sandbox
Passed
L5 runtime
Unknown
Ecosystem plugin: no install verdict — not a usable dsh plugin (shown as L5 · ecosystem plugin)
Ecosystem plugin

ID: dsh-prompt-optimizer-21@6702d7@dsh0.2.1-alpha.4 · profile: l4-sandbox

Issued: 2026-10-18 · expires: 2026-10-25

View checks & evidence
L1 · Found✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed
Install command parsed✓ Passed
Source: registry verification · Method: install spec parse · Captured 2026-10-18
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-10-18
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec github:MCJF28/dsh-prompt-optimizer · channel GitHub source · outcome ran · exit 0
check took: 1.8s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec github:MCJF28/dsh-prompt-optimizer · channel GitHub source · outcome ran · exit 0
check took: 1.8s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec github:MCJF28/dsh-prompt-optimizer · channel GitHub source · outcome ran · exit 0
check took: 1.8s
L5 · Run tested? Unknown

not present in web-profile loader inventory

Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-10-18
spec github:MCJF28/dsh-prompt-optimizer · install mode reused L4 scratch
check took: 373ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-10-18
ready line dsh web: http://127.0.0.1:51513/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-10-18
path / · HTTP 200 · took 373ms
Plugin active in inventory? Unknown
Source: DSH runtime · Method: plugin inventory query · Captured 2026-10-18
verdict not-found · entries 150
phases: active 122 · null 28
not present in web-profile loader inventory

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:

dsh.so risk
`[![dsh.so risk](https://www.dsh.so/badge/dsh-prompt-optimizer-21.svg)](https://www.dsh.so/artifact/dsh-prompt-optimizer-21/)`

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.

dsh-prompt-optimizer-21Automated review · daily

Static medium, dynamic medium — stricter wins → overall medium.

static medium→dynamic medium→overall medium
0 critical·1 high
mediumoverall · medium
1static scan · vet primaryvet AST static analysis (npm artifact or git source)
plugin versionv1.2.2dsh manifest
scanned version1.2.2git2026-10-18
current version1.2.2same version
vet verdictsuspicious · npm

Vet is an AST static scan (npm artifact or git source).

show static findings (1)
  • criticalsecretSk · secretsindex.js:174

    || 'sk-KF7KZR2M9xwq1rve7j7N0KYGgbmDfrwwuxrf2CI9Bvd7olPP',

2model reads redacted source context · never executes plugin code
highest grademedium
merged intooverall medium
audited at2026-10-19
findings0 critical·0 high2 medium / 1 low hidden
show 3 audit findings
  • mediumHard-coded shared API key for the free-channel endpoint is shipped in sourceindex.js:173

    Every installation contains the same bearer credential for https://api.hcnsec.cn/v1, sent in the Authorization header at index.js:328. The source comment itself states the credential is effectively public to all installers, so any user can extract and spend the owner's quota or have the key revoked, breaking the feature for everyone; env override only helps users who already know about it.

  • mediumUser prompt drafts are sent to a third-party host that the UI never namesindex.js:172

    In 'free' mode, enhanceOnce (index.js:609-611) posts the user's full draft plus the system prompt to callFreeChannel, which fetches this host at index.js:324. The settings payload exposes baseURL (index.js:507) but client.js renders only the model name, and the onboarding toast describes it merely as a 'built-in free model', so users are not told their text leaves the machine to an unrelated domain. Additionally the settings page automatically fires the probe (callFreeChannel at index.js:528) on every mount regardless of mode.

  • lowHTTP handlers read an unbounded request body before JSON parsingindex.js:309

    readBody buffers the entire request into memory with no size cap and is used for both /settings (index.js:477) and /optimize (index.js:567), so a large POST can exhaust memory before the MAX_INPUT_CHARS check on the parsed text ever runs. Impact is limited to denial of service against the local plugin server.

Plugin does local HTTP prompt rewriting with no shell or path traversal, but ships a hard-coded shared API key and sends user drafts to a third-party host not shown in the UI.

Rule: the dynamic audit can only raise risk, never lower it (raise-only, never an exemption); a wrong raise is withdrawn by human review and the tier falls back to the static verdict. Overall verdict = the stricter of the two layers.

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-10-18 · activity: Active

• Repo created: 2026-10-17

• Stars: ★ 0 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/MCJF28/dsh-prompt-optimizer

Was this page helpful?