Adds Auto-review and Approve for me modes for DSH tool calls.
Install
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/aa2246740/dsh-auto-review/releases/download/v0.4.2/dsh-approve-for-me-0.4.2.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:aa2246740/dsh-auto-review
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
中文 | English
Approve for me
Current version: 0.4.4. main is the only maintained branch. The plugin ID remains dsh-approve-for-me; no rename or compatibility-branch selection is required.
Install
DSH Studio desktop app (recommended)
Open Settings → Plugins → Add plugin and enter this in “Package name or address”:
github:aa2246740/dsh-auto-review#v0.4.4
The desktop plugin manager owns the Desktop profile and bundled package manager. The repository is dsh-auto-review; the plugin ID remains dsh-approve-for-me. Built lib/ is included, so normal use needs no clone, build, Creator Mode, or DSHX installation. Follow the app if it asks you to reload or reopen after installation.
Web CLI
dsh plugin --profile web add github:aa2246740/dsh-auto-review#v0.4.4
This official CLI command writes only the web profile; it cannot modify the Desktop App profile. For an already-running Web Host, reopen that Host once and reload the page.
Requires DeepSeek Harness 0.2.2-rc.5 (@deepseek-ai/dsh and @deepseek-ai/dsh-* peer >=0.2.2-rc.5 <0.2.3-0; accepts 0.2.2-rc.5, rejects 0.2.2-rc.4 and earlier 0.2.1, 0.2.0, and 0.1.7-rc.2) and Node ^22.19.0 or >=24.
Select Approve for me in a session's permission menu to review registered tool calls that DSH would otherwise ask about. The sandbox remains Workspace Write. The global enable switch does not identify or activate a session and does not override never or grant Full access.
If dsh is not installed globally, use npx @deepseek-ai/dsh plugin --profile web add github:aa2246740/dsh-auto-review#v0.4.4. The install archive and SHA-256 checksum are available in the latest release.
Quick start
- Install, reopen the Host through its original launcher, and reload the page.
- Choose Approve for me in the session permission menu.
- Open Settings → Automatic approval → Overview to follow the session model or select a fixed reviewer. Review failures default to human approval.
- Use Review history to inspect decisions and Rules to manage explicit rules. Advanced contains deadline and retention tuning.
Features
- Reviewer outages, timeout, transport failure and invalid output now pause the action and hand it to the official human approval flow by default. Missing human availability, rejection and cancellation do not authorize execution. Strict reject remains an advanced setting.
- The default 90-second deadline includes route lookup, streaming and up to two extra retries. Uncooperative providers and late answers cannot turn an expired review into a grant.
- Settings → Automatic approval provides Overview, Rules, Review history and Advanced, in English and Chinese. Approval and tool-result status are separate; a successful tool result is not deployment or feature acceptance.
- User-owned rules bind an exact session, tool, stage and argument fingerprint or fixed plugin, with a maximum 30-day lifetime. Human-required and deny rules can be managed, previewed and revoked with optimistic revisions. Rule changes are audited. Preview never executes an action and there is no historical-action replay endpoint.
- Saved-rule allow fast paths remain disabled because the public tool protocol does not authenticate registration ownership and the eventual execution binding. Independent AI review can still evaluate Creator+ registered tools. Ordinary Creator's separate
cordis/request-runretains its official per-version human approval; future versions are not automatically authorized.
Known security denials, guards and the effective never policy cannot be downgraded by audit or reviewer failure. A borrowed request object or reused call ID is not a reusable authorization capability.
History and boundaries
New records begin with this version. They are not a complete session log and do not invent retrospective reviewer explanations. The store is $DSH_HOME/approve-for-me/history-v1.json, with ~/.dsh as the default Home. New directories use 0700 and atomic replacement files use 0600. Defaults are 30 days and 1000 records; bounds are 1–365 days and 100–10000 records.
Only bounded, redacted metadata and argument summaries are retained; full file/program bodies are omitted. Export includes only the displayed page's allowlisted fields. Redaction is not a guarantee for arbitrary secrets: inspect exports before sharing. Corrupt/unwritable storage is visible, preserves the original file and prevents new automatic grants. Existing safety denials remain denials. Pending approvals are not restored across disposal/HMR.
This is an approval plugin, not a same-user filesystem or plugin-code integrity sandbox. See SECURITY.md.
Installation and development
The plugin ID remains dsh-approve-for-me; the repository is dsh-auto-review. Install once with the official plugin manager and avoid duplicate bundle/patch mounts. Required public Connection Fetch, locale, configForms, settings.section, and settings.plugins.tab package versions are declared in package.json; Node is ^22.19.0 or >=24.
An existing Creator+ install keeps its original source directory. Build/check, then use controlled same-PID server replacement and the client lifecycle branch. A rebuild, module replacement, client load and actual feature acceptance are separate proofs. Follow DSHX evidence rather than restarting the Host or starting a second port by default.
pnpm test
pnpm run typecheck
pnpm run build
Builds use the DSHX external client adapter; see development setup for the target Harness configuration. Old screenshots in docs/screenshots/ are historical, not acceptance evidence for the new management UI. The client no longer decorates official permission-menu DOM.
License
MIT.
Links
More in this category
kenryu42/cc-safety-net★ 2108
Pre-execution guard that blocks destructive Git and filesystem commands and access to secrets such as SSH keys and .env files before a tool call runs.
ADWMC/helm-d#helmd★ 1537
Security-analysis plugin for DeepSeek Harness: 33 tools spanning six security domains, evidence/reporting and toolbox, plus the case lifecycle, routing and tool ledger; a session-bound case workflow with an evidence chain, E-id validation and reproducible findings; 362 on-demand references; three hot-swappable persona profiles; and a four-tab workbench (armor / case / intercept / about) with case-state recovery after context compaction.
toby-bridges/api-relay-audit★ 934
Runs local security audits of AI API relays and LLM proxies from DeepSeek Harness, producing Markdown reports for prompt injection, model substitution signals, tool-call rewriting, error leakage, stream integrity, and profile-gated Web3 risks.
SeaOf0/dsh-redteam-model★ 925
Authorized-security DSH collection: nine work modes (redteam coordinator, pentest, code audit, binary analysis, attack-defense, AV evasion, incident response, cloud security, CTF solving) and fifteen runtime plugins, managed from a settings page with one-click deploy, install, update and uninstall.
howmp/dsh-pentest★ 624
Authorized pentest mode for DeepSeek Harness — exploration chain, assets and findings with a Web view.
Jueze-2019/dsh-redteam-mode#packages/redteam-bundle★ 293
Red-team engagement mode: send one target organization name; a planner session runs five execution roles (recon, asset triage, vulnerability discovery, exploitation, internal pivot) with configurable concurrency; preflight checks skills/resources; scoring uses four stages (recon, internet, boundary, internal) with server-side caps and privilege-wins dedup; findings stay in a local SQLite fact base. The persistent right-side console has nine pages and includes asset mapping, agents, sessions/tunnels, findings, score targets, reports, POC knowledge base and skill library. v0.15.2 adds automatic HTTP evidence/action records, batch ingest, scope check, tunnel pivot probe, data proof, cleanup ledger and T0-T3 asset admission to prevent scope drift. 59 redteam_* tools; 38 bundled skills.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.