Community plugin

MkaliezZ / @mkaliezz/dsh-secret-guard

Fail-closed secret-like payload guard for DeepSeek Harness tool calls.

  • TypeScript
  • MIT
  • 0 stars
  • Aug 29, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

@mkaliezz/dsh-secret-guard is a DSH plugin published from the MkaliezZ/dsh-secret-guard repository.

  • Listing statusManifest verified
  • Manifest checkedNov 22, 2026
  • Package@mkaliezz/dsh-secret-guard
  • Package version0.2.1
  • Source commit4d433f8
  • Repository createdAug 15, 2026

Capabilities and topics

agent-toolingdeepseek-harnessdeveloper-toolssecrets
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

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

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/MkaliezZ/dsh-secret-guard)
@mkaliezz/dsh-secret-guard — DSH Plugin