We manage your security to weather the AI storm →

← Resource Hub

Threat Modeling vs Risk Assessment: Which Comes First?

By Daniel GelfandPublished 9 min read

Threat Modeling vs Risk Assessment: Which Comes First?

Quick answer. Threat modeling maps how a system can be attacked: assets, actors, trust boundaries and attack paths. A risk assessment scores those paths by likelihood and business impact, then assigns treatment and owners in the risk register.

Watch: Threat Modeling vs Risk Assessment: Which Comes First? 1:46
Video transcript

Threat models and risk registers that never reference each other leave two gaps: attack paths nobody owns, and scores nobody can trace.

A threat model maps how a system can be attacked. A risk assessment scores those attack paths by likelihood and business impact, then assigns treatment and owners.

For architecture work, model first. A risk you have not described cannot be scored with confidence. Enterprise triage can run the other way.

Then it loops. Model the paths, score each one, decide treatment and an owner. Material changes feed the model again.

Keep the attack path in the register. In Guardian's mapping, each row holds the asset, the threat event, inherent and residual scores, controls, and an owner with a review trigger.

A compromised admin key leads to an unauthorized upgrade. Bad oracle data drives wrong borrowing or liquidation. Each path gets named controls in the register.

Keepers show why the model must cross the onchain and offchain boundary. Guardian's GMX keeper review returned 55 findings, eight High, all eight resolved. It is one engagement, not an industry rate.

NIST CSF 2.0 is guidance: record threats, then prioritize response by likelihood and impact. DORA is binding EU law, applied since January 17, 2025. Confirm scope with counsel.

Read the full article, or talk to Guardian. Managed Security reviews every deployment and configuration change as it lands, with monitoring around the clock.

Why the Order Matters

A threat model and a risk register that never reference each other leave two gaps: attack paths nobody owns, and risk scores nobody can trace.

In a digital asset system, those paths cross contracts, admin keys, oracles, keepers, APIs, cloud infrastructure and third-party dependencies. Guardian

This article compares the two methods, sets their order and shows the handoff. For a full worked model, see our threat model example for a DeFi lending protocol.

Definitions in One Table

Threat modeling analyzes a representation of a system to find its security and privacy concerns. Threat Modeling Manifesto working group

The Threat Modeling Manifesto frames it as four questions: what are we working on, what can go wrong, what will we do about it, and did we do a good enough job?

A risk assessment is decision support. NIST SP 800-30 places it within risk management, giving senior leaders what they need to choose a response, such as mitigation or accepting residual risk. National Institute of Standards and Technology

DimensionThreat modelingRisk assessment
Core questionHow can this system be attacked?Which risks matter most, and what do we do?
Unit of analysisAssets, actors, trust boundaries and attack pathsRisks scored on likelihood and business impact
Main outputAttack paths and candidate controlsRanked risks, treatment decisions and owners
Main audienceBuilders, operators and security reviewersSenior leaders and risk owners
CadenceRefined continuously as the system changesRepeated and maintained as conditions change

Inputs and Outputs

The two methods consume different evidence and produce different artifacts.

A threat model starts from how the system is built and ends with attack paths. A risk assessment starts from those paths and ends with decisions.

Without that split, a register fills with vague rows such as smart contract risk, which no single control can answer.

StageThreat modelingRisk assessment
InputsDiagrams, roles, keys, data flows, offchain services, vendorsModeled paths, asset values, existing controls, risk tolerance
Key judgmentWhat can go wrong, and whereHow likely, and how bad for the business
OutputAttack paths with candidate controlsScored risks, treatments, owners and register rows
Done whenEvery path to funds has a control or a named gapEvery material risk has a decision and an owner

Which Comes First

For architecture work, model first. A risk you have not described cannot be scored with any confidence.

Treatment changes the system, and material changes feed the model again. The Manifesto favors this continuous refinement over a single delivered document. Threat Modeling Manifesto working group

Enterprise triage can run the other way. NIST frames risk assessment across a hierarchy, from the organization down to individual systems. National Institute of Standards and Technology

A firm with many systems can use a high-level assessment to pick which ones deserve a deep threat model first.

Guardian's Managed Security describes this live loop: every path to funds mapped, updated in real time as the protocol changes, and multisig transactions verified before signing. Guardian

Feeding the Risk Register

The handoff fails when a register row drops the attack path. Keep the path, then add business context.

The fields below are Guardian's mapping, grounded in the NIST risk-assessment process rather than a mandated template. National Institute of Standards and Technology

For scored sample rows on a four-point scale, see our Part 500.9 risk assessment template.

  • Asset: the funds, key or service the path reaches.
  • Threat event: the modeled path, the attacker capability it needs and the trust boundary it crosses.
  • Inherent likelihood and impact, scored before controls.
  • Controls, each tied to the path step it breaks.
  • Residual likelihood and impact, scored after controls.
  • Treatment: mitigate, transfer, avoid or accept, with a written justification.
  • Owner and due date for each open action.
  • Review trigger: the system change that reopens the row.

