본문으로 건너뛰기
Y

noatmark-dsh-plugin

ylwl1997/noatmark-dsh-plugin

텍스트 위생 관리를 dsh 플러그인으로 제공: 신뢰할 수 없는 텍스트 정제, 보이지 않는 문자 검사, LLM 포맷팅 정리, CSV 수식 인젝션 이스케이프

설치

dsh plugin --profile web add github:ylwl1997/noatmark-dsh-plugin

README

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

ToolWhat it does
sanitize_textStrip invisible/zero-width characters and flag prompt-injection + hidden-text signals.
scan_textReport invisible characters (with code points + positions), injection patterns, and hidden text.
clean_formatClean LLM formatting artifacts (blank lines, stray fences, trailing spaces) — meaning untouched.
sanitize_csvEscape 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

MIT

관련 플러그인