Sandbox & Runtimedsh-plugin

dsh-agent-gate

Permission gate and audit plugin for DeepSeek Harness. It intercepts tools with layered permissions, routes to one-time approval when needed, and records audit entries in ~/.dsh/agent-gate/audit.jsonl.

Stars
0
Forks
0
Open issues
0
Last push
Aug 19, 2026
Latest release
—
24h Growth
+0
7d Growth
+0

Installation

dsh plugin --profile web add github:xingyingyuzhui/dsh-agent-gate

Overview

Permission gate and audit plugin for DeepSeek Harness. It intercepts tools with layered permissions, routes to one-time approval when needed, and records audit entries in ~/.dsh/agent-gate/audit.jsonl.

  • Intercepts tools through tools/pre-execute and tools.guard using layered permissions.
  • Routes to one-time approval when a call requires it.
  • Writes audit records to ~/.dsh/agent-gate/audit.jsonl.
  • Pins Claw session sandbox to read-only or workspace-write via dsh-session-permissions.
  • Audit page filters by time, result, tool type, and Claw Agent, and exports current results.
  • Removes denied Agent skills from the session's skill catalog and / menu, not only the skill tool.
  • Denies unauthorized MCP services and removes them from model-visible tools at session start.
  • Reuses dsh-session-permissions policy calculation across the permission layers; the gate can be uninstalled separately.

Related plugins