AI Agent Hub
Back to plugins
🧩

dsh-tui-secret-guard

admin-security Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install icyaaaww/dsh-tui-secret-guard

Paste the following prompt into your AI chat to install this plugin:

Install this credential-guard plugin in DeepSeek Harness by running dsh plugin install icyaaaww/dsh-tui-secret-guard; the source repository is https://github.com/icyaaaww/dsh-tui-secret-guard

About this plugin

Pasting a fragment of .env, a deployment command that carries a live token, or a debug log into an agent is the most common way an active credential leaks onto the wire. dsh-TUI Secret Guard is a small, local interception plugin that checks outgoing prompts before they reach the model.

It detects known provider tokens, private-key headers, and credential-style assignments like API_KEY or ACCESS_TOKEN. All scanning is local: no prompt content is stored, no network, filesystem, or command permission is requested, and the only output is a category-level blocked report. Placeholders such as ${ENV_NAME}, YOUR_API_KEY, redacted, or masked values are intentionally ignored. A blocked prompt must be manually edited and resubmitted — automatic redaction is deliberately avoided because silently rewriting code or credentials can mislead the model.

If your dsh-TUI workflow regularly involves pasting code snippets, logs, or configuration text into an agent, especially when production tokens and private keys are in play, Secret Guard adds a zero-side-effect pre-flight check that keeps high-confidence credentials out of the session while preserving exactly what you typed.

Use Cases

  • Intercept live tokens before pasting .env or deployment commands into prompts
  • Block key-bearing debug logs from reaching the model
  • Add a credential pre-flight check to your dsh-TUI agent workflow

Best For

  • Developers who frequently paste code, logs, or config into agent prompts
  • Engineers managing multi-environment secrets in dsh-TUI workflows
  • Security or ops teams prioritizing prompt safety with zero storage