dshbase

Plugin directory / Developer / dsh-sandbox-argument-normalizer

dsh-sandbox-argument-normalizer

Verified · install-tested on dsh Hanihahaha

✓ Actively maintained Builds on 3 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-17Last push
Cross-platformPlatform

What it does

A plugin in the Developer category for DeepSeek Harness.

✅
Our take
Works — verified, early-stage project

A plugin in the Developer category for DeepSeek Harness. It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-sandbox-argument-normalizer

中文

A DeepSeek Harness host plugin that removes invalid sandbox_permissions and
justification arguments before native tool dispatch.

Install

# Run from the repository root.
dsh plugin --profile web add ".\dsh-sandbox-argument-normalizer"

Restart dsh web after installation.

Problem Solved

Some models or OpenAI-compatible gateways include every advertised optional
argument in ordinary pwsh, write, or edit calls. When the injected
sandbox_permissions equals the session's current mode, or is narrower, DSH
correctly rejects the call before it runs with an error such as:

sandbox escalation to "workspace-write" is not strictly wider than this call's current "workspace-write" mode

The same failure occurs in a danger-full-access session when the model still
sends either advertised escalation mode. This is not a real sandbox denial;
the session already has sufficient access, but the invalid escalation fields
prevent the intended tool call from executing.

It only removes a request when it is not strictly wider than the calling
session's effective sandbox mode. Valid escalation requests remain unchanged
and continue through DSH's normal approval flow.

Examples:

  • workspace-write session + sandbox_permissions: workspace-write: removed.
  • danger-full-access session + either advertised mode: removed.
  • read-only session + sandbox_permissions: workspace-write: preserved for
    the regular approval flow.

The plugin hooks the tools/execute waterfall. It does not auto-approve
requests and does not alter session permission state.

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-sandbox-argument-normalizer for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:Hanihahaha/dsh-sandbox-argument-normalizer

Headless (CLI) profile:

dsh plugin --profile headless add github:Hanihahaha/dsh-sandbox-argument-normalizer

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →