Back to blog
announcementdethereal

Dethereal now runs in Codex and OpenCode

Dethereal 0.5.2 works in Claude Code, Codex and OpenCode. Claude Code stays the stable target; Codex support is experimental and OpenCode a preview.

dether.net

Dethereal now runs in Codex and OpenCode

Dethereal, the open-source plugin that builds a threat model from your repository, was a Claude Code plugin until now. Version 0.5.2 also runs in Codex and OpenCode.

Where each harness stands

HarnessStatusWhat it means
Claude CodeStableThe main target. The full workflow is tested on every release.
CodexExperimentalRuns the workflow end to end in our tests. Expect rough edges.
OpenCodePreviewRuns end to end, but in our tests the model sometimes skipped a confirmation question or wrote a different value from the one you confirmed. The guide lists each issue with a workaround.

The three plugins are generated from one workflow source, so they have the same commands, agents and checks. A few things work only in Claude Code: some questions arrive together in one dialog, and the main agent can start the specialist agents itself.

A secret-file guard on every harness

Dethereal reads your code, so it ships a guard that stops the agent from reading secret files. It now runs on all three harnesses. In Claude Code, a guard that cannot run, for example on an old Node.js, blocks the call instead of letting it through.

New models start as a quick pass

A new model is now a quick first pass. It builds the full structure, enriches the crown jewels and the highest-priority components, and shows the top attack chains. Run the workflow with --full when you want the rest. Models made with 0.4 stay full models.

Installing

In Claude Code, install from the marketplace as before:

/plugin marketplace add dether-net/claude-plugins
/plugin install dethereal@dether.net

For Codex and OpenCode, use the installer:

npx @dether.net/dethereal install --harness codex,opencode --scope user

Dethereal needs Node.js 20.11.1 or later, and Claude Code 2.1.295 or later. Coming from 0.4, also check which platform address the plugin uses; the upgrade notes cover both.

The commands keep their names. Only the prefix follows the harness: /dethereal:threat-model in Claude Code, $dethereal:threat-model in Codex and /dethereal-threat-model in OpenCode.

The Dethereal guide covers installation, the known issues on OpenCode and the full workflow.

dether.net