Trike is an open-source threat modeling method created in 2005 by Paul Saitta, Brenda Larcom and Michael Eddington. It treats security as a question of permissions: who is allowed to do what to which asset, and how much risk is acceptable if that rule is broken. Instead of asking a list of questions about every component, you write those rules down first, then look for every way they could be violated.
Quick definition: Trike is a risk-based threat modeling method that starts from a requirements model of actors, assets and allowed actions (create, read, update, delete). Every threat is a way an actor could do something they shouldn't, or be stopped from doing something they should, weighed against the risk the stakeholders accept.
The requirements model
Trike's first step is a table. Rows are actors (customer, support agent, administrator, anonymous user). Columns are assets (an invoice, an account, a payment method). Each cell says which of the four CRUD actions that actor may perform on that asset, and under which rules.
| Actor | Invoice | Customer account | Payment method |
|---|---|---|---|
| Customer | Read own | Read and update own | Create, read and delete own |
| Support agent | Read for their tenants | Read | None |
| Administrator | Create, read, update, delete | Create, read, update, delete | Delete |
| Anonymous | None | Create (sign up) | None |
The words "own" and "for their tenants" are the rules, and they are where most real bugs live. A missing ownership check is exactly what IDOR and broken object level authorization are.
From rules to threats
Trike then reads each cell two ways. Every allowed action can be blocked, which is a denial of service. Every action that is not allowed could still happen, which is an elevation of privilege. That gives a complete, mechanical list of threats for the model. A customer reading another customer's invoice is an elevation of privilege. A customer unable to delete their saved card is a denial of service.
An implementation model, usually a data flow diagram, shows where each action actually happens, so you can see which component has to enforce which rule. Attack trees or attack graphs then show how each threat could be carried out.
Risk in Trike
Trike asks stakeholders to state the acceptable level of risk for each action on each asset, and to value the assets. Threats are then compared with those limits rather than ranked on a generic scale. This makes the result auditable: a reviewer can trace each decision back to a stated rule and a stated tolerance.
Trike vs STRIDE
| Trike | STRIDE | |
|---|---|---|
| Starting point | Actors, assets and allowed actions | A data flow diagram |
| How threats are found | Every rule violated, as denial of service or elevation of privilege | Six categories asked of each element |
| Strength | Complete coverage of authorization flaws | Broad coverage, quick to learn |
| Weakness | Formal, slower, little current tooling | Can miss business logic and authorization rules |
You don't have to choose. A useful habit is to draw the Trike actor and asset matrix for any multi-tenant or role-heavy system, then run STRIDE over the data flow diagram. The matrix catches the authorization flaws STRIDE tends to leave as one vague "elevation of privilege" line. Our multi-tenant SaaS threat model shows the kind of tenant isolation threats this finds.
Using Trike's ideas in ThreatTree
- Draw the implementation model as a DFD with a trust boundary around each tenant or privilege level.
- Make each important rule violation an attack tree goal, such as "Read another tenant's invoices", and tag it with STRIDE's Elevation of Privilege or Denial of Service.
- Score each step on likelihood and impact, and record the acceptable risk as the treatment decision in the risk register.
For how Trike compares with PASTA, OCTAVE and VAST, see threat modeling methodologies compared.
Frequently asked questions
What is the Trike methodology?
Trike is an open-source threat modeling method from 2005 that starts from a requirements model: which actors may create, read, update or delete which assets, and under what rules. Threats are the ways those rules could be broken, and each is weighed against the level of risk the stakeholders accept.
What are the two types of threats in Trike?
Trike groups every threat as either a denial of service, where a legitimate actor is prevented from doing an action they are allowed to do, or an elevation of privilege, where an actor does an action they are not allowed to do.
What is the difference between Trike and STRIDE?
STRIDE starts from a data flow diagram and asks six questions per element. Trike starts from a requirements model of actors, assets and allowed actions, and derives threats as violations of it. Trike is more formal and focuses on authorization; STRIDE is quicker and more widely used.
Is Trike still used?
Trike is less common today than STRIDE or PASTA, and its original tooling has seen little development in recent years. Its central idea, a matrix of who may do what to which asset, remains a useful way to find authorization flaws such as broken object level access.