Skip to content
Plugin

dsh-defend

PerryLink271Updated 3d ago

Open on GitHub

Prompt-injection, jailbreak, and secret-leak detection on the official seams: an Aho-Corasick engine over rules ported from Prompt-Injection-Payloads, Jailbreak-Detector, and Secret-Key-Leaker-Detect gates user messages, tool arguments, and tool results with allow/ask/block tiers, sanitized defend/detection audit events, a defend_report tool, and a destructive-delete command guard.

Practical score

82 / 100

Setup

Ready to use

License

Apache-2.0

Language

TypeScript

Install

Quick start

Copy the command, or hand the whole task to your harness agent.

dsh plugin --profile web add github:PerryLink/dsh-defend
DSH versionDSH 0.2.2-rc.1
Install with your agent

Please install the DeepSeek Harness plugin "dsh-defend" for me. - GitHub repository: PerryLink/dsh-defend (https://github.com/PerryLink/dsh-defend) - Type: a Cordis plugin (installed into a DSH profile) - The plugin declares a DSH version requirement of 0.2.2-…

From the README

A cleaned excerpt from the project's own documentation.

🛡️ dsh-defend - 1024 商店渠道 :先 npm i -g dsh1024 ,再 dsh1024 plugin --profile web add dsh-defend (计入 deepseek1024.com 安装排行)。 DeepSeek Harness 的提示注入、越狱与密钥泄露防护。 规则裁决已知的,拦截裁决其余的——一切都有审计。 [![CI](https://img.shield…

Open on GitHub

Project details

by
PerryLink
License
Apache-2.0
stars
27
Forks
1
Updated
Nov 9, 2026
Created
Aug 16, 2026
Language
TypeScript
Indexed from
awesome-0xsline · topic
Visit homepage

Related entries

Similar tools from the same corner of the ecosystem.

View all
Plugin

dsh-auto-review

PerryLink

Second-model AI auto-review on the approval answerer chain: a read-only reviewer subagent returns structured allow/deny verdicts with reasons, fail-closed by default.

ai-agentai-agentsai-safety
248Needs setup
83/100
Plugin

dsh-mask

PerryLink

PII masking middleware: anonymizes names, phones, emails, ID cards, bank cards, keys, and addresses before the model boundary and restores placeholders at display; plaintext never enters the session log; /mask command plus mask_test tool.

ai-agentai-agentsanonymization
17Ready to use
82/100
Plugin

dsh-plugin-guide

PerryLink

Plugin-development knowledge base as an on-demand agent skill: official constraints, task workflows, API references, and community pitfalls.

agent-skillai-agentai-agents
66Ready to use
89/100