Scan your whole stack
From OX Research Newsroom
Are you using nexor-runner?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.6.0
nexor-runner was last scanned on 27 Nov 2026 at version 0.6.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.6.0 LATEST | 27 Nov 2026 | No rules fired |
| 0.5.1 | 24 Nov 2026 | No rules fired |
| 0.5.0 | 21 Nov 2026 | No rules fired |
| 0.4.1 | 29 Oct 2026 | Not shown |
| 0.4.0 | 29 Oct 2026 | Not shown |
Findings for v0.6.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.6.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Hosts and runs AI coding agents (Claude Code, OpenCode) in tmux sessions on one Linux machine. It owns a dedicated tmux server, keeps a state file so sessions can be restored after a restart, starts every agent with a minimal environment, and exposes a small local HTTP API.
Python 3.11+, no runtime dependencies.
From PyPI, no repository access needed:
pipx install nexor-runner # or: pip install --user nexor-runner
nexor-runner --version
Install it, do not pipx run it: the systemd units point at the interpreter that runs
install-service, and pipx run uses a temporary environment that is garbage-collected, which
would leave the units pointing at a path that no longer exists.
Known limits: units are written under $XDG_CONFIG_HOME (or ~/.config), where systemd
looks only if that is its user config directory; --no-agora does not remove an agora unit
installed earlier (uninstall-service does).
Requirements: tmux (3.x; 3.2+ for the browser terminal), the agent CLIs you want to run (claude, codex, opencode), and
systemd --user for the units (loginctl enable-linger $USER keeps them alive after logout).
nexor-runner and runner are the same command; python -m nexor_runner works too.
The owner first creates the runner in the hub (Settings -> Runners: a name and a one-time nxr_
token). The token is not the Agora connector's delegation token (nxad_): the hub refuses that
one on every runner endpoint. Save it in a file with mode 0600, then:
nexor-runner install-service --hub https://hub.example.com --token-file ~/runner-token
# or: printf '%s' "$TOKEN" | nexor-runner install-service --hub https://hub.example.com --token-stdin
# or: NEXOR_RUNNER_HUB_TOKEN=... NEXOR_RUNNER_HUB=https://hub.example.com nexor-runner install-service
nexor-runner doctor
install-service writes the three systemd --user units (nexor-runner-tmux, nexor-runner-api,
nexor-runner-agora) pointing at the interpreter the package is installed in, creates the config
directory (0700) and the API token (0600), links the runner to the hub (validating the token), and
enables and starts everything. The hub token is copied to ~/.config/nexor-runner/hub-token
(0600) when it comes from stdin or the environment; it is never printed, logged, put on a command
line or in a unit. Without --hub the agora unit is skipped (add it later by re-running with
--hub); other flags: --no-agora, --no-api (both remembered in service.json, so an update
keeps those units out; --agora / --api or an explicit --hub bring them back), --port, --extra-path, --cards-dir,
--host, --host-id, --no-auto-update, --no-cards-sync, --dry-run (print the units, change nothing). The directories of
the claude, codex and opencode binaries your login shell finds (nvm included) are added to
the units. It also writes and enables nexor-runner-update.timer (see Automatic updates below).
One machine, several people. Each user has their own runner and their own API on 127.0.0.1,
so the API port cannot be the same for everybody. A new install without --port takes a port
derived from the user id in 7800-7999 (uid 1000 gets 7800, uid 1003 7803, ...) and, when that one is
taken, the first free port after it; it prints which one it picked and keeps it in service.json.
An existing install never changes its port on its own (an update re-runs install-service with no
flags); to move it, nexor-runner install-service --port <free port>. doctor checks that the
process answering GET /health on the port is this user's runner (it asks GET /whoami with
the user's own API token, and sends the token only to a process it knows is this user's: another owner fails, an owner
it cannot determine is a warning) and, if it
is not, fails with the install-service --port <free port> to run.
The runner name (nexor-runner link, the Runners page of the hub) follows the team convention
<host>-<initials>, for example srv-gc and srv-ec on the host srv: the first part is the
runner's host id (see Handles). install-service --host-id <id> saves it explicitly.
Automatic updates. A runner installed with install-service updates itself: a
systemd --user timer (nexor-runner-update.timer) runs nexor-runner self-update about ten
minutes after boot and then daily, with a random delay of up to 30 minutes so two runners do not
update at the same moment (Persistent=true: a run missed while the machine was off happens at
the next start). Nothing to do, nothing to remember.
nexor-runner self-update --check # is there a newer release? (changes nothing)
nexor-runner self-update --dry-run # what an update would do
nexor-runner self-update # update now (what the timer runs); --json for scripts
nexor-runner install-service --no-auto-update # opt out: removes the timer, remembered
nexor-runner install-service --auto-update # opt back in
Cards clone. If your agent cards live in a git repository cloned on this machine and used
as the cards directory (cards-dir in config.json, else ~/.config/nexor-runner/cards),
self-update keeps that clone fresh too: after the package step, also when the package is
already up to date and also when that step failed, it runs git pull --ff-only there, with
GIT_TERMINAL_PROMPT=0 (and ssh in batch mode, unless you set GIT_SSH_COMMAND) and a 60 second
limit, so a credential question can never hang a run. It does nothing, silently, when there is no
such directory, it is not inside a git work tree or its branch has no upstream. It never merges,
rebases or forces: a clone with uncommitted changes to tracked files is skipped (one log line),
a diverged clone fails the fast-forward and stays as it is (untracked files, such as a card you
are drafting, do not stop it; git itself refuses to overwrite one). A cards failure, with or
without network, never fails the update and never triggers the rollback. Each run adds one line,
cards-synced, cards-current, cards-skipped or cards-failed, to update.log. Turn it off
with nexor-runner self-update --no-cards-sync, with nexor-runner install-service --no-cards-sync (remembered in service.json, so the timer honours it; --cards-sync turns it
back on) or with NEXOR_RUNNER_CARDS_SYNC=0. --check never touches the cards and --dry-run
only looks (would: git -C <dir> pull --ff-only).
What an update does: takes a lock for the whole run (two runs never overlap), reads the newest
release from PyPI (pre-releases and yanked ones are ignored; stdlib only, no new dependency); if it
is newer than the installed one, pip install --upgrade nexor-runner==<latest> with the interpreter the
runner runs in (a venv and pipx alike), runs install-service with no flags (the link, port and
extra path are kept; it restarts the API and agora units) and then doctor, both from the new
code. The version is read again once the lock is held (a run that waited never repeats or undoes
another run's update), and a doctor taken before the update is the baseline: if it gives no
usable answer the update is postponed. A check that passed before the update and fails after it (the API gets about 30 seconds to
come back) puts the previous version back and exits 1. A pip failure, for instance PyPI listing a
release whose files are not served yet, changes nothing and exits 1; the timer tries again the
next day. Because a pip that is killed halfway (its 10 minute limit) may have written part of the
package, the installed version is checked after every pip failure and the previous one is put
back whenever it is not what was installed before (if even that fails, the JSON says what is
installed, or unknown). A lock that cannot be taken (for example a
filesystem without flock) is a failure, not a skipped run. It never restarts or stops nexor-runner-tmux and never touches the tmux server: the
sessions go on. An install that is not from PyPI (a clone with pip install -e, a local path, a
URL) or a development version is left alone. One line per run goes to
~/.local/state/nexor-runner/update.log (kept to the last 100 lines past 64 KiB), and doctor
warns when the timer is absent or the last run failed (the cards line does not count as that). The hub sees the new version at its next
heartbeat: nothing about the hub protocol changes. To set the timer's schedule by hand, edit
~/.config/systemd/user/nexor-runner-update.timer; the next install-service run puts the
default back. NEXOR_RUNNER_PYPI_URL points the version lookup at another JSON index (https, or
http on loopback); it never changes where pip downloads from.
Upgrading by hand (also when auto-update is off): pipx upgrade nexor-runner && nexor-runner install-service (no flags: the link, the port and the extra path you installed with are kept in
~/.config/nexor-runner/service.json; an explicit --port / --extra-path overrides and
becomes the new value; an install that never wrote service.json keeps the --port of its API unit). Or just nexor-runner self-update, which does this with the checks and
the rollback.
It is idempotent and restarts the API and agora units, which are stateless. It never
restarts or stops nexor-runner-tmux: that unit hosts your running sessions. If its unit file
changed, the new one applies the next time you restart it yourself, between sessions.
nexor-runner doctor [--json] checks tmux, the agent CLIs, linger, the three units, the update
timer, the last update run, GET /health (and that it is this user's runner that answers), the
host id (a warning with nexor-runner config set host-id <id> when it is unset or not one of the
registry's hosts) and the hub link (exit 1 when something fails, a missing individual agent CLI or
update timer is only a warning).
nexor-runner uninstall-service removes the API and agora units (and the update timer) and leaves
tmux running;
--include-tmux removes that one too (ending every session). By default config, tokens and the
hub link are kept. --unlink also forgets the hub link (agora.json; the token file you
provided is never touched). --purge-config also deletes config.json, the API token, the
copied hub-token and agora.json (it implies --unlink), then the config directory if it is
empty; the cards directory and the session state are never touched, and tmux.conf goes only
together with --include-tmux.
Plain-http hub (trusted network only). The hub URL must be https:// (http only for
loopback). If your hub is plain http on a trusted network such as the VPN, opt in explicitly:
--allow-insecure-hub on link and install-service, or NEXOR_RUNNER_ALLOW_INSECURE_HUB=1.
Each use prints WARNING: plain http: token and traffic are not encrypted; use only on a trusted network such as the VPN (on stderr; the token is never printed). The choice is stored as
"insecure": true in agora.json, so the agora unit and doctor keep working and later
install-service runs need no flag. runner link is safe to re-run: it validates the token and
rewrites agora.json with the same content, touching nothing else.
macOS and Windows: there is no service installer (systemd is Linux only) and
install-service exits 3 after printing this. Run the pieces in the foreground, each in its own
terminal: nexor-runner serve --init-token, nexor-runner link --hub https://<hub> --token-file <file>, nexor-runner agora. tmux is required, so on Windows the runner does not work.
git clone https://github.com/nexorhq/nexor-runner.git ~/dev/nexor-runner
cd ~/dev/nexor-runner
python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"
The three sections below are what install-service does, one unit at a time (useful to tune a
unit by hand).
runner systemd install --dry-run # print the unit and tmux.conf
runner systemd install # write them
systemctl --user daemon-reload
systemctl --user enable --now nexor-runner-tmux.service
The unit runs tmux -L nexor-runner -f <conf> -D with an explicit minimal environment. Sessions
live in this server (socket nexor-runner), separate from your default tmux server.
runner serve --init-token # creates ~/.config/nexor-runner/token (0600); stop it with Ctrl-C
runner systemd install --api --extra-path "$HOME/.nvm/versions/node/<version>/bin" --dry-run
runner systemd install --api --extra-path "$HOME/.nvm/versions/node/<version>/bin"
systemctl --user daemon-reload
systemctl --user enable --now nexor-runner-api.service
curl http://127.0.0.1:7800/health
--init-token creates the token file if it does not exist (random, mode 0600). The API unit
requires the tmux unit. Options: --port (default 7800; on a machine several people share use
install-service, which picks a port per user), --token-file, --runner-bin, --tmux-bin.
Connect the runner to an agora hub: the hub records intents (launch, kill, restore, remote-control, stop-scope), the runner connects outbound (no inbound port), reports its sessions and cards, executes the intents and reports the result. The hub never executes anything.
runner link --hub https://hub.example.com --token-file ~/.config/nexor-runner/hub-token
runner systemd install --agora --dry-run
runner systemd install --agora
systemctl --user daemon-reload
systemctl --user enable --now nexor-runner-agora.service
The owner creates the runner (name plus a one-time nxr_ token) in the hub's Settings -> Runners
and saves the token in a file with mode 0600. runner link validates it with GET /self and
writes ~/.config/nexor-runner/agora.json (0600: hub URL, token-file path, runner name); the
token is never on the command line and never logged. The hub URL must be https (http only for
loopback). runner unlink removes the link. The unit requires the tmux unit; runner agora runs
the same loop in the foreground.
The loop: heartbeat every ~30 s; the full snapshot (sessions and cards) on start and whenever it
changes, at most every 10 s; long-poll for intents, claim (a 409 is skipped), execute through the
same code as the local API, report done or failed with a short message (the dead-pane tail on a
failed start). Hub errors back off from 1 s to 60 s and never stop the loop.
Next to the intent loop, runner agora keeps ONE more outbound connection to the hub: a
WebSocket (wss://<hub>/api/v1/runner-hosts/<name>/channel, same nxr_ bearer token, sent in the
upgrade request). The hub cannot reach this machine (it may run in a container, or the runner on
a laptop), so the browser's streams are multiplexed over this connection. The runner still opens
no port. It reconnects with a 1 s to 60 s backoff and never stops the intent loop; an older hub
without the endpoint answers 404 and the runner retries every two minutes. NEXOR_RUNNER_CHANNEL=0
turns the channel off.
Two kinds of stream, each opened by the hub for one browser pane:
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.