DOC · 2026-10-15 · 8 MIN READ

TrayTool permissions and the three safety gates, in plain language

A permission prompt is the one moment a plugin stops and asks you. This page explains exactly what that prompt is offering, the three risk tiers every command falls into, and the two guarantees behind it — a denial that no settings screen can undo, and a record of every call. It is the user-facing companion to the deeper plugin signing and trust field guide.

1 · What “Allow” actually grants

Most desktop software asks for one blanket consent at install and then has the run of your user account. TrayTool does not work that way. A plugin ships with a manifest: a list of the capabilities it wants, each tied to a command. When you click Allow on a prompt, you grant a specific capability scope — reading a value, touching a file, or starting a process — not a permanent license over the machine.

Two consequences follow from that. First, a plugin can only ever ask for the permissions its manifest declared; it cannot quietly invent a new one at runtime. Second, the dangerous end of that list is never granted by a single “yes”. Capabilities that can execute code or change files sit behind a per-tool opt-in, and for some plugins they are unavailable entirely. The prompt is therefore answering two questions at once: “which tier is this call in?” and “is this plugin even allowed to be in that tier?” The rest of this page unpacks those two questions.

If you have read about the command plane, the model is the same one an AI agent will eventually use: every invocation is checked, not just the ones a human happens to click. Permissions are a property of the command, not of how it was invoked.

2 · The tier ceiling on every plugin

Before a single command runs, each plugin already carries a trust tier. That tier acts as a ceiling on which permissions the plugin can ever be granted, however many times you click Allow. The tiers come from how the plugin was packaged:

  • Unverified — no signature. It installs with a full-screen confirmation and a plain-language warning, and its high-risk permissions are structurally denied. There is no switch, checkbox, or settings screen that can grant them.
  • Signed — it carries a registered publisher's signature. A signed plugin may use the full permission scope, but its high-risk capabilities still require explicit, per-tool opt-in. Registering as a publisher takes an email verification; it provides traceability, not a platform endorsement.
  • Reviewed — it passed platform basic checks: a valid manifest, a valid signature, and a scan for known-malicious patterns. Review raises where a plugin can surface; it deliberately does not raise what the plugin is allowed to do.

The point of the last tier matters and the UI says it in these words: reviewed means the paperwork was checked, not that the code is vouched for. A signature answers “who published this and did it change in transit”; it cannot answer “is this publisher benevolent.” That is why the tier only sets a ceiling, and why the per-call gate in the next section still exists even for reviewed plugins. If you want the cryptography behind the signature itself, that lives in field guide 04: plugin signing and the trust ladder — this page stays on the user side of the prompt.

3 · The three risk gates

Every command on the command plane is classified into one of three risk tiers at registration, from the permissions the command requested. The host uses three symbols across the product: a lightning bolt for the low tier, a double bolt for the middle, and a diamond for the high tier. Think of them as three gates a call passes through before it can run.

GateWhat it can doWhat you see
Tier 1 — read Reads local state or queries data. It does not change files and does not launch anything. Effectively silent within the normal surface; the call is still written to the audit log.
Tier 2 — file Writes or modifies files inside a scoped area. Surfaced for consent before it changes anything.
Tier 3 — process Starts a process or executes a command — the tier that can actually run code on the machine. Requires explicit per-tool opt-in, on top of the plugin's tier ceiling.

The example the product itself uses is deliberately plain: reading the clipboard is tier 1, writing a file is tier 2, launching an installer is tier 3. Reading can be quiet; writing asks first; launching has to be switched on deliberately. When the future MCP server lets an AI agent call these same commands, the agent does not get a privileged lane — its calls pass through the same three gates, under the same ceiling, and land in the same log.

4 · The denial no setting can undo

The single most important word in the model is structural. When an unverified plugin requests a tier-3 permission, the host does not show a prompt you could be talked into clicking. It does not write a hidden preference. The request is rejected at the point where permissions are evaluated, before any process can start. There is no “advanced” toggle that turns it back on, because the code path that grants it is not exposed to unsigned plugins at all.

This is a deliberate trade. A permission prompt can be dismissed on habit, and a settings checkbox can be flipped by accident or by a confusing tutorial. A structural denial cannot be clicked away, which is exactly the property you want for the one tier that can execute code. The same row in the developer portal puts it bluntly: for unverified plugins, high-risk permissions are “structurally denied.”

5 · Every call is recorded

Consent is one half of control; the other half is being able to see what happened afterward. Every invocation that goes through the gate lands in an audit pipeline, so the design goal — quoted across the product — is that “an action was taken” is always an event you can inspect, never a leap of faith. The status indicator in the host surfaces this directly: a line that reads security gate: active and audit: on.

Recording applies to all three tiers, including quiet tier-1 reads, so the log is complete rather than a log of only the things that prompted you. That completeness is what makes the model useful later: if a plugin misbehaves, the trail of what it called is already there. The audit pipeline is one of the components the project reports as running in production today, measured against the current repository snapshot rather than promised for later.

There is a second, optional layer for plugins that run out of process. A plugin can be packaged as a separate process boundary instead of loading code into the host; that gives real OS-level isolation — a crash or fault in the plugin is contained, and its memory is its own — with an audited bridge between the host and the plugin. Not every plugin is out of process, so the UI tells you plainly which is which rather than implying that every tool is sandboxed.

6 · Honest limits and non-goals

The project goes out of its way to state what this model is not, and those boundaries are worth repeating because they change how you should read the guarantees above.

  • There is no in-process code sandbox. The host is a .NET WPF application, and .NET does not provide an in-process sandbox for untrusted code. TrayTool does not pretend otherwise. The real defenses are the ones described here: tier ceilings, structural denial for unsigned plugins, per-call gates, the audit trail, and OS-level isolation for out-of-process plugins.
  • A signature is not a behavior guarantee. Signing gives you an accountable publisher and tamper evidence; platform review checks the manifest, signature, and known-malicious patterns. Neither promises that signed code is harmless. You still decide what to install.
  • The permission gate is not Windows security. It governs what a plugin may do through TrayTool's command plane. It is not a replacement for Windows user accounts, User Account Control, or running your own antivirus.
  • The third-party ecosystem is not open yet. The gate and audit run in the host today, but the marketplace and third-party plugins are future phases. Today's install ships the six built-in plugins, and the MCP server that would let an external AI agent call commands is not built yet — when it is, agent calls go through the same gate rather than around it.

Read together, the three gates answer a simple question: when you click Allow, how much can go wrong? Read-only calls are logged but harmless; file changes ask first; process launches require both a plugin that is allowed to ask and an explicit switch on your part — and an unsigned plugin never gets that far. If that sounds unglamorous, it is supposed to. A permission system you can trust is one whose denials you cannot click through and whose actions you can always look up afterward.

See the gate in the running host

TrayTool is a free native Windows 10/11 app — no account, no feature gate. Install it, open a plugin, and watch the risk symbol and audit line before you allow anything.