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

keywire-relay-cloudflare

Latest version: v0.3.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: bowl42
0 Stars
0 Forks
2 Versions
Go Repo language

Scan summary

keywire-relay-cloudflare was last scanned on 29 Nov 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.3.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.0 LATEST 29 Nov 2026 No rules fired
0.0.0-stage 29 Nov 2026 Not shown

No rules fired in 0.3.0

Findings

Findings for v0.3.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 0.3.0; other versions have their own rules, not their own score.

README

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

keywire relay on Cloudflare Workers

The keywire relay, run as a Cloudflare Worker. Like keywire-relay, it admits only members of a Network, guests with a share or an invite, and devices pairing with one Node, and forwards their end-to-end encrypted streams without being able to read them. It serves every application: the relay handshake binds no application identifier.

Each Network gets a Durable Object of its own, named by the Network's id, which holds that Network's sessions and its own Noise key. Besides relay dials, the Worker answers only GET /healthz, and, serving discovery, /nearby and /reach.

Deploy

With a Cloudflare account and this repository checked out, and Node 24 with pnpm and rustup (the build makes the zlib WebAssembly module keywire inlines):

(cd ts && pnpm install)
make build
cd ts/packages/relay-cloudflare
pnpm exec wrangler deploy

Or with the button, which forks the repository into your account and deploys this directory:

Variables, in wrangler.jsonc or the dashboard:

  • NETWORKS: if set, the only Networks served, as distinct lowercase hex ids separated by commas, without spaces.
  • DISCOVERY: on serves discovery (spec/discovery.md): Nodes give it their listings, and web pages find them with GET /nearby and POST /reach. Off when empty. With it, DISCOVERY_ORIGINS are the origins of the application's pages whose scripts may read the answers, comma separated, and DISCOVERY_SAME_NETWORK the rule for nearby: address (the default), address-or-ipv6-64 or private. The listings of every Network are held by one Durable Object, which answers the lookups; a relay without discovery never reaches it.

A variable the relay cannot take makes it answer every request, /healthz included, with 500 and the reason, rather than serve something else.

https://keywire-relay.<subdomain>.workers.dev/healthz answers once the relay is up. Give devices wss://keywire-relay.<subdomain>.workers.dev/ as a relay; they add their Network's id to the URL themselves.

In your own Worker

The package, keywire-relay-cloudflare on npm, exports the Worker, its two Durable Object classes and the Env they take. keywire is a peer dependency: the Worker uses the application's own copy.

npm install keywire keywire-relay-cloudflare

A Worker of its own serves the relay by re-exporting them, and binds the classes in its wrangler.jsonc as this directory's does:

import relay, { type Env } from "keywire-relay-cloudflare";

export { DiscoveryDirectoryObject, RelayNetwork } from "keywire-relay-cloudflare";

export default {
  fetch(req: Request, env: Env): Promise<Response> {
    return relay.fetch(req, env);
  },
} satisfies ExportedHandler<Env>;

Its declarations take the Workers runtime's types from the application, as wrangler types writes them.

Free plan

It runs on the Workers Free plan, whose daily limits on requests and Durable Object time bound how many sessions it can carry each day; every relayed message is Durable Object work.

Test

pnpm test runs the Worker in local workerd against Go peers; pnpm perf measures one relayed stream.

DOMAIN names the signature domain of the Networks served (spec/identity.md); unset, it is keywire.

With DISCOVERY=on, DISCOVERY_PAGE optionally names the http(s) pairing page (at most 128 bytes in the shared URL grammar). Listing results carry it to publishers, and its origin is allowed automatically for lookups.

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 keywire-relay-cloudflare

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

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