DSH Plugins Marketplace

DSH Plugins

Plugins

/

Security & Audit

/

dsh-tui-secret-guard

i

dsh-tui-secret-guard

Manifest valid

Blocks high-confidence secrets before dsh-TUI sends them to a model, compliant with dsh ecosystem manifest v0.15.

hasBundlePatch

dsh-TUI Secret Guard

A small dsh-TUI ecosystem plugin that prevents high-confidence credentials from being sent to a model. It scans locally, never stores prompt content, and reports only credential categories.

Why it helps

Pasting a .env fragment, deployment command, or debugging log into an agent is an easy way to disclose a live key. Secret Guard blocks known provider tokens, private-key headers, and credential-like assignments before delivery. The normal path uses tui.dsh/v1alpha1#DecisionEvents, so rejected text is not written to the session. Its compatibility fallback rejects the latest user message at agent/pre-step, before the model request.

Install

dsh plugin --profile dsh-tui add ./dsh-tui-secret-guard

Decision interception is default-deny in Community v0.15. Grant the declared permission in ~/.dsh-tui/extension-grants.json:

{
  "grants": {
    "community.dsh-tui.secret-guard": [
      {
        "name": "session.input.intercept",
        "scope": "tui/input"
      }
    ]
  }
}

The grant is live-reloaded by dsh-TUI. The plugin requests no storage, message-observation, network, filesystem, or command permission.

Configuration

enabled: true
genericAssignments: true
minGenericLength: 24
showStatus: true
  • genericAssignments detects values assigned to names such as API_KEY, CLIENT_SECRET, ACCESS_TOKEN, and PASSWORD.
  • minGenericLength controls only generic assignments. Provider-specific formats retain their own strict lengths.
  • showStatus displays secret guard: armed and a process-local blocked count. It does not persist counters or content.

Placeholders including ${ENV_NAME}, YOUR_API_KEY, redacted, and masked values are ignored. A blocked prompt must be edited and submitted again; automatic redaction is intentionally avoided because silently changing code or credentials can produce misleading model output.

Protocol compliance

dsh-plugin.json targets manifest 0.15, declares the optional DecisionEvents contract, requests the exact tui/input scope, and documents its fallback. Validate it against dsh-ecosystem-spec:

npm run validate:manifest -- --manifest /absolute/path/to/dsh-plugin.json --grant session.input.intercept

Before publishing, add the final repository and artifact digest to dsh-plugin.json so a Verified claim can bind the released tarball.

Development

npm install
npm test
npm run pack:check

Comments

Loading…

Similar plugins

dsh-safeguard

by ZhijiangTang

DSH plugin: block dangerous shell commands and secret leakage before execution (tools/pre-execute veto)

Development & InfrastructureSecurity & AuditManifest valid

★ 0

↓ 58/wk

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-safeguard

by ArcaneOrion

DSH terminal front door: a pi-tui workbench with layered messages, file-edit pane, permission presets and hot-swappable themes

Manifest valid

★ 0

JavaScript

Oct 2, 2026

dsh plugin --profile web add @arcaneorion/dsh-tui

by MoruTeaven

该仓库暂未提供项目说明。

Security & AuditManifest valid

★ 0

Apache-2.0

JavaScript

Sep 27, 2026

dsh plugin --profile web add @moruteaven/dsh-key-panel

by 030611

Privacy-minimal heuristic per-turn verification summaries for DeepSeek Harness

Security & AuditDevelopment & InfrastructureManifest valid

★ 4

↓ 296/wk

MIT

TypeScript

Sep 3, 2026

dsh plugin --profile web add dsh-verification-receipt

by MkaliezZ

Dependency-installation guard for DeepSeek Harness: classifies package-manager commands as ALLOW, ASK, or BLOCK before execution.

Manifest valid

★ 0

TypeScript

Aug 29, 2026

dsh plugin --profile web add @mkaliezz/dsh-dependency-firewall

by chiro2001

DeepSeek Harness × OpenCode TUI 前端:把 dsh 的 Agent、会话、工具接入官方 opencode 终端。OpenCode TUI frontend for the DeepSeek Harness (dsh): agents, sessions and tools in the official opencode terminal.

Terminal & ClientsManifest valid

★ 7

TypeScript

Sep 11, 2026

dsh plugin --profile web add @chiro2001/dsh-oc