Scan your whole stack
From OX Research Newsroom
Are you using @doublepi123/cox?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.47
@doublepi123/cox was last scanned on 27 Nov 2026 at version 0.2.47. Risk score 0 of 100. High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.2.47 LATEST | 27 Nov 2026 | 2 rules fired |
| 0.2.46 | 26 Nov 2026 | Not shown |
| 0.2.45 | 26 Nov 2026 | 2 rules fired |
| 0.2.44 | 26 Nov 2026 | Not shown |
| 0.2.43 | 26 Nov 2026 | Not shown |
Findings for v0.2.47. 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.
Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.
HIGHThe score describes 0.2.47; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
English | 简体中文
Cox is a Web interface and desktop client for coding agents, derived from T3 Code, starting at 0102f07afb in the doublepi123/t3code fork.
Run the server on your computer and control your locally installed coding agents from a browser. Your projects, conversation history, credentials and checkpoints stay in your local Cox data directory.
The product homepage is doublepi.dev, with the
CoCode page (Android, experimental iOS) under the same GitHub Pages site.
The bilingual website source lives in site/, with a responsive
feature showcase, an illustrative workspace, and copyable installation commands.
It is separate from the local Cox application and does not host agents or user data.
Run pnpm pages:test and pnpm pages:build to validate and build it. See the
website deployment guide for account-homepage and optional project Pages deployment.
The optional Cox Desktop client embeds the existing Web UI,
a standalone Node runtime and a loopback-only backend. It can also connect directly to a
user-operated Cox server over HTTPS with password authentication. Desktop builds launch by
double-clicking and use ~/.cox/desktop, separately from CLI data. Build installers
on the target operating system with pnpm desktop:build; signing and native-platform
acceptance are required before public distribution. Agent installation and authentication
remain separate. The browser/CLI workflow below is unchanged.
The public npm package is @doublepi123/cox.
Use Node.js 26.12.1 (the version tested in CI) and npm. A source checkout and pnpm are
not required: the package includes the built browser UI and local server.
npm install --global @doublepi123/cox@latest
cox
Alternatively, run the latest package without a global installation:
npx @doublepi123/cox@latest
Production data defaults to ~/.cox. Keep that directory private: it holds local state,
including conversation history and credentials. Cox does not migrate data from ~/.t3.
cox --help
cox --version
cox --no-browser
cox --host 127.0.0.1 --port 3773
cox --home-dir "$HOME/.cox-test" --port 3774
Use the URL printed by the server rather than assuming a fixed port. --no-browser only
disables automatic browser opening; local authentication still applies. --home-dir
selects a separate data directory, useful for an isolated test installation.
Wait for active agent turns to finish, then stop Cox (Ctrl+C when running in a terminal).
Update the package and start it again:
npm install --global @doublepi123/cox@latest
cox --version
cox
Use the same data directory and startup flags to retain your existing workspace. Back up your Cox data directory while the server is stopped before upgrading. If you manage Cox with a service manager, update that service's actual installation and restart it through the service manager instead of starting a second server.
Allow npm install scripts so Cox can apply its runtime dependency patches. Native
dependencies may need a local C/C++ build toolchain when prebuilt binaries are unavailable.
If cox is not found after a global install, check that npm's global executable directory
is on your PATH, or use the npx command above.
Settings → About can check the latest official release for an npm installation. For a process started in a terminal, the page shows the manual upgrade command when an update is available.
Browser updates are available when Cox runs directly as the main process of the Linux systemd
user service cox.service. For a different unit name, set
Environment=COX_LOCAL_SERVICE_UPDATE_UNIT=my-cox.service in that unit and restart it. Set
COX_UPDATES_MANAGED_BY to a non-empty host name (for example, CoCode) when the host manages
upgrades; Cox then disables its own update checks. Cox verifies
that it is the named unit's main process before enabling updates. Use a direct ExecStart such as
/absolute/path/to/cox --no-browser; a wrapper that stays running as the main process will only
be able to check for updates.
The page can then download and verify the official npm artifact, back up the database and settings,
and ask for confirmation before restarting. Cox stages the new package in its data directory and
updates the unit through 90-cox-update.conf, retaining its working directory, environment, and
Cox arguments. A transient user service checks that the new server is healthy and restores the
previous startup command if it fails. When managing the npm installation manually again, remove
that Cox-created override so the unit starts from its original command. Finish active agent turns
before restarting. When a release changes the database schema, Cox always backs up the database,
stops the service to take a final consistent snapshot before the new version migrates it, and
restores that snapshot if the new version does not become healthy. Releases that would downgrade
the database schema still require the manual stopped-server backup and upgrade procedure above.
@cox/mobile) for iOS 17+ and Android 8+ Lite, and standalone local/remote CoCode for Android (io.cocode.app).Local-by-default does not mean offline inference. Agent providers still use their configured model services, and Git integrations can contact your configured repository hosts. Provider authentication and local credential storage are retained.
Threads in the same checkout share its branch. Cox refuses a branch switch there while one of the threads is working. Use a new worktree when a task needs a separate branch and working directory.
Cox supports Simplified Chinese and English. The initial interface follows supported device/browser language preferences; Chinese preferences use Chinese, with English as the fallback for other languages. Language selection affects Cox's interface, not project files, agent replies, terminal output or user-authored content.
Use Settings → General → Language to choose English, 简体中文 or the device default. The selection is saved in the browser and updates the interface without discarding drafts. Settings, including advanced controls and schema-driven provider fields, follow the selection. External provider errors, raw diagnostic output and provider-supplied model descriptions keep their original text; see the localization notes for coverage and contribution guidance.
Working threads appear above pinned and active threads. The Working section starts expanded; an explicit expand/collapse choice is remembered in the browser. Messages sent during an active turn queue by default. Use the menu beside Send to choose Steer now when immediate guidance is needed. An existing explicit follow-up preference is preserved; steering is unavailable while the agent cannot accept it. Move queued messages up or down to change the order in which they are sent. A dot beside a thread title marks a completed result you have not viewed yet.
Move to project keeps the original thread ID and chat history while changing project ownership
and the workspace for future turns. Agents can use cox_thread_move with a target projectId;
omit threadId to move the current conversation. Moving the calling agent restarts it in the
target project's root with context preserved. Use continuationPrompt for follow-up work,
clientRequestId for safe retries, and expectedProjectId to reject a stale move. Other threads
must be idle. Code, uncommitted changes and existing worktrees stay in their original locations.
Agent MCP connections use the cox server name. Cox-specific tools use the cox_ prefix
(for example, cox_thread_read, cox_project_create, and cox_worktree_handoff). Existing
chat records with legacy tool names remain readable; refresh the MCP tool list after upgrading.
Styled inline Markdown markers in the composer are editable: move into formatted text to edit its delimiters, then move outside to restore the formatted view. PR description task checkboxes save when the connected account and local connection both permit editing.
Enable Settings → Labs → Legacy → Context window indicator (legacy) to show context usage in the composer once the provider reports it. The indicator is off by default.
Use Settings → Scheduled tasks to run a prompt at an interval, at a fixed local time, once
at a specified time, or on a webhook. Agents can create or update a task with schedule_task,
list tasks with list_scheduled_tasks, and remove one with delete_scheduled_task. Pass a
scheduledTaskId to update an existing task, or set enabled: false to pause it. Webhook
URLs are loopback only.
In Settings → Threads → New projects, enable Clone into host folders to default new
clones to <base directory>/<host>/<owner>/<repository>, like ghq. It is off by default and
does not move existing checkouts. Unsafe or local URLs keep the ordinary repository-folder
fallback. Supported Claude Code versions can render MCP Apps from connected tools using
the current session; older CLIs keep ordinary tool output, and app calls respect permissions.
26.12.1 (tested); npm for the published package, or pnpm 12.14.0 for source development and GitHub Release archives.In Usage → Limits, Cox shows remaining percentages and reset times when the connected provider reports them. Missing quota data is not treated as an unused allowance. ChatGPT plan sharing currently has no remaining-quota reader in Cox. Cursor SDK/API credentials alone also do not provide the dashboard token used by Cox's quota reader; Cox will not substitute another account's local login. These connections show the reason and a link to the provider's usage dashboard instead. Use the connected account there. API-key and custom API connections do not run ChatGPT subscription-limit queries.
For a shared connection, open Settings → Model services, add the base URL, API key and supported protocols, then choose Save and fetch models. Model discovery reads metadata only. You can also add or edit model metadata manually when a service has no model-list API. In Settings → Providers, bind a Codex, Claude Code, Pi, Oh My Pi, OMO Native or OpenCode instance to the service, select its models and a default. Unbinding restores that instance's independent settings.
Each service's Request recovery settings include an opt-in Retry non-transient upstream errors (e.g. HTTP 400) switch, disabled by default for existing and new services. With automatic retries enabled, it also retries upstream 4xx/5xx failures (including invalid requests and authentication errors) before output starts. The separate 429 and upstream-tool switches still apply, as do attempt/time budgets, cancellation and stateful-request limits. Local gateway validation failures are not overridden; permanent upstream errors may waste usage.
OpenCode 2 discovers visible primary agents from each project's directory, including plugin
agents. In normal mode, an explicit Agent selection overrides the native session agent;
without a selection, Cox preserves the native default chosen when the session is created.
Plan mode temporarily selects plan, taking priority over the Agent selector. Returning to
normal mode restores the explicit selection or the session's original native agent. Switching
agents does not authorize switching away from the model and provider selected in Cox.
Workflow cache hits display a cache-reuse label and the original execution duration when the provider supplies it. Legacy caches without execution timing display an unknown original duration; cache-return timestamps are never treated as execution or cache-read durations. Cox preserves cache metadata in stored snapshots, but cannot recover timings omitted by the external Claude runtime's native journal. Persisting those timings for new native cache entries requires a corrected upstream runtime, including its journal writer, reader and replay.
Cox keeps upstream keys and private headers in its local secret store. Agents receive separate local gateway credentials. Native protocol requests pass through; other requests use the embedded MIT-licensed CLIProxyAPI translator SDK for OpenAI Responses, Chat Completions, Anthropic Messages and Gemini, including streaming and tool calls. Conversion cannot add model capabilities. Stateful Responses conversion requires complete conversation input; cross-protocol token counting is unavailable. Credential rotation takes effect centrally. Finish active turns before changing bindings or model catalogs, because provider configuration changes can recreate agent sessions.
In Settings → Providers, open a Codex or Claude instance and configure API gateway → API URL / API key. Keys are stored separately on the local host and are not returned to the browser as plaintext. These settings take precedence over subscription authentication for that instance; use separate instances to keep API and subscription connections available together. Codex gateways must support the OpenAI Responses API; Claude gateways must support the Anthropic Messages API.
Save the settings, then choose Refresh models from gateway under Models. Cox reads the gateway's model-list endpoint (including pagination), without sending paid inference probes. Model IDs, names, context limits, reasoning choices and image-input support are filled only when reported by the gateway. Many /models endpoints report only IDs, so unknown capabilities remain unset.
Use a model's edit button to override its context window (tokens), image-input support, or reasoning choices. Overrides are saved per instance and take precedence over subsequent discovery; they do not grant capabilities the upstream model lacks. Each override replaces only the values it sets: unset values, including empty reasoning lists saved by older settings, keep the discovered ones. Clearing the gateway settings restores the instance's original authentication configuration. Existing threads may need a new session to use changed connection settings.
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.