dsh-secret-guard
Manifest validLocal-only secret scan and redaction for DSH prompts, logs, diffs, and files.
Secret Guard for DSH
Local-only credential scan and redaction for prompts, logs, diffs, and files. Findings are redacted; the full secret is never returned.
Use
node bin/dsh-secret-guard.mjs --file notes.txt
cat notes.txt | node bin/dsh-secret-guard.mjs --redact
In DSH:
Use secret_scan on this text.
Use secret_redact before sharing this file.
Rules
GitHub tokens, AWS keys, OpenAI-style keys, private-key blocks, JWT-like tokens, and assigned credential values.
Limits
- Pattern-based, not entropy/AST/secret-manager integration.
- A clean scan is not proof that a document is secret-free.
- Redaction can break syntax; review the result.
- No network, no telemetry, no write to disk.
Tests
npm test
Test tokens are constructed at runtime; no real credential is committed.
Provenance
A small independent scanner. Inspired by common secret-scanning practice; no source copied. License: MIT.
Comments
Loading…
Similar plugins
by thegabopacheco-sudo
Escanea un proyecto local en busca de secretos y credenciales (claves, tokens, passwords, claves privadas) con patrones, enmascarado y excluding de dependencias.
★ 0
MIT
JavaScript
Nov 12, 2026
dsh plugin --profile web add dsh-plugin-secrets-scannerby drm-nz
Redacts secrets from tool output before it reaches the model or the session log. A DeepSeek Harness plugin.
★ 0
MIT
JavaScript
Nov 1, 2026
dsh plugin --profile web add dsh-redactby darkmagic-ai
DSH (DeepSeek Harness) security guard plugin: blocks/asks on dangerous commands & sensitive paths, redacts secrets in tool output, local JSONL audit log + guard_report. DSH 安全护栏插件。
★ 0
MIT
JavaScript
Nov 5, 2026
dsh plugin --profile web add dsh-guardrailLocal-first privacy shield for DeepSeek Harness: keep plaintext local, send only placeholders to the model, restore real values in the transcript.
★ 0
MIT
dsh plugin --profile web add dsh-privacy-shieldby lonelymoon87
Adds dangerous-operation policy checks, output redaction, and a security-review workflow.
★ 1
↓ 46/wk
MIT
TypeScript
Aug 21, 2026
dsh plugin --profile web add dsh-guardianby ZeroClave
Privacy firewall for DeepSeek Harness: detect and redact sensitive text before sending.
★ 1
Apache-2.0
TypeScript
Oct 9, 2026
dsh plugin --profile web add @zeroclave/dsh-privacy