Every extension platform promises a sandbox. The useful question is smaller. Name the things an extension can touch, then name the code that stops it touching anything else.
Minotauris answers that question in one file and enforces it in six places. This is a description of the code in this repository, not a security audit. There is no third-party report to point at.
The manifest is the argument
An extension is a folder. manifest.json carries its identity, its runtime, its view and every permission the host will ever grant. The source file says it plainly: the manifest is the only thing an extension declares, and the only thing the host trusts.
A minimal view-only extension is short enough to read in one sitting:
{
"manifestVersion": 2,
"id": "com.example.hello",
"name": "Hello",
"version": "0.1.0",
"publisher": { "id": "example" },
"description": "A minimal extension.",
"view": { "entry": "ui/index.html", "windows": ["workspace"] }
}manifestVersion is 2. Version 1 remains readable, because app mode was added as an opt-in rather than a migration of every extension already installed.
Nothing in the file executes. It is a parser and a validator, and it is deliberately strict. Two rules shape it: capability names are the host's vocabulary, and every path is relative and contained. Absolute paths, .., Windows drive letters and alternate data streams are rejected when the file is read, not sanitized later by runtime code that might forget.
The vocabulary is not the extension's
An extension cannot invent a capability. capabilities.desktop is a subset of the permission keys the Settings UI already speaks, so the permission panel a user sees is binding rather than decorative.
The desktop vocabulary is nine nouns: shell, filesystem, git, clipboard, screenshot, browserAutomation, desktopInput, processControl, screenStream.
The rule behind it is simple to state and hard to keep: a capability the Settings UI cannot show is a capability the user cannot revoke. If a new noun appears in the manifest before it appears in Settings, the model has already failed.
Six channels, six checks
The host does not check the manifest once at install and then trust the process. It checks per message. Each declaration maps to a different enforcement point.
- Extension data.
filesystem: "extension-data"grants an extension its owndata/directory. Path containment keeps it there. It does not get the host's home directory. - User-selected files.
filesystem: "user-selected"grants handles the user picked in a picker. There is no path-taking API at all, so there is no path to escape. - Network.
capabilities.networklists HTTPS hosts. The view's content security policy enforces it throughconnect-src, and the process tier enforces it on egress. A host that is not listed is not reachable. - Tools.
tools: truelets an extension call host and extension tools through a broker, per tool. The broker is where a call is approved or refused. - Desktop control.
capabilities.desktopgoes through the desktop arbiter, its policy and its transaction. Screen capture, clipboard, input and process control are separate keys because they carry different risk. - Model budget.
mono.prompthands free text to the assistant, and it spends the user's model budget.model.proxyis app-mode only and never exposes a key.
A view is also its own origin. Each one loads from ext://<id> with opaque storage, and the scheme handler serves only that extension's root. The bridge has no path-taking read, so "read the file next to me" has no call to make. On macOS the process sandbox denies /Users and /Volumes, which means a sibling extension folder is unreachable even for a compiled binary.
An extension owns pixels by mounting a document. It never injects a component into the shell's React tree.
Escalation is a decision, not an update
The interesting failure in a permission model is not the first install. It is the update that quietly adds a grant.
Here an update that adds a capability re-prompts at install, and the store shows the diff. The documentation states the reason without hedging: silent escalation is how extension ecosystems lose trust. A model that only checks permissions the first time is a model that grants them forever.
Three failures that do not announce themselves
The boundary has edges that are easy to get wrong, and all three fail quietly.
- Framing. Process messages use
Content-Length: <bytes>followed by the JSON body. Sizes are bytes. A newline-framed server does not error. It hangs. - stdout is the wire. One stray
console.loglands in the middle of a frame and corrupts the stream. Diagnostics go to stderr. - Inline script is refused. The view policy has no
'unsafe-inline'for scripts. Every script needs its own file. Inline style is allowed.
None of these produce a stack trace a new author can read. They produce a blank panel or a process that never answers, which is why the SDK ships a bridge client and the docs ship a debugging table.
What publishing actually checks
Publishing is immediate. The listing lifecycle is draft to published, with no review queue between them. That is worth saying plainly, because it changes what the checks are for. They are mechanical, and they run before the build goes live.
A publisher needs a profile with a support email and country, and the developer agreement accepted. The listing needs a name of at least three characters, a tagline of at least ten, and a description of at least forty. The build must be an uploaded .minoext of at most 250 MB with a matching checksum. At least one screenshot, a support link, a privacy policy URL and one declared capability are also required.
The bundle itself is checked too. The manifest id recorded at upload has to equal the package's own id. The version has to equal the published version. The archive rejects traversal, symlinks, encrypted records, ZIP64, split archives and disagreements between the local header and the central directory. The runtime grants have to be covered by the approved capability list. Activation is two-phase: unpack to staging, rename into place, load, then confirm, or roll back to the previous version.
Paid listings add one more gate. Stripe Connect onboarding completes the KYC, and a published free listing cannot turn paid until the publisher is verified and transfers are active. Free listings do not require verification. A developer can ship a free extension after accepting the agreement and completing the profile.
The fee is 10% of an unpromoted sale. A Boost window raises the share the publisher gives up: 15% for one promoted card, 20% for two, 30% for three. The purchase stores the rate and the net amount at sale time, so a later change never rewrites an earlier sale.
What none of this proves
It does not prove the boundary is safe. It is a reading of the enforcement points in this repository, written by the people who built them.
There is no independent audit. If you are deciding whether to run someone else's code next to your client files, you should want one. The honest state is that the model is explicit, the checks are in code, and the third-party test does not exist yet.
What to do with it
If you maintain a tool, take the smallest thing you ship and write down everything it touches: a folder, a host, the clipboard, a window. Map each line to a capability.
If a line has no capability, you have learned something. Either the tool does not need that access, or the host is missing a noun. Both are useful, and the second one is worth telling us about.
The full contract is in the extension SDK documentation, and the developer portal is where a listing starts.