An attack tree is a drawing of every way you can think of to reach one bad outcome. Bruce Schneier's description from December 1999 is still the one people quote: "you represent attacks against a system in a tree structure, with the goal as the root node and different ways of achieving that goal as leaf nodes." The goal is at the top. The ways of reaching it go underneath, and each way is broken down until it is a single thing an attacker does.
Two properties make an attack tree diagram more than an indented list. The nodes have logic: the children of a node are alternatives unless the node is marked AND, in which case all of them are needed. And the leaves have values, such as what an attack costs, which roll up to the root. With both, the tree answers "what could go wrong?" in a form you can act on: the cheapest way to reach the goal, and what would make that way more expensive.
Why an attack tree matters
Most threat modeling starts from the system. You draw a data flow diagram, walk each element and ask what could go wrong with it. Walking every element gives coverage and produces a long list. An attack tree starts from the other end, with one outcome you cannot afford. It gives depth on that one outcome. The UK's National Cyber Security Centre states the scope rule in its guidance of 23 June 2023: attack trees "should only be used to influence decisions which relate to the core question or concern captured in the tree's root node."
That depth gives you three things.
The tree shows where the easy attacks are. They are seldom the ones people argue about. Schneier's example was PGP, the email encryption program. People choosing it argued about key length, and his tree for the goal "read a message encrypted with PGP" set that argument beside everything else an attacker could do. His conclusion: "the key length of RSA doesn't really matter", because installing a keyboard sniffer or modifying the program on the victim's hard drive is "much easier than breaking the RSA public key."
- The goal
- Where the argument was
- Where the easier attacks were
Goal
Read a message encrypted with PGP
Break the encryption
RSA or IDEA
Recover the passphrase
With a keyboard sniffer
Capture the screen
As the message is read
Grab the private key
After the passphrase is entered
People choosing PGP in 1999 argued about key length, which is part of the first branch. Schneier's tree set that branch beside ways of reading the message that never touch the cryptography. Next to them, the key-length argument looked small. Four of his branches are drawn here. His full tree has several levels and is written as an outline.
The tree also gives the defender a record of every route an attacker could choose. An attacker needs one route that works. You need to know about all of them. The tree lists them all and marks the cheapest.
And the tree lets you compare countermeasures. Schneier called this playing "what if" games: change the value on one leaf, recalculate, and see whether the value at the root changed. A control that leaves the cheapest route untouched has changed nothing an attacker cares about, whatever it cost to build.
When someone asks a question that needs a tree, the question already names the goal. A customer's security questionnaire asks how one tenant is kept out of another tenant's data. A board asks how someone could move money without approval. A penetration test needs a scope that reflects what an attacker would try first. A design review has turned up thirty threats and nobody can say which three matter. In each case the question is about one outcome. A list of findings sorted by severity does not answer it.
Without the tree, each finding becomes a ticket, and every ticket looks as important as the next. The team fixes the cheap route and the expensive one in the order it found them.
Where attack trees come from
Schneier popularised attack trees. He did not invent them, and his article does not say he did. The structure is older than computer security. Safety engineers developed fault tree analysis in the early 1960s to work out which combinations of failures could cause one unwanted event. The US Nuclear Regulatory Commission published the reference text, the Fault Tree Handbook (NUREG-0492), in January 1981. An attack tree is the same structure with a deliberate attacker in place of an accidental failure.
A 2013 survey by Kordy, Piètre-Cambacédès and Schweitzer traces the security lineage. It credits Jonathan Weiss with "the first graphical attack modeling technique", the threat logic trees of 1991, and names Edward Amoroso's 1994 threat trees alongside them. It also reports that the name attack trees "was first mentioned by Salter et al. in 1998 but is often only attributed to Schneier". Schneier was one of that paper's four authors.
1961
Safety engineering
Fault tree analysis
H. A. Watson, Bell Laboratories
A study of launch control safety breaks one unwanted event down into the combinations of failures that cause it, joined by AND and OR gates.
1981
Safety engineering
Fault Tree Handbook, NUREG-0492
Vesely, Goldberg, Roberts and Haasl, US Nuclear Regulatory Commission
The method written up as a reference text, published in January 1981.
1991
Threat logic trees
Jonathan D. Weiss
The same structure pointed at a deliberate attacker, in a paper to the 14th National Computer Security Conference.
1994
Threat trees
Edward Amoroso
Described in the textbook Fundamentals of Computer Security Technology.
1998
Toward a Secure System Engineering Methodology
Salter, Saydjari, Schneier and Wallner
A workshop paper that a 2013 survey of the field credits with the first use of the name attack trees.
1999
The article most people cite
Attack Trees, Dr. Dobb's Journal
Bruce Schneier
The December article that put the method in front of working engineers: AND and OR nodes, values on the leaves, and the cheapest attack.
2005
Formal model
Foundations of Attack Trees
Sjouke Mauw and Martijn Oostdijk
A formal meaning for the drawing: which sets of actions a tree describes, when two trees are the same, and which values can be rolled up.
2010
Formal model
Foundations of Attack-Defense Trees
Kordy, Mauw, Radomirović and Schweitzer
The defender is added to the tree: a countermeasure is attached to the attack it answers, and can be attacked in turn.
The last two entries in the timeline matter to anyone who puts numbers on a tree. Mauw and Oostdijk observed in 2005 that attack trees had been used for years without an agreed meaning, and they supplied one. Kordy and her co-authors added the defender in 2010. Both come up again below.
How an attack tree works, step by step
The parts of a tree
A tree has three kinds of node and two kinds of relationship. The root is the goal. A sub-goal is a way of reaching the node above it that still needs breaking down. A leaf is a single action, the point where "how?" has no further answer worth writing. Between a node and its children the relationship is either OR, where any one child is enough, or AND, where every child is needed.
Goal
Get into the locked room
Leaf
Pick the lock
Sub-goalAND
Use a staff badge
Leaf
Steal a badge
Leaf
Learn its PIN
Leaf
Follow someone in
Three kinds of node
- The root is the goal
- One outcome the attacker wants, written from their side. A different goal is a different tree.
- A sub-goal is a way of getting there
- It still needs breaking down, so it has children of its own.
- A leaf is one action
- It has no children. Leaves are the only place a value is written by hand.
Two kinds of relationship
- OR is the default
- Any one child is enough to reach the node above. An OR node has no mark.
- AND is marked
- Every child is needed. The node is labelled AND, and in a drawn tree an arc joins the edges to its children.
Schneier's figures use one convention worth keeping: "everything that isn't an AND node is an OR node." OR is the default and has no mark. AND is the exception and is always marked. Mauw and Oostdijk draw the AND mark as an arc connecting the edges to the children. Shostack advises preferring OR trees and saying which convention you are using, because, as he puts it, "there is no consistency around AND/OR" between published trees.
Values that roll up from the leaves
A tree with no values is a map. A tree with values is an argument about where to spend. You write a value on each leaf and work out every node above from its children. Schneier gives the rules for the two commonest kinds of value. For a yes or no value: "The value of an OR node is possible if any of its children are possible", and "the value of an AND node is possible only if all children are possible." For cost: "OR nodes have the value of their cheapest child; AND nodes have the value of the sum of their children."
Value 01
Can it be done at all?
Get into the locked room
PossibleA child is possible
Pick the lock
Possible
AND
Use a staff badge
ImpossibleOne child is impossible
Steal a badge
Possible
Learn its PIN
Impossible
Follow someone in
Possible
- OR
- Possible if any child is possible.
- AND
- Possible only if every child is possible.
Value 02
What does the cheapest attack cost?
Get into the locked room
$50The cheapest child
Pick the lock
$400
AND
Use a staff badge
$800$100 + $700
Steal a badge
$100
Learn its PIN
$700
Follow someone in
$50
- OR
- The cost of its cheapest child.
- AND
- The sum of its children.
The first tree shows why an AND node helps the defender: make one step impossible and the whole branch becomes impossible. The second shows why an OR node helps the attacker: the goal costs only as much as its cheapest child, and work on the other branches changes nothing until that child is dealt with.
Schneier lists other yes or no values that roll up the same way: easy or difficult, legal or illegal, special equipment required or none. You can also combine values to answer real questions, such as which is the cheapest attack that needs no special equipment.
Two cautions come with the arithmetic. First, the formal work showed that rolling a value up node by node is only sound when the value's OR rule and AND rule fit together. Mauw and Oostdijk give cost, with minimum for OR and sum for AND, as a value whose rules fit. Probability usually fails this test. As the 2013 survey notes, it needs "additional assumptions, for example mutual independence of all leaf nodes", and the steps of one attack share an attacker, a target and often a tool. The second caution is about where the numbers come from. The NCSC advises scoring nodes "only where this information can be shown to be reliable and meaningful", and adds that cost "should always be considered from the attacker's point of view."
Seven steps from a goal to a decision
Schneier's own instructions take one paragraph: identify the goals, think of all attacks against each, repeat down the tree, then "give the tree to someone else" to add what you missed. Shostack's chapter adds the steps that make a tree usable by others: decide on a representation, consider completeness, prune, and check the presentation. Put together, they come to seven.
- 01
Name one goal, in the attacker's words
A verb and an object: read another customer's files, move money without approval. One goal per tree. A second goal is a second tree, and the two may share branches.
Output: The root node
- 02
List every way to reach it
The first level is the hardest to get complete. A structure helps: through the people, through the process, through the technology, or by access level.
Output: The first-level sub-goals
- 03
Break each way down until a leaf is one action
Stop when a leaf is something you could estimate and one team could counter. Keep every label in the same form.
Output: Leaves, all written as actions
- 04
Mark every AND
Ask of each node whether one child is enough. Where it is not, mark the node, and state the convention beside the drawing.
Output: A tree a stranger reads the same way you do
- 05
Hand it to someone else
A second person adds the nodes the first could not see. Walk the tree against a threat list such as STRIDE, or a technique catalogue such as ATT&CK, for branches nobody thought of.
Output: The missing nodes, added
- 06
Put a value on each leaf and roll it up
Pick one value that matters for this goal, write its basis beside each leaf, and work out every node above. Orders of magnitude are enough.
Output: A value at the root, and the route that sets it
- 07
Decide, and keep the tree
Counter the route that sets the root, recalculate, and repeat until you can accept the value at the root. Mark blocked leaves; do not delete them. Record what you chose to leave.
Output: Defences with a reason, and a record of what was left
A tree can be drawn or written. Schneier presents his largest tree, for PGP, as a numbered outline, and notes that "it's easier to write it in outline form than graphically." The outline works better in a design document. The drawing works better in a meeting, where people can argue over it.
Adding the defender: attack-defense trees
A plain attack tree shows only the attacker. The defences appear indirectly, as a leaf that got more expensive or disappeared. Kordy, Mauw, Radomirović and Schweitzer described the limit in 2010: attack trees "cannot capture the interaction between attacks carried out on a system and the defenses put in place". Their attack-defense tree has two types of node. Any node may have one child of the opposite type, representing a countermeasure. An attack can have a defence as its child, and that defence can have, as its own child, the attack that gets round it.
Their notation draws attacks as circles and defences as rectangles, with countermeasures on dotted edges. The worked example below uses the same idea: rounded nodes for attacks, sharp-cornered ones for defences. This guide spells "attack-defense" the way its authors do.
An attack tree example: reading another customer's files
A software company sells a file vault to engineering firms. Each customer firm has a workspace of drawings, contracts and tender documents, and shares individual files with its own clients by link. A large customer's security questionnaire asks how the vault keeps one firm out of another firm's workspace. The security lead decides to answer it with an attack tree.
Step 1, the goal. Read another customer's files. The goal is written from the attacker's side. It names one outcome, and that outcome would end the contract.
Steps 2 and 3, the breakdown. The first session found three ways: sign in as one of the other firm's users, ask the application for the files directly, or go through the support console that staff use to help customers. Each was broken down until the leaves were single actions, six in all, numbered 1.1 to 3.2.
Step 4, the logic. Five of the six leaves are alternatives. The support console is different. It accepts connections only from the staff network. An attacker needs both a support agent's session and a place on that network, and neither is any use alone. Branch 3 is an AND node.
Step 5, the second reader. A platform engineer read the tree and added leaf 2.2. Share links in the vault never expired, and she had seen customers paste them into public issue trackers.
Step 6, the values. The team chose attacker cost and wrote down where each number came from.
- The goal
- The cheapest route to it
ANDevery child is needed.No mark is OR: any one child is enough.
Goal
Read another customer's files
$50The cheapest branch
1
Sign in as one of their users
$200The cheaper leaf
1.1
Reuse a breached password
$200
1.2
Phish a user with a fake sign-in page
$1,500
2
Ask the application for their files
$50The cheaper leaf
2.1
Change the file ID in a download request
$50
2.2
Use a share link that never expires
$500
3AND
Use the support console
$10,000$4,000 + $6,000
3.1
Steal a support agent's session
$4,000
3.2
Get onto the staff network
$6,000
Where each leaf's price comes from
- 1.1$200
- A breach list and a rented pool of addresses to try it from. It works on any user who has reused a password, because sign-in asks for nothing else.
- 1.2$1,500
- A phishing kit that relays the sign-in as it happens, a look-alike domain, and a week of someone's time.
- 2.1$50
- One month of the cheapest plan, which buys a valid session and a download request to edit.
- 2.2$500
- A few days of searching old email threads and public issue trackers for links that were shared once and still open.
- 3.1$4,000
- Malware on a support agent's laptop that lifts a signed-in console session.
- 3.2$6,000
- A foothold on the office network or the VPN, because the console accepts connections only from the staff network.
The arithmetic takes a minute. Branch 1 is an OR node, so it costs what its cheaper leaf costs: $200. Branch 2 is $50 by the same rule. Branch 3 is an AND node, so it is $4,000 plus $6,000. The root is an OR node over $200, $50 and $10,000, so reading another customer's files costs an attacker $50, by changing a file ID in a download request.
The team had spent the previous quarter hardening the support console.
Step 7, the decisions. The team drew each defence as a node of its own, attached to the leaf it answers, and recalculated the root after each one.
- Defence, on a dotted edge
- Goal, and the attack on a defence
- The cheapest route now
A dashed node is blocked and stays on the drawing.
Goal
Read another customer's files
$1,500The cheapest branch
1
Sign in as one of their users
$1,500The cheaper leaf
1.1
Reuse a breached password
$1,700$200 + $1,500
Defence
Require a second factor at sign-in
Attack
Relay the code through a fake sign-in page
$1,500
1.2
Phish a user with a fake sign-in page
$1,500
2
Ask the application for their files
BlockedBoth leaves blocked
2.1
Change the file ID in a download request
Blocked
Defence
Check the file's owner on every download
2.2
Use a share link that never expires
Blocked
Defence
Open a link only for its signed-in recipient
3AND
Use the support console
$10,000$4,000 + $6,000
3.1
Steal a support agent's session
$4,000
3.2
Get onto the staff network
$6,000
The root, recalculated after each defence
Today
No defences drawn
- 1 · Sign in as a user
- $200
- 2 · Ask the application
- $50
- 3 · Support console
- $10,000
Root$50by 2.1
Defence one
Check the file's owner on every download
- 1 · Sign in as a user
- $200
- 2 · Ask the application
- $500
- 3 · Support console
- $10,000
Root$200by 1.1
Defence two
Require a second factor at sign-in
- 1 · Sign in as a user
- $1,500
- 2 · Ask the application
- $500
- 3 · Support console
- $10,000
Root$500by 2.2
Defence three
Open a link only for its signed-in recipient
- 1 · Sign in as a user
- $1,500
- 2 · Ask the application
- Blocked
- 3 · Support console
- $10,000
Root$1,500by 1.2
Checking the file's owner on every download blocked leaf 2.1, and the root rose to $200: the cheapest route was now a reused password. Requiring a second factor at sign-in came next. It did not block leaf 1.1, but it changed it. A reused password still works if the attacker also relays the one-time code through a fake sign-in page. The drawing shows that relay as an attack attached to the defence. Leaf 1.1 now cost $200 plus $1,500, so branch 1 fell back to leaf 1.2 at $1,500. The root moved to $500, by way of the old share links. Opening a link only for its signed-in recipient blocked leaf 2.2. Branch 2 then had no way through.
Three changes took the cheapest attack from $50 to $1,500. Phishing is now the leaf that sets the root. The tree also shows what would raise the root again: a sign-in method that a fake page cannot relay.
The team left branch 3 alone. At $10,000 it is not where the next attack will come from, and the tree records that choice as a decision with a number behind it. The lead entered it on the risk register as accepted, with the support manager as owner and a review date of 30 June 2027. Leaves 2.1 and 2.2 stayed on the drawing, dashed. A release that removed the ownership check would bring leaf 2.1 back at $50. The dashed node tells a later reader to check for that.
The company answered the questionnaire with the goal, the three routes, the defence on each, and the route it chose to accept.
Common mistakes
Eight mistakes recur, and each has a plain fix.
- A root that is not a goal. "Hack the file vault" and "Vault security" cannot be finished, because nothing says when the attacker has won. The fix is one outcome, a verb and an object, in the attacker's words.
- Mixed kinds of node. A vulnerability, an attacker, a technique and a missing control on one level cannot be compared or priced. The fix is Shostack's: node labels "of the same form, focusing on active terms."
- Unmarked AND nodes. Readers assume OR, so an unmarked AND node reads as two cheap attacks when it is two cheap steps of one attack. The fix is to mark every AND and print the convention beside the tree.
- Stopping at the wrong depth. "Exploit the application" is too vague to price, and "send the third packet" is too fine to matter. The fix is to stop where a leaf is one action you could estimate and one team could counter.
- Numbers with no basis. A cost with no stated basis starts an argument about the number instead of the route. The fix is a line beside each leaf saying where its value came from, and no more precision than an order of magnitude.
- Treating the tree as complete. Schneier admits "there's always the chance that you forgot about an attack", and Shostack asks how you would know you were done. The fix is a second reader, a walk against a threat list, and a habit of reopening the tree when the system changes.
- Deleting blocked leaves. The attack was real, and the defence that blocked it can be removed by a later change. The fix is to mark the leaf, as Shostack advises, so readers can see the attack was considered.
- One tree for every worry. Schneier's rule is that "each goal forms a separate tree". The fix is one goal per tree and, following Shostack, no tree larger than a page.
The first two are worth drawing, because one repair fixes both.
Before · four kinds of thing on one level
Hack the file vault
No outcome named
Weak passwords
A condition
A malicious insider
An attacker
SQL injection
A technique
No audit log
A missing control
Nothing here can be priced or countered, because none of the four children says what an attacker does. Each one describes the system, and none is a step toward a goal.
Name the outcome, then ask how
After · every child answers “how?”
Read another customer's files
One outcome, in the attacker's words
Sign in as one of their users
A way of getting there
Ask the application for their files
A way of getting there
Use the support console
A way of getting there
Each child is a verb and an object, so each can be broken down again. The weak passwords and the missing log come back lower down, as the reason a leaf is cheap.
An attack tree compared with its neighbours
Start with MITRE ATT&CK, because both it and the attack tree are described as ways of mapping what an attacker does. MITRE describes ATT&CK as "a globally-accessible knowledge base of adversary tactics and techniques based on real-world observations." It is drawn as a matrix. MITRE's own FAQ says its tactics "are unordered and may not all occur in a single intrusion". Nothing in it is a root, and nothing in it is about your system.
MITRE ATT&CK · a knowledge base, laid out as a matrix
Initial Access
Phishing
T1566
Valid Accounts
T1078
Credential Access
Credential Stuffing
T1110.004
Steal Web Session Cookie
T1539
A few cells of the Enterprise matrix. Each column is a tactic: the goal an adversary has at that step. Each cell is a technique: how the adversary reaches that goal. The columns have no order and there is no root. The matrix records what adversaries have been seen to do, not attacks on one particular system.
A technique can name a leaf
An attack tree · one goal against your system, broken down
1
Sign in as one of their users
1.1
Reuse a breached password
T1110.004
1.2
Phish a user with a fake sign-in page
T1566
One branch of the worked example. The tree has what the matrix has no place for: the goal, the logic between the steps and the price of each. The matrix gives a leaf a shared name and a way to check whether a known technique was left off.
The other neighbours differ on two questions: whether the drawing starts from a goal or from a system, and whether it has logic between the steps.
| Term | What it is | Reach for it when |
|---|---|---|
| Attack tree | One attacker goal at the root, broken down into the ways of reaching it, with AND and OR between the steps. | One outcome matters enough to want every route to it, and you need to choose between defences. |
| Attack-defense tree | An attack tree with defences drawn as nodes on the attacks they answer, and attacks on those defences in turn. | The question is which defence to add next, or whether one you already have is still worth its cost. |
| Fault tree | The safety engineer's original: one unwanted event broken down into the failures that cause it, joined by gates. | The cause is accident or wear, and the failure rates of the parts are known. |
| Data flow diagram with STRIDE | A drawing of the system, with six categories of threat asked of every element on it. | You want coverage of a whole design and do not yet know which outcome to worry about. |
| MITRE ATT&CK | A knowledge base of tactics and techniques that adversaries have been observed using, laid out as a matrix. | You want shared names for attacker behaviour, or a check on what a tree or a detection plan has missed. |
| Cyber Kill Chain | An ordered sequence of phases that one intrusion passes through, from reconnaissance onward. | You are describing or disrupting a single intrusion over time, phase by phase. |
| PASTA | A seven-stage, risk-centric threat modeling method. Its sixth stage models attacks, and building attack trees is one of its activities. | The whole analysis has to be tied to business impact, and there is analyst time to run all seven stages. |
In a threat model, an attack tree adds depth to the survey of the whole system. Shostack introduces them as "an alternative to STRIDE" that can be used "as a way to find threats, as a way to organize threats found with other building blocks, or both." The second use is the practical one: run STRIDE on the diagram for coverage, then build a tree for the one or two outcomes that worry you. Our comparison of STRIDE, PASTA and LINDDUN covers the choice between methods, the STRIDE walkthrough covers the six categories, and the step-by-step guide covers the wider procedure that a tree is part of.
NIST's draft SP 800-154 also belongs in this comparison, because it approaches the same question from the data. Its method selects "attack vectors" against one kind of data and characterises the controls against each. The result is close to a list of a tree's leaves and their countermeasures, without the levels between them.
Standards and references
Bruce Schneier, "Attack Trees", Dr. Dobb's Journal (December 1999). The article that made the method widely known, and still the clearest short account: the safe and PGP examples, the AND and OR convention, the roll-up rules and the "what if" use. The quotations attributed to Schneier in this guide are from it.
Salter, Saydjari, Schneier and Wallner, "Toward a Secure System Engineering Methodology", New Security Paradigms Workshop (September 1998). The paper a later survey credits with the first use of the name.
Sjouke Mauw and Martijn Oostdijk, "Foundations of Attack Trees", ICISC 2005 (LNCS 3935, Springer). The formal definition: a tree stands for a set of attacks, two trees that describe the same set are equivalent, and a value can be rolled up safely only when its rules meet a stated condition.
Kordy, Mauw, Radomirović and Schweitzer, "Foundations of Attack-Defense Trees", FAST 2010 (LNCS 6561, Springer; workshop September 2010, proceedings 2011). The source for attack-defense trees and their notation.
Kordy, Piètre-Cambacédès and Schweitzer, "DAG-Based Attack and Defense Modeling: Don't Miss the Forest for the Attack Trees" (arXiv, 29 March 2013). A survey of more than thirty related formalisms, and the source for the lineage from Weiss (1991) and Amoroso (1994) given above.
Vesely, Goldberg, Roberts and Haasl, Fault Tree Handbook, NUREG-0492, US Nuclear Regulatory Commission (January 1981). The reference text for the safety method attack trees descend from.
Adam Shostack, Threat Modeling: Designing for Security, chapter 4, "Attack Trees", Wiley (February 2014). The practitioner's account, including the six creation steps and a frank section on where trees are hard to use. The author publishes the chapter on his own site.
UK National Cyber Security Centre, "Using attack trees to understand cyber security risk" (version 2.0, 23 June 2023). Government guidance on building and evaluating a tree, and the source of the scope rule quoted above.
MITRE ATT&CK (FAQ read 2 December 2026, content version 20.1). MITRE started ATT&CK in 2013 and updates it twice a year, so cite the version you read.
NIST SP 800-154, Guide to Data-Centric System Threat Modeling (initial public draft, March 2016). Still a draft. NIST posted a note in January 2025 stating that it plans to finalise the publication.
How Alvor helps
An attack tree ends in a short list: the leaves you decided to counter, the ones you accepted, and the reason for each. With Alvor, that list becomes part of the design record.
You model the system on a diagram in the Secure by Design module and choose how to run its threat model, as STRIDE or freeform. Freeform suits threats that come from a tree, because you add each one as you find it. STRIDE adds a checklist for every element when you want coverage of the whole design as well. Components, data stores, external entities, data flows and trust boundaries are registered from the diagram, so a leaf such as "change the file ID in a download request" is recorded as a threat against the element it affects, with a severity and a status.
The threat library describes each threat by attacker and method, with the controls that deal with it. Each library entry has the same shape as a leaf and its defence. The library is yours to edit, and your changes survive updates.
Every threat gets one of three decisions: it applies and these controls deal with it, it does not apply and here is why, or the risk is accepted. Accepting a high or critical threat needs a residual risk in the register, so a branch you chose to leave, like the support console in the example, has an owner and a rationale.
The AI Assistant can do the drafting. The AI Design Studio draws the architecture as editable shapes from a written description, and the AI Threat Modeling Studio registers elements and proposes threats from your library. Each batch waits on an approval card until a person approves or rejects it. The AI Assistant runs on the model you bring.
Every module runs in every deployment: a dedicated single-tenant instance in the region you choose, the same containerised platform on your own servers, or fully air-gapped with a self-hosted model such as vLLM or Ollama inside the boundary. Threat Modeling in Alvor covers the diagram, the guided session and the library in more detail.