AI Agent Hub
Back to plugins
🧩

dsh-guardian

admin-security Updated 2026.08.21

Run the following command in DeepSeek Harness:

dsh plugin install lonelymoon87/dsh-guardian

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

Run dsh plugin install lonelymoon87/dsh-guardian in your DeepSeek Harness terminal; the full source lives at https://github.com/lonelymoon87/dsh-guardian .

About this plugin

Once an agent holds shell access, a single plausible-looking command can trigger recursive deletion of root or home paths, pipe network responses into bash, or leak AWS key IDs and GitHub tokens in output. dsh-guardian inserts a lightweight policy waterfall between intent and execution, letting operators classify every high-risk action as deny, ask, or allow.

Built-in profiles cover common dangerous patterns while custom regex rules add deployment-specific decisions. The post-execute redaction engine scans canonical JSON, rendered text, and block feedback for AWS access-key IDs, GitHub tokens, sk- API keys, and PEM private-key blocks, merging consecutive text blocks into one stream so credentials cannot be split to bypass filtering. The /security-review command loads a bundled read-only review skill on demand.

It is deliberately not a process sandbox, does not read credential stores, make network requests, write workspace files, or transmit telemetry. It suits developers and ops teams running autonomous DeepSeek Harness agents who want an auditable, lightweight interception and redaction layer without standing up a full DLP pipeline or container isolation.

Use Cases

  • Classify and block dangerous shell, SQL, or file-write arguments before execution with deny/ask/allow profiles
  • Strip AWS key IDs, GitHub tokens, sk- API keys, and PEM blocks from agent output before downstream consumers see them
  • Load a bundled read-only security-review skill with one command for structured code or config audits

Best For

  • Developers running autonomous DeepSeek Harness agents
  • Platform or ops teams configuring security guardrails across multi-agent workflows
  • Security engineers who need lightweight interception and redaction without standing up a full DLP stack