Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of oh-my-openagent

[email protected]

clean   confidence 70%   action allow   analyzed 2026-09-24 19:57 UTC by yolo in 10 tool calls, with lab detonation

Summary

The postinstall hook (node postinstall.mjs) validates that a platform binary package is present, checks OpenCode >= 1.4.0 is installed, and invalidates stale opencode plugin caches in ~/.cache/opencode. No network calls, no credential reads, no file writes outside the package or user config directories. The prepare hook (bun run build) failed in the lab only because bun is not installed — this is a build step, not a supply-chain concern. The .agents/skills/ and .agents/command/ files are AI agent skill definitions (system prompts, orchestration instructions) — this is the package's stated purpose. Static-prescreen capability hits on test scripts (lsp-e2e.sh, hook-unit-probe.sh) are false positives from regex matching on spawn/exec in QA code.

Intent

An AI agent framework/harness that installs platform-specific native binaries, validates OpenCode version requirements, and ships agent skill definition files (.agents/skills/) and command definitions (.agents/command/) for multi-model LLM orchestration.

Findings

Postinstall validates platform binary, no network or credential access info postinstall.mjs:61-74,110-126
postinstall.mjs calls execSync('opencode --version') (time-limited to 3s) and reads package.json for version checks. Writes only to ~/.cache/opencode for cache invalidation. Exit 0 in lab, no DNS/HTTP calls.
Prepare hook requires bun (not installed in lab) info package.json:131
bun run build exits 127 because bun is absent. This is a development build step, not executed at runtime.
Agent skill definitions shipped as part of package info .agents/skills/hyperplan/SKILL.md, .agents/skills/work-with-pr/SKILL.md, .agents/skills/github-triage/SKILL.md
.agents/skills/ and .agents/command/ contain SKILL.md files with embedded system prompts for adversarial multi-agent planning, PR workflow, GitHub triage, etc. These are AI agent configuration files — the package's stated purpose.
Static-prescreen false positives on test scripts info .agents/skills/codex-qa/scripts/lsp-e2e.sh, .agents/skills/opencode-qa/scripts/lsp-e2e.sh
Files like .agents/skills/codex-qa/scripts/lsp-e2e.sh (154KB) and .agents/skills/opencode-qa/scripts/lsp-e2e.sh (137KB) are QA test harnesses that spawn processes against mock servers (127.0.0.1). These are not executed during normal install or runtime.

Lab evidence

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