← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-safe-tool

AI-powered command approval plugin for DeepSeek Harness that intercepts tool calls with a read-only subagent.

UI & ProductivityTerminal & TUIDeveloper ToolsSecurity & PolicyRemote Execution
0GitHub Stars0ForksUpdated2026-09-26

Install

$ dsh plugin --profile web add ./dsh-safe-tool # 安装到 web profile

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-safe-tool is a security and governance plugin for DeepSeek Harness. It hooks into the tools/pre-execute waterfall to intercept sensitive tool executions (like shell commands and file writes) and routes them through a zero-execution read-only reviewer subagent. The subagent evaluates tool calls against customizable, hot-reloadable Markdown criteria, supports regex allowlisting, session decision caching, and automatic fallback to human approval when AI evaluation fails.

Key Capabilities

  • Intercepts tool execution via tools/pre-execute hooks
  • Runs an isolated, read-only subagent with zero tool permissions for safe evaluation
  • Enforces structured JSON outputs for approval and denial decisions
  • Loads and hot-reloads customizable criteria from approval-criteria.md
  • Supports deny-list and allow-list filtering modes with regular expression bypass rules
  • Caches approval decisions for 60 seconds per session, tool, and argument set
  • Falls back to human interactive approval on AI failure with automated timeout refusal
  • Provides a Web UI configuration card in the Harness Settings view

Useful For

  • Preventing catastrophic or destructive CLI commands (like rm -rf, sudo, chmod) from running unsupervised
  • Protecting sensitive environment files (.env, .ssh keys) and system paths from agent modification
  • Adding an automated policy check layer before autonomous agents execute external bash or write tools

Who It Fits

  • Developers running autonomous agent workflows with write/terminal permissions
  • Security teams defining compliance and safety boundaries for DeepSeek Harness agents

Documented Limitations

  • Relies on LLM reasoning and prompt criteria which may require tuning to avoid false positives or negatives
  • AI evaluation adds slight latency per uncached tool call invocation
  • Requires manual adjustment of default criteria files if legitimate heavy build/file operations are blocked

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 16 runtime, 7 development, 0 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Not Declared

GitHub did not report an SPDX license for this repository snapshot.

low
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
GoshawkGGGG/dsh-safe-tool
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
7950b03 · 2026-09-29

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
0GitHub stars
Forks
0
Open issues
0
Last commit
2026-09-26
Last release
No release detected
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app