Back to blog
announcementdethereal

Dethereal 0.8.0: a threat model by interview

Dethereal 0.8.0 builds a first threat model from a conversation. You answer questions about your system in your own words, in any language, with no repository needed, and watch the model take shape on the platform.

dether.net

Dethereal 0.8.0: a threat model by interview

Dethereal, the open-source plugin, builds a threat model from your repository. Not everyone who knows a system has one to point at, so Dethereal 0.8.0 adds /dethereal:interview, which builds a first threat model from a conversation instead.

Who it's for

The interview is for the person who knows how the system works but doesn't have the code at hand, or doesn't write code: an architect, a product owner, someone looking after a system a supplier runs. You answer in your own words, in any language, and you need no security vocabulary. The questions are plain: "how does it check who's calling?" No repository is needed. Two people can also answer together, for example an integrator and its customer.

How it goes

After a short set-up, the interview asks one question at a time, through six parts:

  1. How it's used
  2. What would hurt
  3. Who else uses it
  4. Where things live and who runs them
  5. How each part is protected
  6. What we have, and what's still open

Each part ends with a read-back: a few plain bullets of what you said, a line of what is still open, and "What's wrong or missing?". Nothing from the part is written until you reply.

If you agree, the model is saved to the platform at the end of each part, so you watch the picture take shape in the editor and can correct it there. At the start of the next part, the interview reads your edits and says them back to you. An edit that moves a part, sets a zone or sets a protection is asked about, not taken as read. You can pause at the end of any part and pick up later with the model's path.

It doesn't guess

A part or flow the interview suggests enters the model only on your plain yes. "I don't know" is a good answer, and it is recorded as one. A hedge such as "I think", "probably" or "maybe" draws nothing: it becomes an open question for the person who can answer it, never a silent assumption.

Here is how that looks in an example, a small booking web app:

Interview: How do your staff sign in to the admin page where they change bookings?

You: Email and password. Two-factor too, I think. Our developer would know.

In the read-back:

  • Staff sign in to the admin page with email and password.

Still open: whether staff need a second factor for the admin page; the developer can say, it's on their list. What's wrong or missing?

Before the sign-off, the interview writes open-questions.md: every open item, numbered and grouped by who can answer, ready to forward. The Dethereal server counts the key protections on the parts that matter most: how many you stated, how many rest on a provider default you accepted, how many you didn't know, which are still to decide, and which the interview didn't get to ask. Then you sign off. Signing off means this is your system as far as you know today, and you know exactly what your model rests on.

What comes next

The sign-off gives you a first draft of the system, a quick model. How someone could attack it is the next step. Run /dethereal:threat-model --full on the model, and the guided workflow picks up where the interview stopped. At its enrichment step, it writes into the empty fields what your answers stated, without asking you again, each value with the words of yours it rests on.

Running it

HarnessCommand
Claude Code/dethereal:interview
Codex$dethereal:interview
OpenCode/dethereal-interview

The interview comes with Dethereal 0.8.0, which goes with platform 0.19.0: update the platform first, then Dethereal. Sign in to the platform (/dethereal:login in Claude Code) so the model can be saved there as it grows.

The interview guide walks through the six parts, the read-backs, pausing and resuming, and what the counts mean.

dether.net