-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: defining a threat model for Ubuntu Frame
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Threat Model | ||
Mir is a C++ library for building compositors, not a product itself. As such, | ||
when discussing the threat model for Mir, it is useful to discuss it in terms | ||
of an actual product that is built on Mir. With this in mind, we will define | ||
the threat model of **Ubuntu Frame** in this document. | ||
|
||
## Ubuntu Frame Threat Model Diagram | ||
Ubuntu Frame is published as a snap. As such, the threat model for frame assumes | ||
that the snap is secure, and proceeds to outline the frame snap's interactions | ||
with the outside world. | ||
|
||
```{mermaid} ubuntu_frame_threat_model.mmd | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
%%{ init: { 'flowchart': { 'curve': 'monotoneY' } } }%% | ||
flowchart | ||
shell((Mir-based Shell)) | ||
vnc_server(VNC Server) | ||
vnc_client(VNC Client) | ||
osk(On-screen Keyboard) | ||
snapd(Snapd) | ||
operator_app(Operator App) | ||
user(User) | ||
display(Display) | ||
app(App) | ||
|
||
subgraph snap [Snap] | ||
vnc_server--input-->shell | ||
shell--screen content-->vnc_server | ||
|
||
osk--content/input-->shell | ||
shell--input-->osk | ||
end | ||
|
||
shell--contents/configuration--->display | ||
snapd--configuration-->shell | ||
display--visuals-->user | ||
operator_app--help message-->shell | ||
user--input events-->shell | ||
display--properties-->shell | ||
vnc_server<--vnc-->vnc_client | ||
app--window contents-->shell | ||
shell--input/window management-->app | ||
|
||
classDef boundary fill:none,stroke-dasharray: 5 5 | ||
snap:::boundary |