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

oneharness-cli

Latest version: v0.32.5

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: whoopnip
1 Stars
1 Forks
38 Versions
21.5K Downloads
Rust Repo language

Scan summary

oneharness-cli was last scanned on 25 Nov 2026 at version 0.32.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 38 versions; the latest 5 were published within 4 days (22–25 Nov 2026).
  • Findings: No rules fired in version 0.32.5.
  • Downloads: 21,479 downloads.

Versions

38 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.32.5 LATEST 25 Nov 2026 No rules fired
0.32.4 25 Nov 2026 No rules fired
0.32.3 24 Nov 2026 No rules fired
0.32.2 23 Nov 2026 Not shown
0.32.1 22 Nov 2026 Not shown

No rules fired in 0.32.5

Findings

Findings for v0.32.5. 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.32.5; other versions have their own rules, not their own score.

README

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

oneharness

One CLI across many agentic coding harnesses. oneharness drives Claude Code, Codex, OpenCode, Goose, Qwen Code, Crush, GitHub Copilot CLI, and Cursor through a single non-interactive interface, runs them as a fallback chain (the first that can run does; --run-mode parallel runs them all at once), and returns one stable JSON shape built for programmatic consumers — behind a human-readable default view for the person at the terminal.

It exists to make cross-harness automation boring: instead of hand-rolling a run_agent() for each tool — different flags, different output, different "don't prompt me" switch, different skip-if-not-installed dance — you call one command and read one JSON document (--format json, or --compact).

$ oneharness run --all --run-mode parallel --prompt "Reply with the single word: pong" --model haiku --format json
{
  "schema_version": "…", // the contract version this binary emits
  "oneharness_version": "0.1.0",
  "prompt": "Reply with the single word: pong",
  "model": "haiku",
  "resume": null,
  "fork": false,
  "bypass_permissions": true,
  "dry_run": false,
  "config_files": ["/home/me/.config/oneharness/config.toml"],
  "results": [
    {
      "harness": "claude-code",
      "bin": "claude",
      "available": true,
      "status": "ok",
      "exit_code": 0,
      "duration_ms": 1840,
      "command": ["claude", "-p", "Reply with…", "--permission-mode", "bypassPermissions", "--output-format", "json"],
      "output_format": "json",
      "text": "pong",
      "text_source": "json:result",
      "usage": { "input_tokens": 1234, "output_tokens": 8, "cache_read_tokens": 7, "cache_write_tokens": null, "cost_usd": 0.0095 },
      "usage_source": "json",
      "session_id": "0f3c…",
      "observed_model": null,
      "events": null,
      "events_source": null,
      "failure_kind": null,
      "work": null,
      "failure_kind_source": null,
      "stdout": "{\"type\":\"result\",\"result\":\"pong\"…}",
      "stderr": "",
      "error": null
    },
    { "harness": "codex", "available": false, "status": "skipped", "error": "`codex` not found on PATH; harness skipped. Install it: npm install -g @openai/codex", "…": "…" }
  ]
}

Supported harnesses

The table doubles as the config support matrix: each column after the binary is a unified setting (CLI flag and/or oneharness.toml field) and shows how — or whether — it reaches that harness.

id CLI default binary auth identity axis model system reasoning bypass mode requested synced config file allow / deny hooks output format --resume (continue / fork) usage headroom
claude-code Claude Code claude CLAUDE_CONFIG_DIR, ANTHROPIC_API_KEY (live-proven) ✓ native flag --effort --permission-mode bypassPermissions .claude/settings.json ✓ / ✓ ✓ ✓ --resume + --fork-session headroom (get_usage)
codex OpenAI Codex CLI codex CODEX_HOME, CODEX_API_KEY (live-proven) ✓ prepended model_reasoning_effort --dangerously-bypass-approvals-and-sandbox .codex/rules/oneharness.rules ✓ / ✓ (Bash prefix rules) — ✓ exec resume <id> (linear) headroom (app-server)
opencode OpenCode opencode ANTHROPIC_API_KEY (live-proven); stored auth (mapped, unproven) ✓ prepended config only --dangerously-skip-permissions opencode.json via settings — ✓ --session + --fork no plan quota
goose Goose goose GOOSE_PROVIDER + OPENAI_API_KEY (live-proven); stored auth (mapped, unproven) — prepended — (runs unattended) — — — — --resume --name (linear)¹ no plan quota
qwen Qwen Code qwen OPENAI_API_KEY + base URL (live-proven); OAuth/Coding Plan (mapped, unproven) ✓ prepended config only --yolo .qwen/settings.json ✓ / ✓ (interactive) — ✓ --resume (linear) no reader
crush Crush crush ANTHROPIC_API_KEY (live-proven); stored login (mapped, unproven) ✓ prepended config only run -q (non-interactive) crush.json ✓ / ✓ — — --session (linear) no reader
copilot GitHub Copilot CLI copilot token/BYOK/stored login (mapped, unproven; no usable host quota) ✓ prepended --reasoning-effort --allow-all-tools --allow-all-paths --no-ask-user — — — — --resume (linear)¹ headroom (GitHub API)
cursor Cursor CLI cursor-agent API key/browser login (mapped, unproven; credentials absent) ✓ prepended --model 'M-<effort>' --force (--trust under --no-bypass) .cursor/cli.json ✓ / ✓ — ✓ --resume (linear) plan tier only