Keys, Oracles, Signers and Keepers

Admin keys: the model traces compromised signer access to an unauthorized upgrade or transfer.

The register then records treatments such as signer separation, threshold approvals, transaction decoding, timelocks and monitored outflow limits. Our institutional signer policy covers thresholds, transaction decoding and timelocks.

Oracles: the model follows stale, manipulated or misconfigured price data into wrong issuance, borrowing or liquidation.

The matching register row names price bounds, freshness checks, fallback feeds and one owner for parameter changes. For attack mechanics, see oracle manipulation attacks.

In Guardian's public GMX Risk Oracle report, the RISK_ORACLE role could update sensitive market parameters within broad per-key bounds. Important cross-parameter checks were missing. Guardian

If the minimum collateral factor fell below the liquidation threshold, users could open positions that were immediately liquidatable. The finding, rated Low and now resolved, shows why a register row needs bounds across parameters, not just per key.

Signers: the model asks what a signer can see and approve, which API or frontend builds the transaction, and whether a compromised device can skip independent review.

The assessment then ranks the outcomes: client-asset loss, outage, regulatory exposure and recovery cost.

Keepers show why the model must cross the onchain and offchain boundary. Guardian's GMX keeper review, run from January to June 2026, is one public example.

Its scope included order execution, liquidations, funding-rate and risk-oracle executors, an HTTP API, a signed-price service and infrastructure dependencies.

The focus was keeper logic diverging from contract behavior, including pricing and risk math re-derived in TypeScript. A contract-only threat model would miss that path.

The review returned 55 findings, eight of them High, and all eight High findings were resolved. Details remain private, so this is one engagement, not an industry rate.

The DORA and NIST CSF 2.0 View

Neither framework supplies a protocol-specific threat model. Both set governance and outcome requirements that a live model and register can map into. European Union, EUR-Lex, European Banking Authority, National Institute of Standards and Technology

NIST CSF 2.0, published February 26, 2024, sets high-level outcomes for understanding, assessing, prioritizing and communicating cybersecurity risk.

It is guidance rather than law for most teams. Its Govern function (GV.RM) holds risk strategy.

ID.RA-03 calls for internal and external threats to be identified and recorded. ID.RA-05 uses threats, vulnerabilities, likelihoods and impacts to understand inherent risk and prioritize risk response.

Threat model paths are the ID.RA-03 record; register scores and treatments answer ID.RA-05 and Govern. Our NIST CSF 2.0 controls list sets out every subcategory and maps key ones to digital asset controls.

DORA, Regulation (EU) 2022/2554, is binding EU law. The EBA states it has applied since January 17, 2025.

It covers ICT risk-management frameworks, the identification and classification of ICT assets, resilience testing and ICT third-party risk.

Article 8(2) requires firms to identify all sources of ICT risk on a continuous basis. They must also assess cyber threats and ICT vulnerabilities.

Article 8(3) requires firms other than microenterprises to run a risk assessment on each major change. That covers network and information system infrastructure, and processes affecting ICT assets.

A live threat model can map each wallet, signer, contract and vendor to those duties. The register then shows how each was assessed and treated.

Which DORA provisions apply depends on legal status and jurisdiction, so confirm with counsel. Our guide to DORA for crypto companies covers scope.

Frequently Asked Questions

Is a penetration test a risk assessment?

No. A pentest checks whether specific weaknesses can be exploited within a defined scope. Its findings feed both methods: they confirm or add threat model paths and raise likelihood scores in the register. See what a web3 pentest covers.

Does NIST CSF 2.0 require a specific threat modeling method?

No. CSF 2.0 describes outcomes and does not prescribe one implementation, threat modeling or scoring method. Choose methods that give consistent, comparable results you can trace to risk decisions. National Institute of Standards and Technology

How often should the threat model and risk register be updated?

Whenever the system or its dependencies change materially: an upgrade, a signer change, a new chain, an oracle change, an incident or a material vendor change. Likelihood and impact scores rest on judgment, so rescore the affected rows each time.

How do threat assessment, risk analysis and risk management differ?

NIST defines threat assessment as formally evaluating the degree and nature of threat to an information system or enterprise. Risk analysis identifies risks, their probability and impact, and safeguards; NIST treats it as synonymous with risk assessment. Risk management is wider: frame, assess, respond and monitor. National Institute of Standards and Technology, CSRC, National Institute of Standards and Technology

Sources

Keep Your Threat Model Live

Guardian Managed Security reviews every deployment and configuration change as it lands. Monitoring runs around the clock, and when something fires, a Guardian engineer who knows your system responds.