Scan your whole stack
From OX Research Newsroom
Are you using @weaxs/dsh-knot?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.2
@weaxs/dsh-knot was last scanned on 25 Nov 2026 at version 0.2.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.2 LATEST | 25 Nov 2026 | No rules fired |
| 0.2.1 | 23 Nov 2026 | No rules fired |
| 0.3.0 | 23 Nov 2026 | No rules fired |
| 0.2.0 | 22 Nov 2026 | Not shown |
| 0.1.0 | 21 Nov 2026 | Not shown |
Findings for v0.2.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.2.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
| Capability | What you get |
|---|---|
| Universal ACP v1 | Connect to an ACP v1 WebSocket endpoint or launch a local NDJSON stdio agent. |
| Native Drivers | First-class native adapters for Hermes (/v1/runs + SSE), OpenClaw (Gateway WebSocket v4 + Ed25519 pairing), and remote dsh (/api/session/* RPC), plus the optional dsh-knot-acp bridge. |
| Built-in dsh Web UI | Chat with remote agents, browse sessions, review approvals, cancel jobs, test connections, and manage read-only MCP sharing. |
| Zero-Config GUI Settings | Exports a @deepseek-ai/schemastery Config schema so dsh Settings → Plugins renders a visual form automatically. |
| Read-Only MCP Export | Expose explicitly allow-listed local dsh sessions to remote agents on a separate loopback/tailnet port with deny-by-default access, constant-time bearer auth, and recursive secret redaction. |
| Live E2E | 18-job real model-backed E2E matrix across Local, Tailscale, and Headscale. |
When loaded in dsh web, dsh-knot registers the Remote Agents / 远端助手 sidebar entry:
knot_doctor across all configured agents or expand per-agent gateway checks.See docs/DESIGN.md for protocol contracts, event normalization, and security boundaries.
Both npm package names ship identical builds: @weaxs/dsh-knot and dsh-knot.
Plugins → Add plugin → npm → @weaxs/dsh-knot
git clone https://github.com/Weaxs/dsh-knot.git
cd dsh-knot
npm ci
npm run build
Then add the absolute repository directory through Plugins → Add plugin and restart dsh.
Fastest path: Prefer to let your server agent and local
dshagent handle installation, private networking, and verification automatically? Use the Connect a Remote Agent with Two Prompts guide — pick a network, copy Prompt 1 to the target host, and forward its handoff block with Prompt 2 to your localdshagent.
dsh web.+ Add Agent / + 添加助手.$DSH_HOME/knot/agents.json with 0600 permissions.Set these variables in the Hermes gateway service account's active profile .env (~/.hermes/.env for the default profile):
API_SERVER_ENABLED=true
API_SERVER_HOST=127.0.0.1
API_SERVER_PORT=8642
API_SERVER_KEY=<your-random-token>
Restart the gateway with hermes gateway restart for that account and profile. Set Kind to Hermes and use the same API_SERVER_KEY as the DSH Knot token. On the same host use http://127.0.0.1:8642. For help with profiles and services, see Hermes API Server.
Connection checks require the authenticated Runs API capabilities. Hermes history in DSH Knot lists sessions created through the API Server, which the Runs API can continue.
Run the authenticated OpenClaw Gateway on 127.0.0.1:18789 with gateway.auth.mode set to token. Set Kind to OpenClaw and use its gateway token. On the same host use ws://127.0.0.1:18789. If the first connection requires pairing, run openclaw devices list and openclaw devices approve <requestId> on the gateway host, then rerun the connection test. DSH Knot stores its device key under $DSH_HOME/knot/devices with 0600 permissions. See OpenClaw gateway configuration and device approval.
Join the dsh device and both gateway hosts to the same tailnet, and enable HTTPS there. Keep each gateway listening on loopback.
tailscale serve --bg http://127.0.0.1:8642 on the Hermes host.gateway.tailscale.mode to serve in the OpenClaw configuration and restart the Gateway. For an existing external Serve route, follow OpenClaw's proxy attribution requirements.In Remote Agents, choose Direct / Tailscale, then paste each host's HTTPS URL and enter its gateway token. For ACP WebSocket endpoints, paste the full WebSocket URL (for example, wss://agent.example-tailnet.ts.net/acp). See Tailscale Serve.
Tailscale's hosted service coordinates devices, which connect peer to peer when the network permits. Headscale offers self-hosted coordination. For direct HTTP or WebSocket access over Tailscale, Headscale, or WireGuard, verify that the endpoint is reached through the encrypted private network and select the encrypted private network checkbox in Remote Agents. See Tailscale connection types and Headscale setup.
cordis.patch.ymlIf you prefer declarative configuration, add agents under knot in cordis.patch.yml (each agent can specify its own token or an optional tokenEnv fallback):
- id: knot
name: "@weaxs/dsh-knot"
config:
agents:
- id: claude-local
kind: acp
transport: local
acpTransport: stdio
acpCommand: /usr/local/bin/claude-code-acp
- id: hermes-gpu
kind: hermes
transport: direct
host: https://hermes-host.example-tailnet.ts.net
tokenEnv: HERMES_API_KEY
- id: claw-prod
kind: openclaw
transport: direct
host: https://claw-host.example-tailnet.ts.net
tokenEnv: OPENCLAW_GATEWAY_TOKEN
- id: dsh-remote
kind: dsh
transport: direct
host: https://dsh-host.example-tailnet.ts.net
tokenEnv: DSH_GATEWAY_TOKEN
knot_doctorClick Test all connections in the Web UI or ask dsh:
Use knot_doctor to check every configured agent.
knot_doctor checks endpoint reachability and protocol health.
| Tool | Purpose |
|---|---|
agent_list |
List configured agents and optionally probe their health. |
agent_ask |
Start a remote task and return a jobId immediately (or wait: true). |
agent_continue |
Send a follow-up message to the same remote session. |
agent_status |
Read streamed output, state, errors, and pending approvals. |
agent_cancel |
Abort the local stream and cancel the remote run while preserving partial output. |
agent_respond |
Answer a pending remote approval using one of its offered choices. |
knot_doctor |
Diagnose endpoint reachability and protocol health. |
Long tasks run in the background with bounded in-memory output and finished-job eviction. Tool cancellations (exec.signal) are forwarded into network calls, waits, doctor checks, and remote cancellations. When the originating dsh Agent supports followup, completion updates are posted back automatically.
Expose explicitly allow-listed local dsh sessions to remote agents over a separate read-only HTTP listener (never mounted on the dsh Web UI):
export DSH_KNOT_TOKEN='a-long-random-token'
- id: knot
name: "@weaxs/dsh-knot"
config:
mcp:
enabled: true
host: 127.0.0.1
port: 19400
allowSessions:
- your-exact-dsh-session-id
dsh_sessions_list, dsh_session_read, dsh_session_watch (read-only).allowSessions: [] shares nothing), refuses wildcard hosts (0.0.0.0 / ::), constant-time Bearer verification, 1 MB body cap (413 on overflow), 50-item JSON-RPC batch cap, and recursive circular-safe secret redaction.For remote access, change mcp.host to the dsh host's Tailscale address and use its MagicDNS hostname in the remote client:
mcp_servers:
dsh:
url: http://dsh-host.example-tailnet.ts.net:19400/mcp
headers:
Authorization: Bearer ${env:DSH_KNOT_TOKEN}
trust: untrusted
| Transport | Best for | Notes |
|---|---|---|
direct (default) |
Tailscale, Headscale, private LAN | Provide a full endpoint URL or a host and optional port. |
local |
Agents on the same machine | Defaults to 127.0.0.1 and supports ACP stdio subprocesses. |
Credentialed connections require HTTPS or WSS outside loopback. For a verified encrypted overlay, select the encrypted private network checkbox in Remote Agents or set encryptedOverlay: true for the endpoint in cordis.patch.yml. If a saved HTTP or WebSocket connection is blocked after upgrading, edit its URL to use HTTPS or WSS, or select the checkbox after verifying the encrypted route. Ordinary private LANs require HTTPS or WSS.
For dsh-knot-acp, the same rules apply to its connection to the native gateway. Set DSH_KNOT_NATIVE_HOST to an HTTPS or WSS URL, or set DSH_KNOT_NATIVE_TLS=1 with a hostname. Use DSH_KNOT_NATIVE_ENCRYPTED_OVERLAY=1 only for a verified encrypted private route to that gateway.
npm ci
npm run lint
npm run typecheck
npm test
npm run build
npm run check
Run npm run release <semver> to sync the package and runtime versions, then push tag v<semver>. GitHub Actions verifies the build, publishes both npm packages with provenance, and creates the GitHub Release. To retry an existing tag, run the Release workflow from main with that tag.
In npm, configure a GitHub Actions trusted publisher for both @weaxs/dsh-knot and dsh-knot. Use owner Weaxs, repository dsh-knot, workflow release.yml, and enable npm publish.
MIT
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.