Scan your whole stack
From OX Research Newsroom
Are you using optio-claudecode?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.11.2
optio-claudecode was last scanned on 29 Nov 2026 at version 0.11.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.11.2 LATEST | 29 Nov 2026 | No rules fired |
| 0.11.1 | 28 Nov 2026 | No rules fired |
| 0.11.0 | 27 Nov 2026 | No rules fired |
| 0.10.0 | 25 Nov 2026 | Not shown |
| 0.9.0 | 24 Nov 2026 | Not shown |
Findings for v0.11.2. 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.11.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Run Anthropic Claude Code as an optio task — either as a local
subprocess or on a remote host over SSH — with the interactive TUI
embedded in the optio dashboard via an iframe widget served by ttyd.
pip install optio-claudecode
Requires Python 3.11+. Pulls optio-core, optio-host, and asyncssh.
On task start the package auto-installs the host binaries it needs unless told otherwise:
claude — via Anthropic's vendor script (https://claude.ai/install.sh)ttyd — static binary from tsl0922/ttyd GitHub Releasesfrom optio_claudecode import (
ClaudeCodeTaskConfig,
create_claudecode_task,
)
def get_tasks():
return [
create_claudecode_task(
process_id="example-task",
name="Example",
config=ClaudeCodeTaskConfig(
consumer_instructions="Please write a haiku about MongoDB.",
credentials_json=load_user_creds_from_db(user_id),
# Optional: skip interactive permission prompts for autonomous flows.
permission_mode="bypassPermissions",
),
)
]
credentials_json is treated as an opaque payload and written verbatim
to <workdir>/home/.claude/.credentials.json (mode 0600) before claude
launches. Format follows whatever Anthropic's CLI currently expects.
Each task gets a workdir tempdir (/tmp/optio-claudecode-<uuid>/). The
ttyd process is launched with HOME=<workdir>/home, so claude reads
all its state — credentials, settings, session history — strictly from
the per-task workdir and never touches the host user's real
~/.claude/. Two tasks on the same host can run concurrently without
shared-state races.
The agent is given a <workdir>/CLAUDE.md that documents the optio
coordination protocol. By default (protocol_shape="default", which is
mcp for Claude Code since 2026-11-25) the agent speaks it through the
tools of the session's optio MCP server (status, deliver, done,
error, ...). With protocol_shape="file" it appends keyword lines to
./optio.log instead — STATUS: / DELIVERABLE: / DONE / ERROR —
the shape optio-opencode and the other wrappers use, so the same
consumer_instructions can be swapped between the packages when they name
no keyword.
See docs/2026-05-28-optio-claudecode-design.md for the full design.
use_client_messages (bool, default False) — enable the CLIENT_MESSAGE:
log keyword (the client_message tool in the MCP shape; likewise
caller_message below): the agent can push {keyword, data} messages to the browser
session that launched the task (surfaced via optio-ui's onClientMessage).on_caller_message (async callback, default None) — enable the
CALLER_MESSAGE: log keyword: the agent can push {keyword, data} messages
to your application. Signature (hook_ctx, keyword, data) -> str | None;
a non-None return is sent back to the agent as feedback. Keywords that are
not enabled are absent from both the parser and the agent-facing protocol
documentation.With mode="conversation" the task runs claude headlessly (no ttyd, no
iframe) over its bidirectional stream-json stdio protocol, and the
launching code receives a live Conversation object — send messages,
subscribe to events and answers, gate tool permissions, interrupt,
close:
config = ClaudeCodeTaskConfig(
consumer_instructions=None, # defaults to a plain conversation prompt
credentials_json=...,
mode="conversation",
host_protocol=False, # no optio.log keyword channel
permission_mode="acceptEdits",
)
# ... register the task, then:
conv = await optio.launch_and_await_result("example-task", session_id=None)
conv.on_message(lambda text: print("claude:", text))
await conv.send("hello")
await conv.close()
All new config fields default to existing behavior (mode="iframe",
host_protocol=True, permission_gate=False), so existing callers run
unchanged. See docs/2026-06-10-claudecode-conversation-gate-design.md.
With the protocol on, the agent ends a turn that needs no reply to the user
with exactly [silent]; such a turn reaches on_message as "".
With the opt-in conversation_ui=True (conversation mode only) the
task additionally starts a per-task listener that streams the raw
conversation events (replay + live) through the optio widget proxy and
accepts send / interrupt / permission requests, so the session can be
monitored and driven from the browser. The matching React chat widget
ships in the engine-neutral optio-conversation-ui package; register it
in your host app via registerConversationWidget() (one registration
serves both claudecode and opencode — each task self-declares its engine
via widgetData.protocol). See
docs/2026-06-10-claudecode-conversation-ui-design.md. A sub-agent's own
messages to its main agent are private: hidden by default,
private_message_visibility="collapsed" or "verbose" shows them
(docs/2026-11-25-silent-turns-and-private-messages-design.md).
config = ClaudeCodeTaskConfig(
consumer_instructions="", # defaulted conversation prompt
credentials_json=...,
mode="conversation",
conversation_ui=True,
permission_gate=True, # approve/deny tool use in the browser
) 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.