Scan your whole stack
From OX Research Newsroom
Are you using @parcha/agentrun?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.24
@parcha/agentrun was last scanned on 24 Nov 2026 at version 0.4.24. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.4.24 LATEST | 24 Nov 2026 | No rules fired |
| 0.4.23 | 23 Nov 2026 | No rules fired |
| 0.4.22 | 23 Nov 2026 | No rules fired |
| 0.4.21 | 22 Nov 2026 | Not shown |
| 0.4.20 | 22 Nov 2026 | Not shown |
Findings for v0.4.24. 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.4.24; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
AgentRun is an open-source platform that supercharges your agents. It adds self-improvement, durable execution and a control plane on top of your favorite agent harness. Your agents become smarter, more fault tolerant and use fewer tokens with every run. Start it on your machine with one command:
npx @parcha/agentrun
It starts AgentRun Server on the first free port from
7340 on this machine's loopback, keeps its data in ~/.agentrun, prints the address the server says to open and opens
it in your browser (--no-open, a CI run or a machine with no display skips that). The server,
@parcha/agentrun-serve, is this package's one dependency, at its exact version, so npx installs the two together and
each version of this command runs the server it was released with. Node.js 24.22.3 or newer, on macOS or Linux; an older
Node gets one line naming that floor and the installer's command.
No Node.js on the machine, or an older one? The installer brings its own and keeps AgentRun running after the terminal closes:
curl -fsSL https://agentrun.ai/install | sh
It downloads a Node.js from nodejs.org: the newest release on the major line of the version this AgentRun needs, so
later security releases come with the next install. It checks the download against that release's SHASUMS256.txt
and installs it and AgentRun under ~/.agentrun (node/, lib/, bin/agentrun). Any other Node, nvm or Homebrew is
left alone, and nothing needs sudo. When no line in your shell's startup file puts ~/.agentrun/bin on PATH, it adds
one and says so. Then it starts AgentRun as a service of your user, a LaunchAgent on macOS or a systemd user unit on
Linux, which starts again at login and after a crash and logs to ~/.agentrun/logs/agentrun.log. Where there is no
service manager (a container, say), it starts AgentRun in the background, logging to the same file. It runs until the
machine or container stops, and agentrun stop stops it (a SIGTERM, then a SIGKILL to the launcher and its server
after 45 seconds). Either way the installer returns once AgentRun answers, and prints its address. sh -s -- --no-start
installs only, --version V installs another version, --node-version V installs that Node.js (at least the floor),
and --service fails where there is no service manager. Running it again upgrades, or installs an older version, and
first stops the AgentRun it started in the background itself, whatever version that is. An older version does not start on
a store a later one has upgraded: its server says so and exits, and the store is left as it was. Until the owner's
password is set, it ends by opening the setup page in this machine's browser with the setup code filled in, or, where no browser
opens (a remote machine), by printing that link.
agentrun open does the same at any time: the setup page with a code that is still good (it asks the server for a new
one when the last has run out) until the password is set, the console after. It reads the code from the service's log,
~/.agentrun/logs/agentrun.log.
agentrun service status prints the console's address and its health. start, stop, restart, logs [--follow],
upgrade [--version V] (the installer again, then a restart) and uninstall (the data stays) do what they say, and
agentrun service install [--port N] [--data DIR] [--public-url URL] installs the service after a --no-start. The
Ollama on this machine needs nothing here: the server lists its models itself. For an Ollama off its default address,
agentrun service install --env OLLAMA_HOST=<host:port> writes it into the service and restarts it. For a local model
behind a gateway, agentrun service install --env AGENT_MODEL_BASE_URL=<its /v1 address> --env AGENT_MODEL_GATEWAY_IDS=bare --env AGENT_MODEL=<tag> --env AGENT_MODEL_PRICE=0,0,0 --env AGENT_MODEL_API_KEY=none does the same (none alone:
without a key the server refuses each run, model_key_required). They stay through restarts, upgrades and later installs, and --env KEY= removes one. On a machine
you alone use, --env AGENTRUN_MCP_ALLOW_LOOPBACK=1 --env AGENTRUN_WEBHOOK_PRIVATE_TARGETS=1 turns on the two start-time
switches the same way (a switch takes 1 alone). --env takes the names agentrun service install --help lists, and
no others: model keys go in the console, never in a service file. The service never sees the shell that installed it, so
AGENTRUN_TELEMETRY or DO_NOT_TRACK set there is written into it, and under CI it gets AGENTRUN_TELEMETRY=0
(anonymous usage counts). On Linux, a user's
services stop at logout unless lingering is on: install and status print the one sudo loginctl enable-linger line
when it is off. To remove AgentRun, run agentrun service uninstall, then delete ~/.agentrun/bin, ~/.agentrun/lib,
~/.agentrun/node and the PATH line; the rest of ~/.agentrun is your data.
When something doesn't work, agentrun doctor (or npx @parcha/agentrun doctor) checks the whole setup in one go and
prints, for each problem, what to change and where it is documented: the Node.js it runs on, whether a server answers
for the data directory (--data, default ~/.agentrun) and its version, the service (installed, running, lingering on
Linux), whether a browser elsewhere can open the server's address from this session (an SSH tunnel, tailscale serve
on your tailnet, --public-url or --allow-host), whether the console's password is set (when it is not, the fix
is agentrun open), whether a model and which harnesses are ready, the server's start-time switches, and Docker for the
boxes. It only reads: it changes no file, starts and stops nothing, and makes only GET requests. It reads the server
record DIR/.server.json as every command does: one that is not a private file of yours, or whose address is not a plain
http or https URL, is refused, and one whose process has exited is stale; nothing is sent to the address either names. It reads capabilities with the server's own token in
DIR/.token, and prints no token, key or setup code. --json prints the checks for an agent ({exit, server, checks: [{id, status, summary, fix, docs}]}, each status ok, warn, fail, info or skip). Exit 0 when nothing
failed (warnings allowed), 1 when a check failed, 3 when no server answers.
On a machine you keep on (a Mac mini, a home server, a VPS), --tailscale also puts AgentRun on your own
Tailscale network, at https://<machine>.<your tailnet's DNS name>/, which only your devices
on that network open:
curl -fsSL https://agentrun.ai/install | sh -s -- --tailscale
It runs tailscale serve --bg --https=443 to AgentRun's port, 7340, where AgentRun keeps listening on loopback only,
and prints the address from tailscale status --json. The server is told that address (AGENTRUN_PUBLIC_URL), so its
first visit asks for the setup code in ~/.agentrun/logs/agentrun.log. It never uses Funnel, which would put the
address on the public internet: where Funnel is already on for that address, or the address serves something else, it
changes nothing and says so. It never installs Tailscale, logs in or runs sudo. With Tailscale missing or logged out,
it starts AgentRun on this machine and prints the steps and the command to run again. On Linux, where only root or
Tailscale's operator may change what it serves, it prints the one sudo tailscale set --operator=$USER line.
agentrun service install --tailscale does the same for an installed service, --no-tailscale takes it off, and
agentrun service uninstall removes the serve entry it added and no other. Tailscale's Personal plan is free: up to 6
users, unlimited user devices (pricing). The https address needs MagicDNS and HTTPS
certificates turned on in your tailnet's DNS settings.
Behind a proxy of your own instead (your own tailscale serve, a reverse proxy with HTTPS), pass the address people
open with --public-url, and keep the port the proxy points at fixed:
npx @parcha/agentrun --port 7340 --public-url https://box.tailnet.example/
agentrun service install --port 7340 --public-url https://box.tailnet.example/
The server takes it as its public address, as it takes AGENTRUN_PUBLIC_URL: its links name it, a browser that sends
that name as Host is let in on loopback (any other gets "unexpected Host header"), and its first visit asks for the
setup code. On loopback (no --listen, or a loopback one) it also sets AGENTRUN_TRUSTED_PROXIES=loopback, as
--tailscale does, so sign-in limits count each visitor by the address the proxy names rather than everyone as one;
an AGENTRUN_TRUSTED_PROXIES you set stays as it is (an empty one trusts no proxy), and with --listen on another address nothing is trusted. The
service keeps the flag on its command line, so every restart has both, and so does a later agentrun service install --env or --no-tailscale (--tailscale replaces it with the tailnet address). A later --public-url changes the address
alone: the data folder and port stay. It must be an https:// address, or
http:// on this machine (localhost, 127.0.0.1), with no path beyond / and no user name or password; anything else
is refused with exit 2 before the server starts. AGENTRUN_PUBLIC_URL still works; given with --public-url, the two
must name the same address. --public-url and --tailscale don't go together: --tailscale names its own.
Started on loopback with no public address, where tailscale is on PATH and signed in, the command reads
tailscale status --json (at most 2 seconds, and it changes nothing) and says once, on stderr, the address your tailnet
could open it at and the two steps to it: tailscale serve --bg <port>, which keeps it on your tailnet, then a restart
with --port <port> --public-url https://<machine>.<tailnet>/. It never runs either, never suggests Funnel, says
nothing when Tailscale is missing, signed out or slow, and says nothing in CI.
On a Linux server you rent (Ubuntu or Debian, as root), --vps sets up AgentRun in Docker Compose instead, with a
shell for its agents in Docker sandboxes, on your tailnet when Tailscale is logged in and on the server's loopback
otherwise:
curl -fsSL https://agentrun.ai/install | sh -s -- --vps
Deploying AgentRun
says what it installs and writes, and what --public exposes.
The server binds its port first and says so; this command then names the address on stderr at once, and prints its line
on stdout once the server is ready, which on a cold, slow disk can take minutes. A start that fails says why on stderr:
the step that failed, how the server ended (its exit code or signal, or still running after 60 seconds without printing
any address, and stopped; AGENTRUN_START_TIMEOUT_MS sets that wait, in milliseconds), its last lines on stderr and stdout, and
~/.agentrun/start.log (in the folder --data names), which holds everything the server wrote in that start. Each start
overwrites that log; it is private to you, as the server's first lines name its API token. A log the disk could not hold
all of is named with the error that cut it short.
Where Docker answers on this machine, a new agent runs in a Docker box of its own with a shell, and a line on stderr,
after the address, says so: Boxes: docker (on by default; set AGENTRUN_BOXES to change). Where it does not, that line says why
and that new agents run on the runner. A Docker box's image is built on its first run, which shows that on its
timeline. AGENTRUN_BOXES=none turns boxes off.
pi runs every agent out of the box. The Claude Code and Codex harnesses need their own packages beside the server; when
one is missing, AgentRun says so with the one command to paste: npx with this package, the server and that harness's
package at their versions, with --data naming the same store.
It needs no model key to start. In the console, set a password, then Continue with ChatGPT (Settings → Model keys, or the first screen), then run your first agent: Codex and pi agents run on your ChatGPT plan, and the sign-in finishes by itself on this computer. Claude Code, OpenCode, Jev decisions and paid tools need their own keys. Eligible usage in this app uses your ChatGPT plan. Manage usage in your ChatGPT settings. The sign-in is yours: don't let other people run agents on this server with it.
Or add a model key. With no AGENT_MODEL, the server runs a current model of the first provider it has a key for,
Anthropic, then OpenAI, then Particle (pi only), then OpenRouter: ANTHROPIC_API_KEY, OPENAI_API_KEY,
PARTICLE_API_KEY or OPENROUTER_API_KEY in your environment, or a key saved in the console's Settings → Model
keys, which counts from the save on. Signed in with ChatGPT, pi and Codex run on the plan's model by default, key or
not, unless AGENT_MODEL names another. Other commands are the server's:
npx @parcha/agentrun import brings in your local Claude Code, Codex and pi sessions, and
npx @parcha/agentrun reset-password clears the console's password. --data DIR and --port N change where it keeps
its data and the port it takes.
Every other command is the server's API, from a second terminal: npx @parcha/agentrun agents list,
agents create --body @agent.json, runs start AGENT_ID --max-cost-usd 2 --body '{"input":{"content":"..."}}',
runs get RUN_ID, runs message RUN_ID --content "...", and one command for each route the server serves
(npx @parcha/agentrun help lists them; api METHOD PATH calls any route). It finds the server started with the same
--data on its own: the server writes its address and where its token is to DIR/.server.json once it listens. For
another server, set AGENTRUN_BASE_URL and AGENTRUN_API_KEY, or sign in once with agentrun login --to URL
(--to cloud for AgentRun cloud): when the server offers a device sign-in, it prints an address and a code to approve
there, then keeps the token in $XDG_CONFIG_HOME/agentrun/config.json (0600); else it reads the token from stdin, as
agentrun login --base-url URL < FILE does. agentrun login --base-url URL typed on a terminal takes the device
sign-in too, when the server offers one. The response's JSON goes to stdout and an error's to
stderr; the exit code is 0 when it worked, 1 when the server refused, 2 for bad usage, 3 when the server cannot be
reached, 4 for a missing or refused token and 5 when the server does not offer the command here (a 501,
unsupported_here, its error saying why). The token is never a flag and never printed. A list command (agents list,
runs list and every other that takes --cursor) prints one page; --all follows next_cursor and prints every page
as one list.
Any other word runs agentrun-NAME from an absolute folder of your PATH, as git does, when it comes first:
agentrun NAME [args] passes the rest as given, with no shell, on this terminal, and exits with its code. A tool adds a
command to the CLI by installing agentrun-NAME. The server's and the CLI's own commands come first; NAME is letters,
digits, - and _. A signal sent to agentrun reaches the command, and agentrun exits when it does. On Windows it looks for agentrun-NAME with .com, .exe,
.bat or .cmd, in that order; a batch file (.bat, .cmd) is refused, since Node runs one only through cmd.exe,
which would read the arguments again.
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.