Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of oysterun

[email protected]

clean   confidence 72%   action allow   analyzed 2026-09-24 16:19 UTC by yolo in 25 tool calls, with lab detonation

Summary

The package installs a local host service for AI agent runtimes. The postinstall hook (tool_scripts/verify_oysterun_runtime.mjs) verifies that bundled dependencies (better-sqlite3, node-datachannel, @agentclientprotocol/claude-agent-acp) are intact and matches expected versions. The lab run crashed on a missing dependency (expected, offline lab) with zero network connections, zero files written outside the package, and zero canary credential reads. Static analysis confirms the hook only performs version checks and optional ACP runner probing; the large host-service/server.mjs passes process.env to child processes (standard for a service CLI) and connects to api.oysterun.com (declared cloud backend). High capability hits from the pre-screen are false positives from syntax-highlighting grammar arrays and large config-path enumerations.

Intent

oysterun is a local host service for managing AI agent runtimes (Claude Code, Codex, xAI) with a web chat UI, Telegram bot, and cloud backend. The postinstall hook runs a runtime verification script that checks dependency integrity; it does not decode or run embedded code.

network_egress

Findings

Install hook runs runtime verification info package.json:10
postinstall: node tool_scripts/verify_oysterun_runtime.mjs --package-install — verifies dependency versions (better-sqlite3, node-datachannel, @agentclientprotocol/claude-agent-acp) and optionally probes the Claude ACP runner. With --package-install the probe is skipped.
Process.env passed to spawned children info bin/oysterun.mjs:45
bin/oysterun.mjs and host-service/server.mjs spawn child processes with env: process.env, inheriting the full environment including API keys. Standard for a host service CLI.
WebRTC base64 decode is standard crypto info dev/client/connectivity/webrtc-logical-transport.mjs:82
dev/client/connectivity/webrtc-logical-transport.mjs and managed-host-browser.mjs use atob/btoa for WebRTC binary transport — standard library usage, not obfuscation.
Prism grammar array falsely flagged as command list info dev/client/web-chat/dist/assets/ReactPrism-DcNXef2k.js:9
dev/client/web-chat/dist/assets/ReactPrism-DcNXef2k.js is the Prism.js syntax-highlighting library. Its large keyword arrays (ls, mkdir, rm, etc.) are language grammar tokens, not executed commands.
Provider native config paths are provider-owned info host-service/provider-registry.mjs:100
host-service/provider-registry.mjs lists ~/.codex/auth.json, ~/.claude/commands, etc. as paths the PROVIDERS manage — oysterun does not read or write these files.
Cloud egress to api.oysterun.com info host-service/server.mjs:11075
host-service/server.mjs fetches from api.oysterun.com for notifications, bootstrap tokens, and device registration. Declared cloud backend URL.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 4. Hooks: postinstall (exit 1).