okaditya84/dsh-agent-sentinel0

dsh-agent-sentinel

Security guard plugin for DeepSeek Harness: secret redaction, a shell command denylist, indirect prompt-injection scanning, and syntax verification on file writes.

包名
dsh-agent-sentinel
版本
0.1.0
许可证
MIT
最近更新
2026年8月18日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Configuration reference

OptionTypeDefaultDescription
redactSecretsbooleantrueRedact secrets/credentials found in tool output content blocks.
customSecretPatterns{ name, pattern }[][]Additional secret regex patterns.
blockDangerousCommandsbooleantrueVeto shell calls matching the built-in destructive-command denylist.
customCommandRules{ id, pattern, reason, severity? }[][]Additional shell command denylist rules.
detectPromptInjectionsbooleantrueScan file-read/fetch output for prompt-injection patterns.
verifyCodeSyntaxbooleantrueVerify syntax of file writes/edits (JS, TS, JSON, Python).
auditLogPathstring.sentinel-audit.jsonlPath for the append-only JSONL audit log.
strictModebooleanfalseBlock (rather than just log) a write that introduces a syntax error.
maxAuditHistorynumber500In-memory audit ring-buffer size (independent of the on-disk log, which is never truncated by this plugin).