DSH Plugins · Community project

dsh-guardian

Inspect dangerous shell, SQL, and file-write actions before execution, redact common credentials from results, and provide a read-only security review workflow.

2 StarsMITTypeScriptUpdated today
01

Project overview

Inspect dangerous shell, SQL, and file-write actions before execution, redact common credentials from results, and provide a read-only security review workflow.

02

Core capabilities

01

Detect dangerous command patterns before execution

Detect dangerous command patterns before execution. This capability is documented in the repository README and still requires verification against the target DSH version and profile.

02

Redact common credentials in tool output

Redact common credentials in tool output. This capability is documented in the repository README and still requires verification against the target DSH version and profile.

03

Adjust warning strength through policy levels

Adjust warning strength through policy levels. This capability is documented in the repository README and still requires verification against the target DSH version and profile.

04

Provide a read-only security review workflow

Provide a read-only security review workflow. This capability is documented in the repository README and still requires verification against the target DSH version and profile.

03

Installation and usage

Install in DeepSeek Harness, reload the target environment as documented, and verify it with a low-risk scenario.

AI AGENT INSTALL

Let an AI Agent install it

Send this prompt to Codex, Claude Code, or another AI agent that can work with your local environment.

Help me install dsh-guardian from https://github.com/lonelymoon87/dsh-guardian. Read the README, license, and installation files first. Confirm the current DeepSeek Harness version, target profile, and required dependencies. Use the repository's current command `dsh plugin --profile web add https://github.com/lonelymoon87/dsh-guardian/releases/download/v0.1.3/dsh-guardian-0.1.3.tgz`. Explain the profile, paths, and permissions that will change before running it. Follow the repository verification steps and report commands, changed locations, and visible results. Ask before requesting credentials, enabling extra network access or build scripts, overwriting files, or expanding permissions.
01Before you start
  • A DeepSeek Harness version in the supported range
  • An initialized web or headless profile
  • Prefer the prebuilt v0.1.3 release package
02Copy the install command or configuration
dsh plugin --profile web add https://github.com/lonelymoon87/dsh-guardian/releases/download/v0.1.3/dsh-guardian-0.1.3.tgz
03Complete the setup steps
  1. 1
    Check the environment and target profile

    A DeepSeek Harness version in the supported range; An initialized web or headless profile; Prefer the prebuilt v0.1.3 release package. Record the current configuration and installed plugins before changing anything.

  2. 2
    Run the current repository command

    Run the following command. `dsh plugin --profile web add https://github.com/lonelymoon87/dsh-guardian/releases/download/v0.1.3/dsh-guardian-0.1.3.tgz` Stop and ask before enabling build scripts, providing credentials, or overwriting files.

  3. 3
    Reload and verify

    Run `dsh --profile web --dump-config`, then use harmless test inputs to inspect warnings and redaction without using real credentials or dangerous commands.

How to verify the setup

Run `dsh --profile web --dump-config`, then use harmless test inputs to inspect warnings and redaction without using real credentials or dangerous commands.

Before using it
  • It is a policy layer rather than an operating-system sandbox
  • It does not replace permissions, DLP, or container isolation
  • Pattern matching can produce false positives or false negatives
04

Use cases

SCENARIO 01

Add guardrails to DSH on a shared development machine

Start with a minimal dsh-guardian scope in this scenario, then expand only after checking output, permissions, and compatibility.

SCENARIO 02

Reduce common credential leakage in logs and tool results

Start with a minimal dsh-guardian scope in this scenario, then expand only after checking output, permissions, and compatibility.

SCENARIO 03

Run a read-only security review before allowing writes

Start with a minimal dsh-guardian scope in this scenario, then expand only after checking output, permissions, and compatibility.

05

Assessment

This assessment is based on the repository README, installation instructions, license, and maintenance metadata. Pins setup to a public release package; Covers both pre-execution warnings and post-execution redaction; Documents compatibility testing. It is a policy layer rather than an operating-system sandbox; It does not replace permissions, DLP, or container isolation; Pattern matching can produce false positives or false negatives. No local installation or long-term use is claimed.

Why it may be useful

  • Pins setup to a public release package
  • Covers both pre-execution warnings and post-execution redaction
  • Documents compatibility testing

What to know first

  • It is a policy layer rather than an operating-system sandbox
  • It does not replace permissions, DLP, or container isolation
  • Pattern matching can produce false positives or false negatives
06

README

dsh-guardian


Overview

Inspect dangerous shell, SQL, and file-write actions before execution, redact common credentials from results, and provide a read-only security review workflow. Inspect dangerous shell, SQL, and file-write actions before execution, redact common credentials from results, and provide a read-only security review workflow.

Getting started

  • Install in DeepSeek Harness, reload the target environment as documented, and verify it with a low-risk scenario.
  • Inspect dangerous shell, SQL, and file-write actions before execution, redact common credentials from results, and provide a read-only security review workflow.
  • The repository documents these main capabilities: Detect dangerous command patterns before execution, Redact common credentials in tool output, Adjust warning strength through policy levels, Provide a read-only security review workflow.
  • Run `dsh --profile web --dump-config`, then use harmless test inputs to inspect warnings and redaction without using real credentials or dangerous commands.

Configuration

dsh plugin --profile web add https://github.com/lonelymoon87/dsh-guardian/releases/download/v0.1.3/dsh-guardian-0.1.3.tgz
Read the complete README on GitHub