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

@claude-flow/phone-host

Latest version: v1.0.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: ruvnet
82,699 Stars
9,743 Forks
2 Versions
TypeScript Repo language

Scan summary

@claude-flow/phone-host was last scanned on 30 Nov 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 30 Nov 2026.
  • Findings: 2 rules fired in version 1.0.0 (1 medium, 1 low). The score describes this version only.

Versions

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

Rules fired in 1.0.0: 2

Findings

1 Medium 1 Low

Findings for v1.0.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.

Function reached through a chain of indirect calls

The code obtains a function through a computed property lookup whose key is not a plain literal, calls it, and then calls the value it returns. Obfuscated loaders use this double indirection to reach the Function constructor without its name appearing in the source. This is a code shape, not evidence of intent, and is shown to help review obfuscated code.

MEDIUM

WebAssembly module included

LOW
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 1.0.0; other versions have their own rules, not their own score.

README

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

@claude-flow/phone-host

Opt-in add-on that pairs the RuFlo or Orca phone app with this computer over your LAN or Tailscale, end-to-end encrypted. It needs no desktop app, relay or account. It is not a dependency of ruflo; install it only if you want it:

ruflo phone setup                 # installs this package into ~/.ruflo/phone-host
ruflo phone daemon start --full   # background host; --full allows terminals and agent tabs
ruflo phone pair --full           # QR code for one phone

Without ruflo, run it directly: npx @claude-flow/phone-host daemon start, then npx @claude-flow/phone-host pair.

Set up a phone

RuFlo app (ruPro Mobile)
  1. Install the RuFlo app on the iPhone and sign in to the same Tailscale tailnet as this computer, or join the same Wi-Fi.
  2. On the computer: ruflo phone daemon start --full (leave out --full for a read-only phone).
  3. ruflo phone pair --full --name "My iPhone" prints two QR codes. In the RuFlo app, open its pairing screen and scan the one labelled RuFlo app.
  4. The app opens the host. Open a workspace, tap + for a new tab, and choose a terminal or an agent (Claude, Codex, Copilot, and others installed here).
Orca app

Orca's scanner accepts only Orca links, so scan the QR code labelled Orca app (ruflo phone pair --app orca prints only that one). Everything else is the same as above. The host serves the RuFlo build of the phone screens, which the Orca app accepts because both speak the same runtime protocol (3). If a newer Orca app refuses it, pass --bundle with the mobile-web folder of an Orca desktop install of the matching version.

Either app: paste instead of scanning

Under the QR codes is a pasteable code. Both apps accept it on their pairing screen.

A pairing code is a password for your computer. It expires 10 minutes after it is shown if nobody uses it. Do not paste it into chats, issues or screenshots.

Commands

Command What it does
daemon start [options] Starts the host in the background. Its log is daemon.log in the state directory.
daemon status [--json] Shows whether the host is running, its address, whether full access is allowed, and what is shared.
daemon stop Stops the host and closes every terminal a phone opened.
pair [--full] [--app ruflo\|orca\|both] [--name <phone>] [--show terminal\|window\|file] Pairs one phone with the running host. In a terminal the QR code prints there. Otherwise it opens as a local page in your browser (window) or is only written (file), and nothing is printed.
devices [--json] Lists paired phones, their access, and when they were last seen.
revoke <deviceId> Unpairs a phone. Within 2 seconds it is disconnected and the terminals it started are closed.
start [options] Foreground host with a prompt (pair, devices, revoke, quit).
interfaces Lists the private addresses you can bind.

Options:

  • --full: allow full-access phones.
  • --project <dir>: share a whole repository, every worktree included.
  • --workspace <dir>: share one checkout.
  • --bind <ip>: the address to listen on. The default is your Tailscale address, else your LAN address.
  • --port <n>: the port. The default is 8792.
  • --bundle <dir>: the phone screens to serve.
  • --state <dir>: the state directory. The default is ~/.local/state/ruflo/phone-host.

