---
title: "Security and threat model"
url: https://afflom.github.io/prism-devrel/case-studies/rule30/security/
diataxis: explanation
developer-journey: evaluate
collection: case-studies
collection-group: "Rule 30"
subject: https://github.com/afflom/rule30
commit: e3be477fded263029479127363f7fb6a3597e7d4
---

# Security and threat model

> The assets of Rule 30, its threats, risks and controls, and the risks it accepts on purpose.

Subject: [Rule 30](https://github.com/afflom/rule30) at commit [`e3be477fded2`](https://github.com/afflom/rule30/tree/e3be477fded263029479127363f7fb6a3597e7d4), 2180 facet records, source digest `c4584388f052fc09`.

**Figure: Security and threat model records by kind.** The 20 records this page teaches, one bar for each kind. Each kind has its own section below.

| | Count |
| --- | --- |
| ApplicationSecurityControl | 4 |
| Asset | 4 |
| Risk | 4 |
| SecurityActivity | 4 |
| Threat | 4 |

The security facet holds ISO/IEC 27034 and ISO/IEC 27005 records: assets, threats, risks and controls. Its `Production.ThreatModel` rows give them names, STRIDE categories and evidence. Once any row is present, the SDK checks three things. Every threat has a control or an accepted risk (PP2019). Every control has evidence (PP2020). Every threat has a category (PP2021). See [PrismPM SPEC section 2.3](https://github.com/UOR-Foundation/prismpm/blob/15f630aa6deec5d6490ac22e222381fa28d6f17d/SPEC.md#23-threat-models).

- A risk joins one asset and one threat with a likelihood and an impact.
- A control answers a risk; its evidence is a gate, a proof or a review.
- An accepted risk states why it is accepted, so it cannot be read as mitigated.

[Security and threat model facet](https://afflom.github.io/prism-devrel/facets/security/) explains the facet for every Prism model, with the counts of every case study.

## Every record

| Index | Record | Kind | Name |
| --- | --- | --- | --- |
| 538 | `ResearchArchitecture::attemptAsset` | Asset | attemptAsset |
| 540 | `ResearchArchitecture::claimAsset` | Asset | claimAsset |
| 547 | `ResearchArchitecture::forgedOrigin` | Threat | forgedOrigin |
| 548 | `ResearchArchitecture::forgedOriginRisk` | Risk | forgedOriginRisk |
| 550 | `ResearchArchitecture::importedGoalAsset` | Asset | importedGoalAsset |
| 559 | `ResearchArchitecture::kernelAndRegisterGate` | ApplicationSecurityControl | kernelAndRegisterGate |
| 560 | `ResearchArchitecture::kernelAndRegisterGateActivity` | SecurityActivity | kernelAndRegisterGateActivity |
| 568 | `ResearchArchitecture::orphanedProcess` | Threat | orphanedProcess |
| 569 | `ResearchArchitecture::orphanedProcessRisk` | Risk | orphanedProcessRisk |
| 570 | `ResearchArchitecture::ownedInspection` | ApplicationSecurityControl | ownedInspection |
| 571 | `ResearchArchitecture::ownedInspectionActivity` | SecurityActivity | ownedInspectionActivity |
| 584 | `ResearchArchitecture::quarantineAndFence` | ApplicationSecurityControl | quarantineAndFence |
| 585 | `ResearchArchitecture::quarantineAndFenceActivity` | SecurityActivity | quarantineAndFenceActivity |
| 589 | `ResearchArchitecture::snapshotBinding` | ApplicationSecurityControl | snapshotBinding |
| 590 | `ResearchArchitecture::snapshotBindingActivity` | SecurityActivity | snapshotBindingActivity |
| 591 | `ResearchArchitecture::staleCompletion` | Threat | staleCompletion |
| 592 | `ResearchArchitecture::staleCompletionRisk` | Risk | staleCompletionRisk |
| 593 | `ResearchArchitecture::unverifiedPublication` | Threat | unverifiedPublication |
| 594 | `ResearchArchitecture::unverifiedPublicationRisk` | Risk | unverifiedPublicationRisk |
| 598 | `ResearchArchitecture::workspaceAsset` | Asset | workspaceAsset |

## ApplicationSecurityControl (4)

### `kernelAndRegisterGate`

`ResearchArchitecture::kernelAndRegisterGate` · ApplicationSecurityControl · #559 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `0`
- riskIndex: `3`

Taught by: security

### `ownedInspection`

`ResearchArchitecture::ownedInspection` · ApplicationSecurityControl · #570 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `1`
- riskIndex: `0`

Taught by: security

### `quarantineAndFence`

`ResearchArchitecture::quarantineAndFence` · ApplicationSecurityControl · #584 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `2`
- riskIndex: `1`

Taught by: security

### `snapshotBinding`

`ResearchArchitecture::snapshotBinding` · ApplicationSecurityControl · #589 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `3`
- riskIndex: `2`

Taught by: security

## Asset (4)

### `attemptAsset`

`ResearchArchitecture::attemptAsset` · Asset · #538 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `0`
- componentIndex: `6`

Taught by: security, slides

### `claimAsset`

`ResearchArchitecture::claimAsset` · Asset · #540 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `1`
- componentIndex: `7`

Taught by: security

### `importedGoalAsset`

`ResearchArchitecture::importedGoalAsset` · Asset · #550 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `2`
- componentIndex: `2`

Taught by: security

### `workspaceAsset`

`ResearchArchitecture::workspaceAsset` · Asset · #598 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `3`
- componentIndex: `8`

Taught by: security

## Risk (4)

### `forgedOriginRisk`

`ResearchArchitecture::forgedOriginRisk` · Risk · #548 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `0`
- assetIndex: `2`
- threatIndex: `0`
- likelihood: `(ctor Foundation.Sec::Likelihood.medium)`
- impact: `(ctor Foundation.Sec::Impact.critical)`

Taught by: security

### `orphanedProcessRisk`

`ResearchArchitecture::orphanedProcessRisk` · Risk · #569 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `1`
- assetIndex: `3`
- threatIndex: `1`
- likelihood: `(ctor Foundation.Sec::Likelihood.medium)`
- impact: `(ctor Foundation.Sec::Impact.critical)`

Taught by: security

### `staleCompletionRisk`

`ResearchArchitecture::staleCompletionRisk` · Risk · #592 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `2`
- assetIndex: `0`
- threatIndex: `2`
- likelihood: `(ctor Foundation.Sec::Likelihood.medium)`
- impact: `(ctor Foundation.Sec::Impact.critical)`

Taught by: security

### `unverifiedPublicationRisk`

`ResearchArchitecture::unverifiedPublicationRisk` · Risk · #594 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `3`
- assetIndex: `1`
- threatIndex: `3`
- likelihood: `(ctor Foundation.Sec::Likelihood.medium)`
- impact: `(ctor Foundation.Sec::Impact.critical)`

Taught by: security

## SecurityActivity (4)

### `kernelAndRegisterGateActivity`

`ResearchArchitecture::kernelAndRegisterGateActivity` · SecurityActivity · #560 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `0`
- controlIndex: `0`

Taught by: security

### `ownedInspectionActivity`

`ResearchArchitecture::ownedInspectionActivity` · SecurityActivity · #571 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `1`
- controlIndex: `1`

Taught by: security

### `quarantineAndFenceActivity`

`ResearchArchitecture::quarantineAndFenceActivity` · SecurityActivity · #585 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `2`
- controlIndex: `2`

Taught by: security

### `snapshotBindingActivity`

`ResearchArchitecture::snapshotBindingActivity` · SecurityActivity · #590 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `3`
- controlIndex: `3`

Taught by: security

## Threat (4)

### `forgedOrigin`

`ResearchArchitecture::forgedOrigin` · Threat · #547 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `0`

Taught by: security

### `orphanedProcess`

`ResearchArchitecture::orphanedProcess` · Threat · #568 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `1`

Taught by: security

### `staleCompletion`

`ResearchArchitecture::staleCompletion` · Threat · #591 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `2`

Taught by: security

### `unverifiedPublication`

`ResearchArchitecture::unverifiedPublication` · Threat · #593 · [source](https://github.com/afflom/rule30/blob/e3be477fded263029479127363f7fb6a3597e7d4/rule30-api/src/ResearchArchitecture.lex.tex)

- index: `3`

Taught by: security

