SemText

Reference · SemText · Knowledge & documents

<sem-threat-model>

SemText element

You author them inside as sections or list prose; the container adds the chrome, label and scope. It frames the analysis — it does not check it.

A threat-model container: assets, threats and mitigations. You author them inside as sections or list prose; the container adds the chrome, label and scope. It frames the analysis — it does not check it. optional methodology qualifier drawn into the label chrome (display-only sugar). free token naming the modelled boundary; drawn into the label chrome when present. per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2)

Example

sem-threat-model.html
source
1 <sem-threat-model id="tm-portal" kind="stride" scope="infra portal">
2 <section>
3 <h2>Assets</h2>
4 <p>Session tokens; the Infisical-backed secret store.</p>
5 </section>
6 <section>
7 <h2>Mitigations</h2>
8 <p>Tokens rotate per session; secrets never reach the browser.</p>
9 </section>
10 </sem-threat-model>
render
No shipped runtime for this element — the authored example renders as plain HTML.

Source: spec/schema/sem-threat-model.md