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

@doublepi123/cox

Latest version: v0.2.47

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: doublepi123
2 Stars
0 Forks
129 Versions
27.7K Downloads
TypeScript Repo language

Scan summary

@doublepi123/cox was last scanned on 27 Nov 2026 at version 0.2.47. Risk score 0 of 100. High-severity rules fired.

  • Releases: 129 versions; the latest 5 were published within 2 days (26 and 27 Nov 2026).
  • Findings: 2 rules fired in version 0.2.47 (14 instances: 1 high, 13 low). The score describes this version only.
  • Downloads: 27,669 downloads.

Versions

129 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

Rules fired in 0.2.47: 2

Findings

1 High 13 Low

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 suspicious behaviors form a known attack pattern

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.

HIGH

WebAssembly module included

LOW
Checking access…

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

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

README

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

Cox

English | 简体中文

Website · CoCode

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.

Project website

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.

Quick start (npm)

Desktop client (macOS / Windows)

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.

CLI installation

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
First run
  1. Keep the terminal running. Cox starts a loopback-only server and opens your browser. If it does not open, follow the local URL and authentication instructions printed in the terminal; do not share authentication links or tokens.
  2. Configure a supported provider in Settings. CLI-backed providers need their agent CLI installed and authenticated locally; installing Cox does not install every agent or include a model subscription or API credits.
  3. Add a local project directory, create a thread, select a provider/model and send a message.

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.

Common commands
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.

Upgrade

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.

Scope

  • Web UI and a local Node HTTP/WebSocket server.
  • Local agent providers, projects, threads, streaming chat, terminal sessions, Git/worktrees and checkpoints.
  • Electron desktop clients for macOS and Windows, the pure-remote Cox Mobile client (@cox/mobile) for iOS 17+ and Android 8+ Lite, and standalone local/remote CoCode for Android (io.cocode.app).
  • Direct desktop and mobile connections to user-operated Cox servers; no cloud accounts, T3 Connect, tunnel service, hosted app, server discovery, multi-server aggregation, or managed remote environments.
  • No upstream release/update service or automatic migration from a T3 installation.

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.

Interface language

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.

Thread interactions

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.

Requirements

  • Node.js 26.12.1 (tested); npm for the published package, or pnpm 12.14.0 for source development and GitHub Release archives.
  • Git and a supported agent provider configured locally. CLI-backed providers need their agent CLI installed and authenticated (for example Codex or Claude Code).
  • A C/C++ build toolchain may be needed if a native dependency has no prebuilt binary for your platform.

Subscription limits and Codex speed

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.

API gateways and custom models

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.

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 @doublepi123/cox

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

CVE

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229