JohnXu22786/secret-guard
dsh security plugin: blocks agents from reading/writing sensitive files (.env, credentials), masks leaked secrets in tool results, audit journal, safe sg_* inspection tools
Install
secret-guard/
package.json # dsh.bundle.patch declaration; main points at the source
cordis.patch.yml # bundle patch layer (plugin line: id / name / config)
src/
index.ts # plugin entry: name / inject / Config / apply
config.ts # config schema (schemastery) + validation and defaults
policy.ts # rule engine: path normalization, glob compilation, default rule table
gate.ts # tools/pre-execute interception listener
scrub.ts # tools/post-execute content-masking listener
inspect.ts # dotenv parsing, value shape classification, sg_* safety tools
fingerprint.ts # HMAC-SHA256 seal key and fingerprints
journal.ts # JSONL audit journal + rotation
watch.ts # rule-file hot-reload poller
tests/ # node:test + tsx, runs without compilation
README.md
LICENSE
Add JohnXu22786/secret-guard to your DSH config (web profile) to enable.
README
Expand full README Collapse
README is empty.
tt-a1i/archify
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
ccch1mneyyy/dsh-TUI
GanyuanRan/Aegis
dsh-market/dsh-market
toby-bridges/api-relay-audit