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.

AI 분석

核心用途为 DSH 运行环境提供安全防护。适合对大模型执行代码、命令有高安全要求的用户,可拦截危险命令并防止敏感信息泄露。

패키지
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).