Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of oysterun

[email protected]

clean   confidence 65%   action allow   analyzed 2026-09-24 18:53 UTC by yolo in 21 tool calls, with lab detonation

Summary

The postinstall hook (tool_scripts/verify_oysterun_runtime.mjs) validates package layout and dependency versions; it failed in the lab only because native dependencies are absent, not because of malicious behavior. The package is a large host-service platform (25 MB unpacked) that spawns subprocesses with process.env (normal for a local daemon), downloads its own frp binary from sgp1.digitaloceanspaces.com, and connects to api.oysterun.com for cloud operations. No canary credentials were read, no unexpected egress was observed, and no persistence was installed. Prompt-injection instructions in development docs (docs/routec/dev/*.md) were flagged but are not runtime code.

Intent

Oysterun is a local host service for managing AI agent sessions (Claude, Codex, Grok via ACP protocol) with Telegram, Matrix, and web chat integrations. It installs a CLI and runs a background service — behavior matches its stated purpose.

Findings

Postinstall hook validates dependency tree info tool_scripts/verify_oysterun_runtime.mjs:261-298
tool_scripts/verify_oysterun_runtime.mjs checks better-sqlite3 and node-datachannel resolve inside the package's node_modules. Crashes when modules are absent — expected in an isolated lab.
Passes process.env to spawned subprocesses info bin/oysterun.mjs:43,65
bin/oysterun.mjs:43 and :65 use env: process.env when spawning the host service — standard daemon behavior, not credential exfiltration.
Downloads own frp binary from DigitalOcean Spaces info host-service/frp-agent.mjs:804
host-service/frp-agent.mjs:804 fetches frp_0.70.1_* from https://voieechcontent.sgp1.digitaloceanspaces.com/oysterun/frp/0.70.1/ — the package's own CDN.
Connects to api.oysterun.com for cloud backend info host-service/config.mjs:111
host-service/config.mjs:111 defines PRODUCT_CLOUD_BACKEND_URL = 'https://api.oysterun.com'; used for connector credentials and device registration.
PostHog client-side analytics in static site info static/site/en/index.html:139
static/site/en/index.html:139-159 embeds PostHog token phc_2c404JOxNanNDgJNdagtfwqc95BNVTIJVQLsMB75uh5 and sends pageviews to https://us.i.posthog.com — client-side only.
Prompt-injection instructions in development docs low docs/routec/dev/npmjs_publish.md:110,195
Multiple docs/routec/dev/*.md files contain directives attempting to steer AI agents (e.g., 'Do not silently publish under another name', 'must not silently create config'). These are developer docs, not runtime code.

Lab evidence

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