The usage column shows how much subscription headroom oneharness usage can report for that harness. Three expose real remaining-quota windows and one exposes a plan tier; the other four cannot, and the column distinguishes why: no plan quota means the quantity does not exist (OpenCode Zen is pay-as-you-go, Goose has no first-party plan), while no reader means a real quota exists that the CLI exposes no non-interactive way to read (Crush's Hyper credits, Qwen's weekly Coding Plan quota).

The --resume column shows each harness's headless continuation flag and whether it can fork (run --resume <id> --fork: branch a new session from the resumed one, leaving the original — and its cached prefix — untouched). Only Claude Code (--fork-session) and OpenCode (--fork) fork headlessly; the rest resume linearly (append in place), and --fork is a usage error for them, never a silent linear resume. ¹ Goose and Copilot emit no session id to stdout headlessly, so their continuation handle is caller-supplied (a --name, or a minted UUID respectively) and reused on the next run — session_id stays null for them (nothing to extract); every other harness reports an id oneharness captures.

Above --resume sits the higher-level --session <name> (see the Session handle section): a stable, caller-owned name oneharness maps to the harness's native session id in a small store, so a consumer threads one name across turns instead of extracting and re-passing the id itself. It is supported exactly for the harnesses that expose a session id headlessly — claude-code, opencode, codex, cursor, qwen (session_capable: true in oneharness list); for the rest (which have no id to bind a name to) --session is a loud usage error. A named session automatically selects that harness's session-id-bearing output format unless you explicitly set --output-format/config output_format; an explicit format remains authoritative only when it can emit the id, otherwise the run fails with a usage error before spawning.

  • model — ✓ means the harness takes a model flag. Goose selects its model from its own provider config, so model is intentionally not mapped for it.
  • system — "native flag" means the system prompt maps to a real flag (Claude Code's --append-system-prompt-file); "prepended" means the text is folded into the user prompt — it always reaches the model, never silently dropped.
  • reasoning — reasoning / thinking effort (--reasoning <effort> / ONEHARNESS_REASONING / config reasoning, and per harness next to its model), an opaque string forwarded verbatim in each harness's native shape: Claude Code's --effort (low/medium/high/max/auto), Codex's -c model_reasoning_effort= (minimal…xhigh), Copilot's --reasoning-effort (low/medium/high), and Cursor's model-id tier suffix (--model claude-opus-4-8
    • --reasoning high → --model claude-opus-4-8-high; cursor-agent bakes the effort into the model name and rejects a bracketed [effort=…], so Cursor needs a base model whose family accepts the tier suffix, and a loud usage error when no model is set). Effort is a provider/model capability with no shared spelling, so oneharness does not interpret the value — an effort the model rejects surfaces as that harness's own error, never a guess. The remaining harnesses set effort only in their own config file (OpenCode, Qwen, Crush) or expose no headless knob at all (Goose), so --reasoning is a loud usage error for those rather than a silent drop; scope the setting per harness when a selection mixes capable and incapable ones. (supports_reasoning in oneharness list; each capable harness's delivery is drift-alarmed live by oh_reasoning_enforce.)
  • synced config file — the project-scoped file oneharness sync merges the unified settings into. Because the policy lands in each harness's own config, it also governs the tools when used directly — oneharness is not in the loop at run time. Codex's target is not a config file but its own execpolicy rules file, which oneharness owns and rewrites whole (Codex reads it once the project is trusted — see Syncing harness configs). Goose reads only user-global config, and Copilot takes permission rules only as flags (deliverable via [harness.copilot] args), so they have no sync target.
  • allow / deny — whether allowed_tools / denied_tools lists have a place in that file, in each harness's own rule syntax: Claude Code, Qwen, and Cursor use permissions.allow / permissions.deny. Qwen's rules govern its interactive approval flow only — live testing showed its headless mode never auto-approves from settings (only the -y CLI flag executes approval-gated tools), so synced qwen rules protect regular usage, not headless runs. Crush uses permissions.allowed_tools, with deny mapped to options.disabled_tools (the tool is hidden entirely — its strongest deny). Codex takes the same Claude-dialect lists, translated rule by rule into prefix_rule(...) statements (allow / forbidden); a rule its patterns cannot express is reported per rule in unmapped_rules, never widened. OpenCode's permission is a policy map, not a list, so the lists are rejected for it — express it with [sync.harness.opencode.settings] instead. A rule aimed at a harness with no mapping is a parse error ([sync.harness.<id>] fields) or reported unmapped (the top of [sync]) — never silently dropped.
  • hooks — Claude Code's hooks table in .claude/settings.json. Other harnesses keep hooks in places oneharness doesn't manage yet (Copilot's .github/hooks/, Cursor's hooks.json, OpenCode's JS plugins).
  • output format — ✓ means the harness takes a format flag the output_format setting maps onto; a — harness emits plain text and the setting only changes how text is extracted. Codex defaults to its --json stream so plain runs capture thread_id; Qwen remains text by default and is upgraded to stream-json automatically when --session needs its id.
  • --resume — the flag each adapter maps run --resume <session> onto (every harness supports headless continuation). The cell also shows whether the harness can fork (--fork): Claude Code and OpenCode branch a new session from the resumed one; the rest resume linearly (append in place), so --fork is a usage error for them, never a silent linear resume.

The remaining unified settings — timeout, env, bin, per-harness args, cwd, selection — are enforced by oneharness itself at run time, so they work for every harness — as does --schema (structured output, prompt-based where a harness has no native schema flag). oneharness list --format json prints this registry as JSON, including each adapter's exact command, its sync_file, and supports_resume / supports_fork / supports_native_schema / supports_replace_system / supports_reasoning / supports_allowed_tools / supports_denied_tools / supports_hooks capability flags.

Install

# from PyPI (per-platform wheel wrapping the prebuilt binary — no Rust toolchain)
pip install oneharness-cli          # installs the `oneharness` command
# or from npm (per-platform package wrapping the prebuilt binary — same promise)
npm install -g oneharness-cli       # also installs the `oneharness` command
# typed Node API (includes the matching CLI package)
npm install @oneharness/sdk
# typed Python API (includes the exact matching CLI package)
pip install oneharness-sdk
# or the latest prebuilt release for your platform via the install script
curl -fsSL https://raw.githubusercontent.com/nickderobertis/oneharness/main/scripts/install.sh | sh
# or pin a release tag / install directory
curl -fsSL https://raw.githubusercontent.com/nickderobertis/oneharness/main/scripts/install.sh \
  | sh -s -- --version v0.1.0 --to ~/.local/bin
# or from crates.io / a published release tag
cargo install oneharness --locked
cargo install --git https://github.com/nickderobertis/oneharness --tag v0.1.0 --locked
# or from a clone
cargo install --path .
# or just build the release binary
just build-release            # -> target/release/oneharness

A tagged release ships five ways: PyPI wheels (pip install oneharness-cli, the distribution is oneharness-cli, the command is oneharness), npm per-platform packages (npm install -g oneharness-cli, same distribution name, same command), crates.io (cargo install oneharness), prebuilt checksummed binaries on its GitHub Releases page, and cargo install --git. Every channel covers every platform release-platforms.toml declares — the one list, which a drift gate holds each channel to. Among them is Windows ARM64: the aarch64-pc-windows-msvc release binary (oneharness.exe in a .zip, which install.sh selects on a Windows ARM64 host even from an x64-emulated shell), the win_arm64 oneharness-cli wheel, and the @oneharness/cli-win32-arm64 npm package. The PyPI and npm CLI packages both wrap the prebuilt binary — no Rust toolchain, no compile — carrying the platform-specific binary in a per-platform artifact (a wheel; an @oneharness/cli-<platform>-<arch> optional dependency) that the package manager selects for your OS and CPU. Building from source requires a stable Rust toolchain and just. The same release publishes matching @oneharness/sdk and oneharness-sdk language clients; each pins its packaged CLI dependency to that exact version.

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).

  • pypi-releases oneharness-cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229