opencode-mission
OpenCode plugin that enables autonomous mission-driven agent mode with 4-state machine, 3-dimension budget (turn/token/wallclock), structured 4-dimension verification, and interrupt-aware auto-pause.
This report shows the evidence for opencode-mission@0.4.0, the only known version.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiSource inspection confirms install-time writes to OpenCode's home config and plugin registry, followed by agent control hooks in the plugin bundle. Under the lifecycle control-surface policy, that unconsented npm install mutation is blockable even without classic malware indicators.
Decision evidence
public snapshot- package.json defines postinstall and postuninstall lifecycle scripts.
- scripts/postinstall.mjs copies dist/index.js into the user's opencode plugins directory during install.
- scripts/postinstall.mjs creates or rewrites ~/.config/opencode/opencode.json to add ./plugins/opencode-mission.js.
- dist/index.js registers OpenCode tools/hooks, system prompt transforms, command templates, and a mission-verify subagent.
- dist/index.js can inject mission instructions into chat/system prompts and auto-continue sessions via client.session.promptAsync.
- No credential harvesting or exfiltration endpoints found in package source.
- No child_process, eval, vm, native addon, or remote code loading found.
- README.en.md documents the automatic OpenCode config mutation and manual install path.
- Lifecycle behavior is package-aligned with an OpenCode plugin, not a typosquat or unrelated payload.
Source & flagged code
2 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to opencode-mission@0.4.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing opencode-mission@0.4.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.