DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

ylwl1997 /

ylwl1997/noatmark-dsh-plugin

已验证

NoAtMark text hygiene as a DeepSeek Harness (dsh) plugin — sanitize untrusted text, scan invisible characters, clean LLM formatting, and escape CSV injection.

★ 1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub项目主页
README来源: main@0e28246d

noatmark-dsh-plugin

awesome · DSH plugin

NoAtMark text hygiene as a DeepSeek Harness (dsh) plugin.

Everything-is-a-plugin: this plugin gives your dsh agent four text-hygiene tools, backed by the same deterministic engines behind noatmark.com.

Tools

Tool What it does
sanitize_text Strip invisible/zero-width characters and flag prompt-injection + hidden-text signals.
scan_text Report invisible characters (with code points + positions), injection patterns, and hidden text.
clean_format Clean LLM formatting artifacts (blank lines, stray fences, trailing spaces) — meaning untouched.
sanitize_csv Escape CSV formula injection (OWASP): = + - @ prefixes get a leading quote.

All processing is deterministic and local — no data leaves your machine.

Install

Add this plugin to your dsh Web UI. If you're running from a source checkout, use a cordis.yml patch:

- insert:
    - id: noatmark
      name: noatmark-dsh-plugin

or point at the source directly (absolute path):

- insert:
    - id: noatmark
      name: '/path/to/noatmark-dsh-plugin/src/index.ts'

Start dsh with the patch:

npx @deepseek-ai/dsh web --patch ./cordis.yml

Usage

In a dsh session, ask the agent to use a tool, e.g.:

Sanitize this pasted text before you summarize it.

Scan this file for invisible characters.

Clean the formatting of this AI output.

Escape this CSV before saving it.

Development

pnpm install
pnpm build   # tsc -> dist/

Resources

  • Web tools: https://noatmark.com/
  • NoAtMark SDK (npm/PyPI): noatmark-text-hygiene
  • DeepSeek Harness: https://github.com/deepseek-ai/deepseek-harness
  • Official docs: https://deepseek-harness.github.io/deepseek-harness/

MIT

—/ 5

暂无评分

已验证 DSH bundle

Commit 0e28246d0208

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于