DeepSHPlugins
noatmark-dsh-plugin 项目预览
GITHUB / COMMUNITY PROJECT

noatmark-dsh-plugin

安全与运维TypeScriptMIT

文本卫生 dsh 插件:净化不可信文本、扫描隐形字符、清洗 LLM 格式、转义 CSV 公式注入。

2 Starsylwl1997 更新时间 2026-08-17
访问 GitHub 仓库
noatmark-dsh-plugin 项目预览

项目介绍

中文

文本卫生 dsh 插件:净化不可信文本、扫描隐形字符、清洗 LLM 格式、转义 CSV 公式注入。

English

Text hygiene as a dsh plugin: sanitize untrusted text, scan invisible characters, clean LLM formatting, and escape CSV formula injection.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
ylwl1997
仓库
ylwl1997/noatmark-dsh-plugin
GitHub Stars
2
Forks
0
开发语言
TypeScript
许可证
MIT
最近推送
2026-08-17
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

58/ 100
维护活跃
83
文档与实用信息
100
生态关注度
14
安装便捷信号
100
项目声明信号
100

README 含完整安装与使用说明;关注度尚低(2);标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

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

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

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

  • 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

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目