Scan your whole stack
From OX Research Newsroom
Are you using @lukstei/dsh-client-pwa?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.2-rc.5.17
@lukstei/dsh-client-pwa was last scanned on 29 Nov 2026 at version 0.2.2-rc.5.17. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.2-rc.5.17 LATEST | 29 Nov 2026 | No rules fired |
| 0.2.2-rc.5.16 | 28 Nov 2026 | No rules fired |
| 0.2.2-rc.5.15 | 28 Nov 2026 | No rules fired |
| 0.2.2-rc.5.14 | 28 Nov 2026 | Not shown |
| 0.2.2-rc.5.13 | 28 Nov 2026 | Not shown |
Findings for v0.2.2-rc.5.17. 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.2.2-rc.5.17; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Makes DSH installable as a PWA and lets trusted reverse-proxy requests log in without a token. It serves the web manifest and icons, injects the manifest links into the index page, and wraps the connection's index authorization with header and IP trust checks. For deployments behind Tailscale or another authenticating proxy.
Makes DSH installable as a standalone app (Chrome or Safari) and optionally signs you in through a trusted reverse proxy. Full guide with demo and controls: https://lukstei.github.io/dsh-plugins/guide/dsh-client-pwa
dsh plugin --profile <web|desktop> add @lukstei/dsh-client-pwa
First use:
auth as described below and read the security notes.Host plugin. Requires webServer and connection. The shipped bundle patch (cordis.patch.yml) leaves config empty, so DSH serves the PWA manifest and icons while keeping standard token login active:
- insert:
- id: client-pwa
name: '@lukstei/dsh-client-pwa'
config: {}
Install DSH as a desktop app on localhost without changing auth. Customize manifest metadata only if you want different app names or colors:
- id: client-pwa
config:
pwa:
name: 'DeepSeek Harness'
shortName: 'DSH'
Expose local DSH (localhost:3080) on your tailnet as an HTTPS service:
tailscale serve --service=svc:dsh --https=443 http://localhost:3080
Tailscale terminates TLS, sets tailscale-user-login, and proxies to DSH over loopback (127.0.0.1 / ::1). Override client-pwa in your profile cordis.patch.yml to trust that proxy:
- id: client-pwa
config:
auth:
userHeader: 'tailscale-user-login'
trustedCidrs: ['127.0.0.1', '::1', '100.64.0.0/10', 'fd7a:115c:a1e0::/48']
authRoutes: ['/login', '/auth/tailscale', '/auto-login']
loginRedirectPath: '/login'
pwa:
pathPrefixes: ['/tsctl'] # optional: only needed when mounted under a subpath
auth| Field | Default | Meaning |
|---|---|---|
userHeader |
none | Request header carrying the verified user (e.g. tailscale-user-login, x-forwarded-user, remote-user) |
allowedUsers |
none | If non-empty, only these users are trusted |
trustedCidrs |
none | Trusted IPv4/IPv6 addresses or CIDR blocks |
authRoutes |
['/login'] |
Route paths that perform the token exchange |
loginRedirectPath |
/login |
Where trusted but unauthenticated index requests are sent |
secureCookies |
true |
Append ; Secure to Set-Cookie when x-forwarded-proto: https |
pwa| Field | Default | Meaning |
|---|---|---|
name |
DeepSeek Harness |
Manifest name |
shortName |
DSH |
Manifest short_name |
themeColor |
#1f2430 |
Manifest theme_color |
backgroundColor |
#0f172a |
Manifest background_color |
startUrl |
/login |
Manifest start_url |
scope |
/ |
Manifest scope |
display |
standalone |
Manifest display |
pathPrefixes |
none | Extra prefixes (e.g. /tsctl) where routes are also mounted; the root mount always exists |
Server-side only (no client entry). inject: webServer, connection.
| Plugin / service | Required? | Provided by | Effect without it |
|---|---|---|---|
webServer |
Required | @deepseek-ai/dsh-host-webserver | Plugin stays pending; never applies. No manifest, icons, or head injection. |
connection |
Required | @deepseek-ai/dsh-client-connection | Plugin stays pending; never applies. Its authorizeIndex/admit wrapper (reverse-proxy login) is not installed. |
Non-plugin requirement: a reverse proxy that sets the configured auth.userHeader and connects from auth.trustedCidrs; otherwise trusted login never fires.
The shipped patch leaves auth unconfigured, so trusted-proxy login stays off until you configure auth.userHeader or auth.trustedCidrs. Used by: nothing.
<prefix>/manifest.webmanifest (no-store), <prefix>/icons/{180,192,512}.png (max-age=86400, 404 for other sizes), and each auth route as a prefix route. Auth routes without a leading / get one.<link rel="apple-touch-icon" href="/icons/180.png"> and <link rel="manifest" href="/manifest.webmanifest"> (an existing manifest link is replaced). The injected links use root paths, not prefixed ones.isTrustedRequest): if userHeader is set and present, the user must be in allowedUsers when that list is non-empty. If the header is missing and allowedUsers is non-empty, the request is untrusted. Otherwise the client IP must match trustedCidrs. The IP is the first x-forwarded-for entry, else the socket address (the socket address is passed on auth routes only).Host, 403 if untrusted, else 303 to connection.authenticatedUrl(https://<host><matched prefix>) with cache-control: no-store and referrer-policy: no-referrer.token query param that the connection rejects: if the request is trusted, answer 200 with a small HTML page that does location.replace(loginRedirectPath). Otherwise the original authorization runs.connection.authorizeIndex is restored on dispose.| File | Role |
|---|---|
| src/index.ts | Schemas (Config, AuthConfig, PwaConfig), trust helpers, wrapAuthorizeIndex, handleAuthRedirect, route registration |
| src/pwa.ts | DEFAULT_PWA_OPTIONS, pwaManifest, injectPwaHead, handleIconRequest |
| src/icons.ts | Embedded base64 PNG icons for 180, 192, 512 |
normalizePrefixes trims slashes, drops empties and always includes "". isIpInCidrs uses node:net BlockList; it strips an IPv6 zone and ::ffff: mapping, and skips invalid entries. Manifest icons: /favicon.svg (any), /icons/192.png and /icons/512.png (any maskable), served from the root paths.
Persisted state: none. Trust boundary: the user header and x-forwarded-for are trusted as sent, so the proxy in front must set or strip them.
Tests: src/index.test.ts, src/pwa.test.ts (node --test).
@lukstei/dsh-client-notify: Service Worker, notifications and app-icon badge.No model-visible surface. This package adds no tools, prompt text, or context to the model.
x-forwarded-for only. It does not pass the socket address, so CIDR trust at the index needs a proxy that sets x-forwarded-for.https://.pnpm run verify runs Biome, typecheck and node --test. There is no build step; main points at src/index.ts.
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.