Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of oh-my-openagent

[email protected]

suspicious   confidence 65%   action isolate   analyzed 2026-09-24 19:58 UTC by yolo in 30 tool calls, with lab detonation

Summary

Install hook postinstall.mjs is benign (local version check, cache cleanup). No network egress, no credential theft. However, the package ships .agents/ and .opencode/ directories with 300+ AI skill definition files embedding prompt-injection patterns (system impersonation, conceal-from-user, tool-hijack, credential-request). These are markdown, not executable code, but are consumed by AI coding agents as instructions.

Intent

The package is an AI agent orchestration CLI (OpenCode plugin). It installs cleanly with a harmless postinstall script, but ships ~300 AI agent skill definition files (.agents/, .opencode/) containing prompt-injection patterns (system impersonation, user-hiding instructions, tool hijacking, credential requests) that could steer downstream AI coding agents.

agent_config_tamper reconnaissance

Findings

AI agent skill files with prompt-injection patterns high .agents/, .opencode/
The .agents/ and .opencode/ directories contain 300+ SKILL.md, command/*.md, and references/*.md files embedding prompt-injection patterns including system impersonation (e.g., .agents/skills/hyperplan/SKILL.md:27-29, :48-58), instructions to hide actions from users (e.g., .agents/command/publish.md:278), tool hijacking (e.g., .agents/skills/github-triage/SKILL.md:14), and credential request (e.g., .agents/skills/work-with-pr/SKILL.md).
Telemetry capability (PostHog) low dist/shared/posthog.d.ts
Package depends on posthog-node and exports createCliPostHog/createPluginPostHog functions. Telemetry is runtime-only, not triggered at install time. Lab showed zero network connections.
Install hook: local version check only info postinstall.mjs:1
postinstall.mjs executes opencode --version (local binary), invalidates ~/.cache/opencode/ plugin cache. No network, no credential access, no writes outside package.

Lab evidence

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