Scan your whole stack
Are you using dsh-meru-button?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.3.4
dsh-meru-button was last scanned on 30 Nov 2026 at version 0.3.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.3.5 | 30 Nov 2026 | No rules fired |
| 0.3.4 | 30 Nov 2026 | No rules fired |
| 0.3.3 | 30 Nov 2026 | No rules fired |
| 0.3.2 | 30 Nov 2026 | Not shown |
| 0.3.0 | 30 Nov 2026 | Not shown |
Findings for v0.3.4. 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.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
给 DSH 桌面版 Windows 加一个右上角「⟳」菜单,点开只有三个键:刷新、重启、更新并重启。
$DSH_HOME/dsh-meru-button/config.json,首次运行自动生成(把当前 profile 里所有 registry 依赖写进去),之后用户自己编辑。link: / file: / workspace: / npm: / git / http 依赖不更新、也不会被写进默认白名单。插件 Host 是 Electron 主进程的子进程,不能自己调用 app.quit() / app.relaunch();更新又必须在 node_modules 没有被 Host 映射时做。因此由 Host 写 handoff 并启动 detached helper,helper 在 Windows 上用 taskkill /PID <主进程> /F(不带 /T,让 Host 有机会优雅落盘)、等待端口释放、执行 pnpm.cmd,再重放原启动参数(含 --user-data-dir)把同一个 exe 拉回来。
dsh web、macOS/Linux、以及可执行文件看起来是 node 的宿主都不会进入这条路径;包声明 os: ["win32"],非 Windows 宿主侧直接跳过注册。宿主无法确认自己是桌面版时一律判否——宁可按钮置灰,也不去杀一个拉不回来的进程。
菜单底部只写一行:
last-run.json 里 verify 为 unverified,表示重启后没拿到端口证据(最新 dsh-desktop-next*.log 与新主进程命令行都没读到监听地址),此时 ok 不变,只标记「没验证到」。
按钮注册进宿主的 shell.overlay 座位(ctx.slots.inject('shell.overlay', …),inject: ['slots']),不自己往 document.body 插容器。这个座位是 root 作用域:欢迎页(没有会话)也在,弹层跟着 shell 的主题和层级走;按钮本身用固定定位停在右上角(.muu-root,top:8px; right:168px,与参考实现 dsh-power-menu 一致)。
座位所在层是 pointer-events: none,所以 .muu-root 自己声明 pointer-events: auto——少这一条就是「按钮看得见、点不动」。
上次成功 / 上次已重启 / 上次未更新(已还原旧版,应用正常) / 上次失败(应用未能启动)。$DSH_HOME\dsh-meru-button\last-failure.txt 兜底(万一模态框没出来,比如没有 PowerShell 会话)。打开 $DSH_HOME/dsh-meru-button/config.json:
{
"packages": ["dsh-free-search", "dsh-meru-preset"]
}
pnpm update <pkg> --latest 决定。GET /api/dsh-meru-button/state 的 candidates(当前 profile 里能更新到 registry 的依赖)与 skipped(被跳过的 link:/file: 等)。POST /api/dsh-meru-button/config({"packages": [...]})供脚本写同一份文件;界面不再调用它。口径(lib/plan.js):
^1.2.3、~1.2.3、1.2.3、latest、* 等。link:、file:、workspace:、npm: 别名、git / http spec、本地路径。这些通常是用户自己的构建产物,重写会删掉本地改动。全部在 $DSH_HOME/dsh-meru-button/:
| 文件 | 作用 |
|---|---|
config.json |
白名单 { "packages": string[] },首次运行自动生成 |
update.log |
Host 侧事件与结果摘要 |
helper.log |
detached helper 的过程日志 |
last-run.json |
上次运行结果 { at, ok, rolledBack, verify, mode, packages, detail } |
handoff-*.json |
一次退出重启的交接快照 |
BASE = /api/dsh-meru-button,全部 JSON,全部 loopback + 同源校验。
| 方法 | 路径 | 返回 |
|---|---|---|
| GET | /health |
{ok, desktop, pending, lastRun} |
| GET | /plan |
{ok, desktop, target, profileDir, helper, logPath, reasons[], pending} |
| GET | /state |
{ok, desktop, profileDir, configPath, logPath, pending, lastRun, candidates[], skipped[], whitelist[], unknown[], notRegistry[]} |
| POST | /config |
入 {packages: string[]} → {ok, packages, ignored[]} |
| POST | /restart |
{ok} 或 {ok:false,error},不更新任何包 |
| POST | /update-restart |
{ok, packages, ignored[]} 或 {ok:false,error} |
package.json、pnpm-lock.yaml、pnpm-workspace.yaml(存在才备份)到同目录的 .bak-meru-button-<时间戳>。pnpm update 非零退出:恢复备份并跑一次 pnpm install,再拉起旧版本。last-run.json 的失败记录并停在旧版本。cordis.patch.yml 会把 dsh-meru-button 插入组合配置)。不要在正在使用的活 profile 上做试验。/health 的 desktop 为 true;首次运行后 config.json 已生成。desktop:false 时「重启」「更新并重启」会置灰(title 说明原因)。dsh-meru-button,重启 DSH Desktop。$DSH_HOME/dsh-meru-button/ 下的文件;不要递归删除整个目录。见 test/README.md。测试只用 node: 内置模块,不安装包、不启动 Host、不写 C:\Users\DELL\.dsh。
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.