Scan your whole stack
Are you using @sorenllm/opencode-forge?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.33.0
@sorenllm/opencode-forge was last scanned on 23 Nov 2026 at version 0.33.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.33.0 LATEST | 23 Nov 2026 | No rules fired |
| 0.32.3 | 22 Nov 2026 | No rules fired |
| 0.32.2 | 22 Nov 2026 | No rules fired |
| 0.32.1 | 22 Nov 2026 | Not shown |
| 0.32.0 | 22 Nov 2026 | Not shown |
Findings for v0.33.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.33.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Single general-purpose forge agent + two orthogonal harnesses for opencode ≥ 1.18: a plan harness (decide first, execute later) and a goal harness (arm an objective, let the loop drive itself to a host-verified finish). They share nothing but a safety interop; OpenSpec spec workflows remain a third, separate lane.
/plan fix login timeout → read-only recon → plan_write (draft, writes denied)
→ present, end turn → USER REVIEW (revise / discard / go-ahead)
→ plan_approve (user dialog = final gate) on explicit go-ahead
→ execute task by task, plan_tick on each (timestamped audit)
→ all ticked → per-criterion self-check → plan_close
(plugin re-runs the FROZEN checks, fail-closed, no dialog) → done
/plan → list in-progress plans with progress
/plan resume → continue the most recent unfinished plan
/plan discard → abandon the current plan (abandoned, writes restored)
/goal make the suite green --check "npm test" --contains "src/a.ts::export const A"
→ goal_write (arm=true; the user dialog IS the arm action)
→ loop: work → goal_check (advisory) → idle → continuation brief
→ goal_complete re-runs EVERY check itself on the host
(fail-closed) + per-criterion attestations → user dialog
= completion gate → completed
/goal add ... → queue an inert goal (no dialog, no loop)
/goal → live goal + queue overview
/goal pause | resume | discard/stop/cancel
.opencode/plan/<date>-<slug>.md in your project, frontmatter
state machine draft → approved → done, exits abandoned (plain discard) and
superseded (plan_discard {reason, supersede: "<successor path>"} —
the exit for work whose execution moves to another harness, e.g.
.opencode/crew/2026-10-01-....md, rather than ends). Every terminal
transition appends a dated narrative section to the file body in the same
write as the status flip: close = each acceptance criterion's
pass/evidence; discard/supersede = the reason verbatim ((none given)
when absent; a supersession also records the successor path). Appended
sections are parser-inert — status reads frontmatter only, tick
counts read the Task List only — and a superseded plan's Task List
stays the frozen decision snapshot: closure IS the supersession, and
crew/goal results never tick it.write / edit / bash are denied at the
permission layer — including your own allow config, and for every agent
in that session (the draft protects shared session state; see Agent
partition below) — and task is shape-gated: dispatch to an
effective-readonly forge scout passes, every other target is denied (see
Design stance). The only exits are approval and discard. This is deliberate;
see Design stance.plan_approve is pinned to a confirmation dialog: the model can never
flip itself into execution. plan_close has no dialog — the
completion gate is plugin-verified: plans that declare Verification
Checks (plan_write {checks: [...]}, goal-harness-shaped) get the frozen
set re-executed on the host at close, fail-closed (a failing check
refuses the close, records the run in the plan's ## Check Log, and the
plan stays approved); plans without declared checks keep the
per-criterion self-check gate. Both paths append an evidence summary the
user reviews asynchronously; plan_reopen (done → approved, explicit
user instruction only) is the rollback window.plan_approve / goal_write arm /
goal_complete / goal_resume / goal_discard / crew_close) is
wrapped by a watchdog — when no answer arrives within the window (default
300 s, FORGE_GATE_ASK_WATCHDOG_MS, 0 disables), the gate resolves as a
DISCLOSED REJECTION: the awaiting tool call fails with a finding that
names the gate, the timeout, the fail-closed posture (state unchanged,
nothing approved — the invariant survives verbatim) and the retry
contract (re-run when the dialog is actually visible; a late click on the
stale dialog cannot approve the refused call). The plugin NEVER
auto-approves. This exists because of a real incident: a TUI wedge where
the dialog never rendered and goal_write hung forever..opencode/goal/<date>-<slug>.md, state machine
queued → active ⇄ paused → completed / abandoned, one live goal per
session plus a workspace queue. Completion is verified by the plugin,
not attested by the model: goal_complete re-executes every check itself
and refuses (fail-closed) on any failure.build / plan agents stay installed and independent:
forge coexists with them in the Tab cycle. The plugin hard-partitions the
two worlds (see Agent partition below) instead of hiding anything; plan
and goal files are never deleted on uninstall.The plugin draws a hard line between two agent families, enforced at the
tool layer (verified against the host's tools filter):
forge family — forge + your forge.json forge-* workers |
everyone else — native build / plan / general / explore and your own agents |
|
|---|---|---|
| exec surface | forge_shell / forge_jobs only; builtin shell/bash hidden (unconditional, probe-independent; covers user-defined agent.forge entries too) |
builtin shell/bash, fully native |
forge tools (plan_*, goal_*, crew_*, forge_shell, forge_jobs, forge_grep, forge_glob) |
forge sees all; forge-* workers only forge_shell + forge_jobs + the search pair (forge_grep/forge_glob) |
none visible |
dispatching forge-* via task |
allowed | refused at the tool layer |
writing .opencode/plan/ / .opencode/goal/ |
allowed (state machine governs) | refused at the tool layer (reads stay open) |
| forge system prompts (job guidance, plan/goal notices) | injected | never injected — zero forge text |
| watchdog (stuck builtin shell) | governed | untouched — no markers, no kills |
Escape hatches: jobs.keepBuiltinShell: true gives the forge family the
builtin shell back; jobs.mode: "native" retires forge_shell/forge_jobs
entirely (the hide is withdrawn in the same stroke). The forge family is
prompted to route every shell command through forge_shell — on hosts that
ignore injected tools maps the builtin tool stays visible but is refused at
call time, and the channel mandate is what keeps the model from trying it
first (the belt refusal remains the backstop). On such unfiltered hosts the
fallback belt family is a three-part enumeration of hard refusals at the
tool layer: a forge-family builtin shell/bash call is refused with a
pointer to forge_shell; a non-forge agent's call of any forge tool is
refused with the partition guidance; and a forge-* worker (any family
member whose agent name is not exactly forge) calling a harness state tool
(plan_*, goal_*, crew_begin, crew_close) is refused as primary-only.
That refusal fires before any execution or user confirmation dialog, so a
worker's state-tool call never reaches a gate, and the error names the way
out: report findings back to the orchestrating session — the primary forge
agent alone calls the state tools. Mixed sessions (Tab
between agents in one session): harness state (plans/goals) stays
session-bound, tool surfaces follow the current speaker, and the goal loop
parks instead of driving a non-forge turn. One deliberate exception: a
draft-phase write ban binds the session (protecting shared state), so a
non-forge agent is write-blocked until the draft is approved or discarded in
forge. Running /plan /goal /crew under a non-forge agent redirects to
forge instead of executing.
Default subject. The host otherwise defaults new sessions to build
once a build agent exists — the plugin pins default_agent: "forge"
automatically (a default_agent you set yourself always wins), so bare
runs and fresh sessions still land on forge under coexistence.
Requires opencode ≥ 1.18 (v1 hosts) or ≥ 2.0 (v2 hosts). Same install commands on both — the plugin ships both entries and the host picks one.
# npm (recommended)
opencode plugin @sorenllm/opencode-forge --global
# or GitHub source
opencode plugin github:ChengZiiii/opencode-forge --global
Local development: add "file:///<repo abs path>" to the plugin array in
your opencode config. Single-file install: copy dist/index.js to
~/.config/opencode/plugin/forge.js — it is fully self-contained (the plan
discipline rides inside the /plan command template; there is no separate
skill file).
Note: do not enable opencode's experimental plan mode
(OPENCODE_EXPERIMENTAL_PLAN_MODE) together with forge — two plan mechanisms
would overlap.
opencode plugin add APPENDS — it never replaces an existing entry for the
same plugin id, so a bare opencode plugin @sorenllm/opencode-forge --global
over an existing install fails with Duplicate plugin ID: forge. The
verified upgrade path:
plugin
array in ~/.config/opencode/opencode.json).opencode plugin @sorenllm/opencode-forge --global.opencode agent list shows forge + forge-* workers), then
clean the stale store dir (uninstall step 2) if you switched sources.Also verified on the 2.x installer: remove only removes the config entry
of its own registered source; the npm: prefix is not accepted by add
(use the bare package name); and the store path is derived from the
specifier spelling, so switching between npm and github sources leaves both
store dirs behind — delete the stale one.
Full feature parity with v1 (agents, tools, permission belt and gates, session hooks, commands, goal/job engines), with two documented drifts:
forge.json worker's model field is
honored on v1 hosts; on v2 hosts the pin is skipped (any model spelling
on the v2 agent draft breaks the host's agent registry). The
thoughtLevel pin works on both (it rides the runtime chat.params
lookup, not the agent record)./plan /goal /crew are execute-based commands on v2 (the
template text is sent into your session when you invoke them) and there
is no create-only guard — forge's /goal replaces the built-in one.
v2 hosts have no default per-turn auto-continue, so nothing fights the
goal loop; the plan/goal briefs survive compaction via the compaction
hook either way.On a v2 host the plugin additionally delivers the single-agent surface as pure runtime agent-layer state:
build and plan primaries are hidden (never removed —
sessions referencing them keep working; no other field is touched), so
the agent picker offers forge as the visible primary. general,
explore, and host-internal agents stay untouched.forge where the host's agent draft editor
exposes a default setter (2.3.2 does). An explicit default_agent in
your opencode config still wins — the host merges user config agent
entries after plugin transforms.forge primary and each materialized
forge-* worker) carries a deny permission
({action:"shell", resource:"*", effect:"deny"}), so the model-facing
tool surface never offers the builtin shell to the forge family. The
permission-belt refusals remain underneath as belt-in-depth.Zero pollution: none of this is written to your opencode config or any file outside the plugin's own domain — uninstall the plugin and the next agent-layer rebuild restores the native primaries and the default subject, byte-identical, with zero residue.
Opt-out (keep the native build/plan primaries visible) — the plugin's
own config file, the GLOBAL forge.json layer (~/.config/opencode/forge.json
on POSIX, %USERPROFILE%\.config\opencode\forge.json on Windows):
{
"hideNativeAgents": false
}
agent.forge.disable = true remains the whole-plugin off switch. A user's
explicit agent.build.hidden: false in opencode config also wins on 2.3.2
(config merge runs after plugin transforms).
The v1 loader cannot touch native agent records (the config hook returns its own entries only). If you want the same single-agent picker on a v1 host, hide the natives yourself — your config, your files:
{
"agent": {
"build": { "hidden": true },
"plan": { "hidden": true }
},
"default_agent": "forge"
}
hidden is a first-class, hot-reloadable field on opencode 2.3.x — the
picker updates without a restart. Remove the lines to restore the natives.
Everything works with zero config. Optional knobs (your config, your files — the plugin never writes them):
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.