Skip to content

Plugin supply chain: publisher signature verification + pin/verify mode for install/update #3523

Description

@cad0p

The workflow

I run a plugin whose job is security-sensitive: it is the client-side crypto endpoint of a "sealed mode" scheme — it intercepts HTTP(S) requests in bb's embedded browser and HPKE-seals them to pinned origin keys, so the CDN edge in between only sees ciphertext. The plugin is the trust anchor: if an update can be silently swapped, the entire guarantee is void. I need bb to verify plugin provenance and support a first-class pin/verify workflow.

(Activation-time tamper evidence — a small, separable fix — is tracked in #3522.)

What happens today (main @ 9b4f273)

What you would expect

  • (a) Signature verification at install/update: let an install source declare a signing identity (minisign pubkey, or cosign keyless identity + OIDC issuer), verify artifact signatures, fail closed on mismatch.
  • (b) Activation-time re-hash — split out to the companion execution-integrity issue, so the install-time provenance ask stands on its own.
  • (c) Pin/verify surface: bb plugin install --pin, bb plugin verify, and a verified/pinned state in bb plugin list / the UI.
  • Minimal viable alternative if (a)/(c) are out of scope: document the exact-pin + path: workflow as a supported "verified install" path (external verifier → verified dir → bb plugin install path:<dir>), and keep bb plugin update refusing pinned sources.

Context and alternatives

Checks

  • I searched open and closed issues for the same request.
  • If an agent wrote this, the body ends with > AGENT GENERATED.

AGENT GENERATED

Activity

  1. added
    plugins
    security
    on Sep 11, 2026
  2. bb-slop-cop commented on Sep 11, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied Type Feature, Priority Medium, Effort High, and labels plugins, security. No existing classification values needed preservation.

    This requests new publisher-verification and pinning capabilities requiring trust design and CLI/UI integration. Medium priority reflects the available manual verification workaround; High effort reflects the new security design and interfaces.

    Final Type verified as Feature; reproduction and fix steps skipped. No PR: this requires product and security architecture decisions outside the simple-fix scope.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginssecurity

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions