FIELD GUIDE · 02 · PLUGIN TRUST

Why plugin signing and trust tiers matter on Windows

A signature proves who published a plugin and that the package wasn't altered after signing. It does not prove what the plugin does. This field guide separates the two claims, shows why agent marketplaces made the difference dangerous on Windows, and walks through the four layers a trust system actually needs — including the ones TrayTool runs today.

PUBLISHED 2026-09-25 · ~9 MIN READ · WINDOWS 10/11

CH.01What a signature proves — and what it doesn't

Windows has shipped the cryptographic half of this problem for decades. Microsoft Authenticode lets software vendors sign binaries, and the system verifies them through a dedicated API: "The WinVerifyTrust function performs a trust verification action on a specified object" (Microsoft Learn, wintrust.h), with Authenticode as the signing technology underneath. That is the native primitive any Windows plugin format should build on — a tamper check and an identity claim, verified by the OS.

So what does a valid signature actually establish? Two things, and only two things:

  1. Publisher identity. The package came from the key holder it claims — the identity behind the certificate.
  2. Integrity. Nothing inside was modified after signing.

What it does not establish is the third thing users assume it does: that the code behaves. A perfectly valid signature says nothing about what a plugin will do when it runs — which files it touches, what it sends where, or what happens when an AI agent starts invoking it in combinations nobody previewed at install time.

That gap has always mattered. In an agent marketplace it becomes structural, because the caller is no longer just the person who read the permission prompt: an agent will invoke capabilities repeatedly, across plugins, at machine speed. Install-time identity is necessary. It is not sufficient.

CH.02The attack surface is not hypothetical

Plugin marketplaces are now a standard distribution form, not a concept. Anthropic's Claude Code documents them as a plain directory with a manifest: "A plugin marketplace is a directory or repository with a .claude-plugin/marketplace.json file that lists your plugins and where to fetch each one" (Claude Code Docs, "Create a marketplace"). The same page pattern — register a source, install from it in one command — is exactly the convenience surface TrayTool's own channels expose. Convenience for publishers is convenience for attackers.

Security researchers have already demonstrated it end to end. PromptArmor's 2025 write-up put it plainly:

PromptArmor · 2025-10-16"Claude Code has introduced a new functionality, and a new attack surface: Marketplaces for Plugins. Developers can install any marketplace and plugin; we show how a plugin can: Bypass human-in-the-loop protections … Exfiltrate a user's files via indirect prompt injection." source

The discovery layer made it worse, not better: an automatic registry of public marketplaces meant — in their words — "a malicious repository [could] gain visibility" simply by existing in the index. Distribution without a trust model is an amplifier for whoever moves first.

The MCP ecosystem has reached the same conclusion from the protocol side. The specification's own security guidance lists what untrusted local tooling means in practice:

MCP spec · Security Best Practices"Local MCP servers with inadequate restrictions or from untrusted sources introduce several critical security risks: Arbitrary code execution. … No visibility. Users have no insight into what commands are being executed. Command obfuscation. … Data exfiltration." source

Microsoft's Windows team considered this problem important enough to write about securing MCP on Windows as its own topic. The direction of all of this is consistent: identity checks alone don't survive contact with a real marketplace. The rest has to be structural.

CH.03Four layers a trust system actually needs

1 · Identity at install time. Verify the signature when the package arrives, against a publisher registry that makes the identity traceable. Traceability is deliberately cheaper than gatekeeping: a working email address is enough to register, because the point is that every package resolves to a reachable party — not that a committee approved it first.

2 · Structural rules, not warning dialogs. The difference between "we warn you" and "it cannot happen" is architecture. If an unsigned package must never receive high-risk permissions, that rule belongs in the enforcement path — structurally denied, with no settings screen that can grant them — not in a modal the user clicks past at 11 p.m. A warning dialog is a UI state; a structural denial is a property of the system.

3 · Review that raises visibility, never permissions. Human review can't certify code behavior, and pretending otherwise is how review stores end up rubber-stamping. The honest scope is narrow: basic checks — manifest validity, signature, known-malicious patterns — that earn a plugin discovery, nothing more. "Reviewed" means the paperwork was checked, not that anyone vouches for the code; the product UI should say exactly that, in those words.

4 · Behavior controls at call time. Because the signature can't see the future, the runtime has to. The MCP specification asks clients to "implement defense-in-depth measures" — least privilege, sandboxing. Concretely, for a Windows agent host: high-risk capabilities on signed plugins require explicit per-tool opt-in; every invocation passes a risk gate; every invocation lands in an audit log; plugins that need real isolation run out-of-process, behind OS-level boundaries. And where the runtime genuinely can't promise something — .NET has no in-process code sandbox, for instance — the honest move is to say so and compensate with tiering, gating, and records, rather than implying a sandbox exists. The protocol behind "client" and "defense-in-depth" here is field guide 03: MCP on Windows, in plain English.

None of the four layers is optional, and none of them substitutes for another. Identity without structure is a claim; structure without runtime controls is a promise; runtime controls without audit are invisible. A marketplace that ships all four can make a falsifiable trust statement. One that ships a warning dialog cannot.

CH.04How TrayTool implements this today

Everything above is the design rationale behind the trust model on the developer portal — and the state of it is measurable. Three tiers, each with different powers:

  • ⚠ Unverified — no signature. Installs only after a full-screen confirm with a plain-language warning, and high-risk permissions are structurally denied — no settings screen can grant them. Built for testing and private handoffs.
  • ⬤ Signed — a registered publisher's signature (self-signed counts on the self-distribution channel). Full permission scope; high-risk capabilities require explicit per-tool opt-in. Registration is traceability, not gatekeeping.
  • ✦ Reviewed — passed platform basic checks: manifest validity, signature, known-malicious patterns. Review raises visibility — never permissions.

The three distribution channels map onto the tiers without loopholes: the official platform requires signing plus publisher registration; self-distribution requires signing but accepts self-signed — 0% cut, permanent; private handoff of a .tray file may skip signing entirely, lands as Unverified, and is structurally fenced out of high-risk permissions. There is no channel that gets discovery and no signature and high-risk powers.

As with everything else on this site, the honest baseline comes with a date — measured on 2026-09-07, in the repository:

  • A 234,980-line native C# WPF host, with a 71-command command plane across 15 domains and 6 built-in plugins.
  • A live three-tier risk gate with audit pipeline — every invocation gated and recorded.

And the parts not yet true: the third-party plugin ecosystem counts 0 plugins today; the MCP server that will expose all of this to agents is Phase P2; marketplace payments are Phase P5 (official channel planned at 5–8%, self-distribution stays 0% forever). So the precise claim is: the trust machinery — tiers, structural denials, opt-in gating, audit — exists and is testable today; the marketplace traffic it will police is still roadmap. Both halves of that sentence are checkable, in the repository and on the homepage's measured-versus-designed columns.

CH.05Frequently asked

Does a signed plugin mean a safe plugin?

No. A signature proves the publisher's identity and that the package wasn't altered after signing — it does not prove what the code does at runtime. That is why TrayTool pairs signing with structural permission tiers, a three-tier risk gate on every invocation, and an audit log: identity is checked at install time, behavior is controlled at call time.

Why allow self-signed plugins instead of banning them?

Because self-distribution is a permanent 0% channel here, not a loophole. A self-signed package still carries integrity and traceability, and its tier label stays honest — Signed, not Reviewed. High-risk capabilities still require explicit per-tool opt-in, exactly as for any other signed plugin. The rules target what a package can do, not who is allowed to distribute it.

What does "Reviewed" actually mean?

It means the plugin passed the platform's basic checks: manifest validity, signature, and known-malicious patterns. Review raises visibility on the marketplace — never permissions — and it is not a vouch for the code. The UI says exactly that, in those words.