Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of oh-my-opencode

[email protected]

suspicious   confidence 45%   action isolate   analyzed 2026-09-24 20:02 UTC by yolo in 19 tool calls, with lab detonation

Summary

Install hook node postinstall.mjs is clean (platform binary check only). The package distributes 223 files under .agents/ and .opencode/ containing skill definitions and command templates, some with system-prompt content for adversarial agent roles and instructions to conceal behavior from users (inj:conceal_from_user, inj:system_impersonation). These are data files, not executed code, but are loaded by AI agent tools at runtime. Telemetry via posthog-node is present but documented and opt-out-able via OMO_DISABLE_POSTHOG=1.

Intent

The package installs a large set of .agents/ skill and command files that get placed into the user's filesystem. These are data files read by AI agent tools (Claude Code, Codex, etc.) and contain system prompts and behavioral instructions for adversarial multi-agent planning. The install hook (postinstall.mjs) is benign — it only checks platform binary availability.

Findings

Install hook is benign info postinstall.mjs:1-202
postinstall.mjs only checks that a platform-specific binary package is installed and prints a rename notice. No network, no file writes outside the package, no credential access.
Prepare hook requires bun (not installed in lab) info package.json:131
prepare runs bun run build. Failed in the isolated lab because bun is not available. This is a standard build step, not malicious.
AI agent skill files with adversarial system prompts medium .agents/skills/hyperplan/SKILL.md:27
223 files under .agents/ and .opencode/ contain SKILL.md and command definitions with system prompts establishing adversarial agent identities (e.g., hyperplan/SKILL.md line 27: 'The prompt field below is the system prompt that establishes their adversarial identity'). Some files contain instructions that could cause agents to conceal actions from users (inj:conceal_from_user) or impersonate system messages (inj:system_impersonation).
Credential rotation narrative example (not actual code) info .agents/command/publish.md:278
.agents/command/publish.md line 278 contains the phrase 'the system silently rotates credentials in the background' as an example of good changelog narrative. This is not actual malicious code, but the static regex flagged it as conceal_from_user.
Telemetry via posthog-node (documented) low package.json:181
Dependency posthog-node sends anonymous install telemetry (DAU/WAU/MAU) with hashed installation identifier. Opt-out via OMO_DISABLE_POSTHOG=1 or OMO_SEND_ANONYMOUS_TELEMETRY=0.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 10. Hooks: postinstall (exit 0), prepare (exit 127), require (exit 0).