Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

dsh-preset-display-regex

Latest version: v0.3.8-alpha.2

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: bychv
65 Stars
5 Forks
9 Versions
1.5K Downloads
JavaScript Repo language

Scan summary

dsh-preset-display-regex was last scanned on 27 Nov 2026 at version 0.3.8-alpha.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 2 were published within 2 days (26 and 27 Nov 2026).
  • Findings: No rules fired in version 0.3.8-alpha.2.
  • Downloads: 1,458 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.8-alpha.2 LATEST 27 Nov 2026 No rules fired
0.3.8-alpha.1 26 Nov 2026 No rules fired
0.3.7-rc.2 14 Nov 2026 No rules fired
0.3.7-rc.1 4 Nov 2026 Not shown
0.3.7-alpha.1 28 Oct 2026 Not shown

No rules fired in 0.3.8-alpha.2

Findings

Findings for v0.3.8-alpha.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.8-alpha.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

DSH 预设正文正则

dsh-preset-display-regex 是预设主包的可选显示插件。安装后,在工作台「正则配置」开启“启用正文正则”,为规则选中“正文显示”和“助手正文”。也可通过 SPreset Editor → 附加功能 → 正则编辑,同一份配置通用。

支持历史及流式助手正文的正则替换,HTML 始终作为文本,不执行脚本。可与另装 GenUI 共用 Markdown 围栏,发现组件时不会自动回退。关闭后恢复原文;不修改历史、请求上下文及宿主导出。需要同版本、提供 display API v1 的 dsh-preset-enhance,仅面向 DSH 0.2.1 系列。

本地开发先在仓库根目录运行 npm run build,用本地构建快照满足主包对子包的依赖,再安装主包入口。正式安装使用 dsh-preset-enhance@alpha,由主包自动安装本包。

配置、接口及 GenUI/文件展示边界见仓库的 正文正则说明。

源码与插件管理

宿主入口位于 src/index.mts,客户端、渲染与执行器位于 src/client/,共享 Worker 在主包 src/client/worker/regex-worker.ts。仓库根目录 npm run build 生成本包运行文件,原浏览器 URL 不变。

主包 dsh-preset-enhance 自动携带此包,在同一 DSH 插件详情页逐项控制两个包,无需另装组合入口。此包停用、加载失败或未就绪时,工作台与 SPreset 的正文总开关关闭且不可操作;规则与保存的偏好保留,恢复启用后重新使用该偏好。提示词正则独立生效。

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm dsh-preset-display-regex

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229