--project and --workspace can be repeated and mixed. With neither, the current directory's repository is shared.

From an agent (MCP)

ruflo exposes these MCP tools:

  • phone_status
  • phone_setup
  • phone_daemon, with action start, stop or status
  • phone_pair
  • phone_devices
  • phone_revoke

An agent can start the host and pair a phone, including a full-access phone when the host was started with --full.

phone_pair never returns the pairing code, link or QR text. It opens the QR code as a page on this computer's screen, or writes it to a file there (mode 0600). It returns only the device id, access level, expiry and where the code was shown. The page is deleted when the pairing expires, when the device is revoked, or when the host stops.

What a phone can do

A read-only phone changes nothing on your computer. It can call:

  • status.get;
  • repo.list, worktree.ps and worktree.show, which list only what you chose to share;
  • github.repoSlug, which reads the origin remote;
  • worktree.activate, ui.get, mobileRelay.projectSections, runtime.clientCapabilities.update and runtime.clientEvents.*. These are the reads the workspace screen makes when it opens.
  • the mobileWeb.bundle.* reads that load the app's screens.

Every other method answers method_not_found.

Full access (--full)

A full-access phone can open terminal tabs and agent tabs in a shared workspace. Agent tabs run Claude, Codex, Copilot, Gemini and other installed agent command-line tools. Each tab is a real terminal on this computer, started in that workspace, running as you.

  • Access is per phone and needs both sides. The phone must be paired with --full, and the host must be running with --full. A host without --full never serves these methods.
  • A workspace is a starting directory, not a sandbox. Once a shell is open, the phone can run anything you can.
  • Agents come from a fixed table. The phone sends an agent id, and the command line is looked up here, never taken from the phone. The new-tab menu lists only agents found on PATH.
  • Every terminal is logged when it starts and ends: at the prompt for start, or in daemon.log. Revoking a phone closes its terminals.
  • Terminals need @lydell/node-pty, an optional dependency (prebuilt, about 100 KB). Without it, --full stops with a clear error, and the read-only host still works.

Host screens

The app draws its host screens from a web bundle that the host serves. This package ships the RuFlo build in bundle/: about 15 MB unpacked, built from cognitum-one/ruflo-ui phone/mobile-lanes-merged-20261130 (ef1e43563, Orca 98e7dbec). It is used by default.

Every asset is checked against the manifest's SHA-256 before it is sent.

Security

  • Network: the host listens on one private IPv4 address assigned to this computer: 10/8, 172.16/12, 192.168/16, 100.64/10 (Tailscale) or 127/8. It never listens on a wildcard or a public address. It accepts only a WebSocket upgrade to GET /mobile.
  • Encryption: it uses Orca's mobile E2EE v2 (X25519, HKDF-SHA256, XSalsa20-Poly1305 with per-direction counters).
    • The phone pins the host key from the pairing code.
    • The host refuses a legacy or relay hello.
    • It closes a connection that hasn't authenticated after 10 s, and after 5 frames that fail to decrypt.
  • Credentials:
    • Each phone gets its own random token. Only its SHA-256 is stored, compared in constant time.
    • An unused pairing expires after 10 minutes.
    • The code is printed only to an interactive terminal. Otherwise it goes to a 0600 page on this computer, never to a program's output.
  • Agents: any agent with ruflo's MCP tools can pair a phone. That includes a full-access phone when the host runs with --full. Run the host with --full only while you want that. Check ruflo phone devices and revoke phones you don't recognise.
  • State: the host key, device list, daemon record and log are kept in the state directory (0700, files 0600).

Test

npm test

The tests drive the host with Orca's own phone-side E2EE v2 client (test/fixtures/orca-e2ee-v2.mjs), with real terminals and a real background daemon. They prove the protocol, not the phone's screens.

Ported code: see NOTICE (Orca, MIT).

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 @claude-flow/phone-host

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

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229