dsh-shadow-auditor
Run the following command in DeepSeek Harness:
dsh plugin install GooDAnDReaDY/dsh-shadow-auditor
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install GooDAnDReaDY/dsh-shadow-auditor in the DeepSeek Harness terminal to install the plugin; source code is available at https://github.com/GooDAnDReaDY/dsh-shadow-auditor .
About this plugin
When autonomous DeepSeek Harness agents write code, stage files, or execute shell scripts, a quiet risk lingers: API keys and database credentials can slip into git diffs, or a stray rm -rf and fork bomb can run before anyone notices. dsh-shadow-auditor operates as an in-process security firewall that performs regex and entropy-based scanning before code reaches an LLM or version control, parses shell command ASTs to intercept destructive operations, and blocks network utilities like curl and wget from exfiltrating sensitive files such as .env or id_rsa, adding a deterministic safety net to every agent action.
The plugin ships with a configurable rules engine, a live audit dashboard, and a 0-to-100 deterministic risk score that includes a 10-minute rolling window with cumulative repeat-tag and consecutive high-risk penalties. A recursive redaction module iteratively sanitizes deeply nested tokens and passwords before they appear in logs or the Web UI. Compound command chains joined by &&, ||, or semicolons are segmented and verified individually, closing the loophole where an allowlisted prefix could mask a dangerous trailing command.
If your DeepSeek Harness workflow touches sensitive credentials, whether CI key rotation, database maintenance scripts, or multi-agent development pipelines, dsh-shadow-auditor provides a non-intrusive, zero-LLM-overhead security layer that lets your agents move fast while keeping your secrets and critical files firmly in place.
Use Cases
- Prevent API key and credential leakage into git diffs when agents write code
- Block destructive shell commands and network exfiltration in multi-agent workflows
- Deterministic zero-LLM-overhead security checks in CI/CD pipelines
Best For
- Developers managing credential-sensitive automation with DeepSeek Harness
- DevOps engineers building a security foundation for multi-agent environments
- Teams integrating automated scripts in CI/CD who need exfiltration protection
Related Plugins
A network security red-team benchmark plugin for DeepSeek-V4.1/Flash featuring dual-layer kernel injection and zero-tool architecture for controlled model safety assessment.
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
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.