Security
Your notes are the thing that Outliner protects. This page says what the program does, and what it does not do yet.
What this version does
| Area | Behavior |
|---|---|
| Storage | Plain files in your folder. No account and no server. |
| Network | The program has no network capability. It makes no connection. A link opens in your browser, or goes to the clipboard. |
| Plugins | Off by default. On for one page or for the graph, by your choice. |
| Grants | A plugin has only the grants of its manifest. The panel shows them before you turn the plugin on. |
| Private data | A page or a block with private:: true, and each property of :plugins/private-properties, reaches no plugin. |
| Outputs | A plugin can give data out only as a change of a block, a message, or a command name. Each one is in the activity report with its text. Network and file calls are blocked. |
| The activity report | Each read, change, and blocked call, with the page and the block. A hash chain shows a change of the log file. |
| Revoke | Off stops a plugin at once and deletes its runtime. A plugin keeps no data between sessions. |
| Limits | Each call of a plugin has a compute limit. A loop with no end stops with an error in the report. |
| No JavaScript | A plugin is a Tcl script or a WebAssembly module. |
How a plugin is isolated
- A Tcl plugin runs in a safe interpreter of ztcl. It has no command for files, the network, programs, or the environment. Its only way to the graph is a request to the app. The app checks each request against the grants, the scope, and the private rules, writes it to the log, and then answers.
- A WebAssembly plugin runs in the WebAssembly engine of ztcl. It reaches only its own memory and the host functions of Outliner, with the same checks.
Both run inside the process of the app in this version. The plugin panel says this for each plugin.
What this version does not do yet
- Plugins in a virtual machine. The plan is one isolated VM for each plugin, with a child process as the fallback on a host with no hypervisor. The ztk program does not give these isolation levels to an app yet. The requests of a plugin are data only, so a VM changes the transport and not the rules.
- Tasks for a language model that run in a VM with only the documents of the task.
- Network grants. A grant for one host needs the VM network with an allow list.
- Signed releases for Linux and Windows. The macOS app is signed and notarized when the release has its secrets.
Report a problem
Write to opensource@beetlebug.org. Do not open a public issue for a security problem.