Plugin directory / Developer / dsh-secret-guard
dsh-secret-guard
Unverified MkaliezZ
What it does
Fail-closed secret-like payload guard for DSH tool calls: inspects model tool arguments at tools/pre-execute.
Unverified — not yet verified
Fail-closed secret-like payload guard for DSH tool calls: inspects model tool arguments at tools/pre-execute. Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. 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-secret-guard
A fail-closed secret-like payload guard for DeepSeek Harness (DSH) tool calls.
The plugin inspects model-supplied tool arguments at tools/pre-execute and returns allow, ask, or deny before the tool body runs. v0.1 deliberately does not rewrite/redact arguments: DSH freezes execution identity and arguments before policy, so mutating them inside a guard would violate the runtime contract.
v0.1
- detects common private-key/token/key patterns;
- detects obvious sensitive field names;
- bounds serialized payload size and fails closed above the configured limit;
- optional tool-name scope (
protectedTools); empty means inspect every tool; actionOnFinding: block|ask;- no raw secret values in the denial reason.
Non-claims
- heuristic secret detection, not complete DLP;
- no guarantee every credential format is detected;
- no argument redaction in v0.1;
- not a sandbox or malware detector;
- should be composed with a policy boundary such as AgentFuse when broader action authorization is required.
Development
npm test
License
MIT
Install
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-secret-guard 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:MkaliezZ/dsh-secret-guard Headless (CLI) profile:
dsh plugin --profile headless add github:MkaliezZ/dsh-secret-guard Test report
Not yet L3-verified — see failure note below if we already ran it.