dsh-guardian
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
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.