Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of oysterun

[email protected]

suspicious   confidence 55%   action isolate   analyzed 2026-09-24 18:52 UTC by yolo in 14 tool calls, with lab detonation

Summary

Install hook runs tool_scripts/verify_oysterun_runtime.mjs which verifies better-sqlite3, node-datachannel, and @agentclientprotocol/claude-agent-acp are installed correctly and reports JSON to stdout — no network egress or credential reads observed (lab exited 1 due to missing dependencies). The host-service directory contains large amounts of code for managing AI agent connections, tunneling binaries from DigitalOcean Spaces and GitHub, and editing .claude/.codex/.grok config directories. 107 prompt-injection/hidden-text hints were found in documentation files (e.g., docs/routec/dev/npmjs_publish.md, host-service/README.md) that attempt to influence AI agents reading them. Static scanner high scores are largely false positives from regex matching on a large codebase (command name lists, WebRTC crypto, env inheritance for child processes).

Intent

Oysterun is a host service that manages connections to AI coding agents (Claude Code, Codex, Grok) via the Agent Client Protocol, providing tunneling (ngrok, frp), session management, and skill packaging. The install hook only verifies the runtime is healthy. Documentation contains prompt-injection hints that could influence AI agents reading them.

code_execution agent_config_tamper network_egress

Findings

Install hook verifies runtime (benign) info tool_scripts/verify_oysterun_runtime.mjs:1-428
tool_scripts/verify_oysterun_runtime.mjs checks better-sqlite3, node-datachannel, and @agentclientprotocol/claude-agent-acp versions and imports — outputs JSON status. Lab exited 1 because better-sqlite3 not installed (expected).
Prompt injection in documentation medium docs/routec/dev/npmjs_publish.md:110
107 instances of instructions embedded in docs that could influence AI agents (e.g., 'Do not silently publish under another name', 'Do not share passwords, tokens, cookies' in public reports). Files: docs/routec/dev/npmjs_publish.md, docs/routec/dev/cloud_deplyments.md, docs/routec/form_UI_fields.md, docs/routec/host_runtime_error_boundary.md, docs/routec/media_upload_image_compression.md, README.md.
Agent config directory access low host-service/adapters/claude-code-adapter.mjs:1159
host-service/adapters/claude-code-adapter.mjs references ~/.claude/, CLAUDE.md, AGENTS.md. host-service/adapters/grok-acp-adapter.mjs references ~/.grok/. host-service product skills mirror to .codex/skills/ and .claude/skills/. This is consistent with the stated purpose of managing AI agent connections.
Tunnel binary downloads info host-service/frp-agent.mjs:13
host-service/frp-agent.mjs downloads frp tunnel binaries from voieechcontent.sgp1.digitaloceanspaces.com and github.com. host-service/ngrok-agent.mjs manages ngrok tunnels. These are legitimate tunneling infrastructure.
Secret redaction in traces info host-service/adapters/claude-code-adapter.mjs:528
host-service/adapters/claude-code-adapter.mjs line 528 redacts keys matching token|secret|password|credential|authorization in ACP trace output.
Environment inheritance for child processes info bin/oysterun.mjs:45
bin/oysterun.mjs passes process.env to spawnSync for child processes (lines 45, 66, 315, 356). This is normal for a CLI tool that delegates to local commands.

Lab evidence

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