DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-permission-rules

Declarative allow, deny, and ask permission rules for DeepSeek Harness tool calls.

UI & ProductivityTerminal & TUIDeveloper ToolsSecurity & PolicySkills & WorkflowsRemote Execution

Install

$ dsh plugin --profile web add "github:PerryLink/dsh-permission-rules#main"

Repository Intelligence

AI-assisted, source-grounded explanation based on the public repository snapshot. It does not replace compatibility or security verification.

source-grounded
dsh-permission-rules is an installable DeepSeek Harness plugin that evaluates ordered YAML rules before tool execution. It matches tool names, arguments, workspace-relative paths, and host conditions; records decisions in session logs; and can route uncertain calls through the Harness approval flow.

Key Capabilities

  • Evaluates first-match ordered allow, deny, and ask rules on the tools/pre-execute waterfall.
  • Matches tool-name globs, argument glob or regex patterns, selected workspace-relative path arguments, and environment or platform conditions.
  • Supports per-workspace rule files, optional parent-directory rule discovery, and hot reload watching.
  • Logs rule hits and passthrough decisions as permissionRules/decision session events.
  • Provides /rules commands to inspect rules, reload files, replay decisions, and dry-run a hypothetical tool call.
  • Routes ask decisions through ctx.approval and can work alongside dsh-auto-review or human approval.

Useful For

  • Block defined shell, editing, or other tool actions before they execute.
  • Require approval for sensitive file-write or command operations.
  • Maintain repository-specific YAML permission policy with optional hierarchical overrides.
  • Audit tool permission decisions within a DeepSeek Harness session.
  • Test proposed permission rules without running a tool call.

Who It Fits

  • DeepSeek Harness users managing tool-execution policy.
  • Teams that need declarative project-level approval and denial rules.
  • Plugin users combining deterministic rules with Harness approval workflows.

Documented Limitations

  • This is policy enforcement rather than an OS-level sandbox and does not change sandbox policy.
  • Path matching is heuristic: it considers only documented argument keys and workspace-relative paths.
  • Globs are a conservative subset and do not support brace expansion.
  • The regex backtracking guard is structural rather than exhaustive; the README recommends glob mode for untrusted files.
  • Some older session logs may require the included repair script before loading on hosts with required-on-read semantics.
  • Requires Node.js ^22.19.0 or >=24.0.0.

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 4 runtime, 17 development, 7 peer, and 0 optional dependencies.

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
Package Manifest Available

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

info
License Declared

GitHub reports the repository license as Apache-2.0.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info
Dependency Counts

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

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
Package Manifest Available

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

info
License Declared

GitHub reports the repository license as Apache-2.0.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Traceable source and registry metadata for this entry, kept separate from runtime verification.

Source repository
PerryLink/dsh-permission-rules
Registry source
Public GitHub repository
Source snapshot
46830d074d4e
Artifact type
plugin
AI enrichment
gpt-5.6-terra · 2026-08-14
Prompt version
dsh-plugin-enrichment-v3

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
2
Forks
0
Open issues
0
Last commit
2026-08-14
Last release
2026-08-14