Scan your whole stack
From OX Research Newsroom
Are you using dsh-uriauth?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.1.0
dsh-uriauth was last scanned on 29 Nov 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.1.0 LATEST | 29 Nov 2026 | No rules fired |
| 1.0.0 | 31 Oct 2026 | No rules fired |
| 0.0.0-stage | 31 Oct 2026 | Not shown |
Findings for v1.1.0. 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 1.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
DeepSeek Harness(DSH)插件,给 DSH Web UI 一个固定的免 token 入口,插件装好后处于关闭状态,需在设置里手动开启
dsh web 的鉴权是「一次性引导凭证 + 长期 cookie」:
dsh web: http://<host>:<port>/?token=<随机串>/,服务端回 303 + Set-Cookie: dsh-auth-<id>=…; HttpOnly; SameSite=Strict(30 天)dsh web 也没有关闭鉴权的开关,遇到这些场景只能回日志里翻 token:
该插件把「token → cookie」这一步做进服务端进程内:入口每次请求现读当前进程的 token,所以服务重启后入口依然有效,设置一次长期使用
因为入口等价于「把机器交给拿到链接的人」,它默认关闭:装好插件不会监听任何新路径,必须由人在设置页开启,并先读完一段警告再确认
插件安装在 DSH 的 profile 里(下例为 web profile)
# 1) 克隆到 ~/plugins
git clone https://github.com/hsushjk/dsh-uriauth.git ~/plugins/dsh-uriauth
# 2) 装到 profile
cd ~/.dsh/profiles/web
pnpm add file:~/plugins/dsh-uriauth
3)把 dsh-uriauth 追加到 ~/.dsh/profiles/web/package.json 的 dsh.profile.bundles:
{
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-web-app",
"dsh-uriauth"
]
}
}
}
4)重启 DSH
设置 → URI 入口 → 开启入口 → 读警告 → 确认开启
设置文件 <DSH_HOME>/uri-auth.json:
| 字段 | 默认值 | 说明 |
|---|---|---|
enabled |
false |
入口总开关,false 时不注册任何入口路由(路径返回 404),改为 true 需在设置页确认警告,或调用 API 时带 "confirm": true |
entry |
trustme |
入口路径名(单段),仅允许字母、数字、.、_、~、-,长度 1–64,api、plugins、assets、connect、favicon.ico、index.html、__uriauth 被保留 |
mode |
exchange |
exchange:token 不进入浏览器地址栏(推荐),redirect:302 到带 token 的 URL(兼容模式,token 会留在访问记录里) |
allowCrossSiteNavigation |
false |
允许被浏览器标记为跨站/PWA 启动的导航使用入口 |
gatewayEnabled |
false |
独立端口入口(固定端口网关)总开关,false 时不监听任何新端口 |
gatewayPort |
3223 |
固定端口网关监听的端口,1024–65535 的整数,改完保存立即生效 |
gatewayProxyEnabled |
false |
局域网反代分支开关:关闭时非本机地址的请求收到 403(主监听只绑 127.0.0.1,重定向对局域网无效);开启后非本机请求被反代进主监听(Host/Origin 改写、cookie 透传、WebSocket 隧道、所有 HTTP 方法) |
桌面版(dsh-desktop)的 Web UI 端口由系统随机分配,且随重启变化——想从局域网另一台机器访问,得先翻日志找端口。网关解决的就是这个问题:
本机(Host 是 loopback,浏览器能直连主监听):
浏览器 → http://127.0.0.1:3223/trustme
└─ 网关 302 → http://127.0.0.1:<真实随机端口>/trustme
└─ 入口路由完成 token→cookie 交换,302 → /(已登录)
第二个请求起浏览器直连主监听,网关零转发,WebSocket / API 全走原生路径
局域网(主监听只绑 127.0.0.1,浏览器连不到重定向目标):
浏览器 → http://192.168.5.20:3223/任何路径
└─ 网关反向代理:Host/Origin 改写成 127.0.0.1:<真实端口> 转给主监听
cookie 原样透传,WebSocket(/connect 升级)双向隧道
127.*、localhost、::1)→ 重定向;其他(局域网 IP、域名)→ 反向代理(受 gatewayProxyEnabled 开关控制,默认关闭返回 403)404——网关不提供独立的绕过通道开启方式:设置 → URI 入口 → 独立端口入口 → 开启独立端口(需先读完确认警告)。默认监听 0.0.0.0(所有网卡),端口可在 1024–65535 范围内修改。
设置页的修改会写回设置文件,删除该文件即回到默认值(包括关闭开关)
0.0.0.0 且端口固定,比随机端口的主监听更容易被扫描器发现;不需要时请保持关闭webServer 与 connection 服务,使用 requestRejection / authenticatedUrl / authorizeIndex 这些既有 APInode:http 自建监听(gatewayRequestIsAuthenticated 仅调用 connection.requestRejection 做既有校验,不新增信任路径)@deepseek-ai/dsh 0.2.1-rc.5 / 0.2.2-rc.5、Node 22+dsh.client 模块格式加载(loader id 必须等于包名 dsh-uriauth),注册一个 settings.sectionFind 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.