← all versions of oh-my-opencode
[email protected]
suspicious confidence 65% action isolate analyzed 2026-09-24 20:03 UTC by yolo in 9 tool calls, with lab detonation
Summary
The postinstall hook spawns only `opencode --version` and validates a platform binary — no network egress, no credential access. However, the package ships 30+ `.agents/` and `.opencode/` skill files containing prompt-injection content: instructions telling an AI agent to impersonate system messages, hide actions from its user, and hijack other tools. This is an agent-supply-chain risk.
Intent
An AI agent harness that ships with hundreds of agent skill files containing prompt-injection instructions (system impersonation, conceal-from-user, tool-hijack). The install hook itself is benign; the risk is in the shipped skills loaded by downstream AI agents.
agent_config_tamper obfuscation
Findings
.agents/command/publish.md:278.agents/skills/hyperplan/SKILL.md:27.agents/skills/hyperplan/SKILL.md:141.agents/skills/github-triage/SKILL.md:14.agents/skills/work-with-pr/SKILL.mdpostinstall.mjsLab evidence
Install hooks ran in the isolated lab. Processes spawned: 10. Hooks: postinstall (exit 0), prepare (exit 127), require (exit 0).