Skip to content

Plugin permissions: declaration block (governed extension surface) #388

Closed

Description

@scttfrdmn

Problem

A plugin's capabilities (controller env it reads, network, root on instance, ports, files) are only implicit in its steps. Explicit metadata would make the system feel like a governed extension platform rather than arbitrary shell execution, and would power spawn plugin inspect (see #387). Raised by an external security review.

Proposed shape

permissions:
  controller:
    env: [TS_API_CLIENT_ID, TS_API_CLIENT_SECRET]
    network: true
    commands: [jq]
  instance:
    root: true
    network: true
    ports: []
    files: [/etc/tailscale]

Validate at spawn plugin validate time; display at inspect/install; optionally enforce (deny steps that exceed the declared permissions).

Activity

  1. added
    enhancement
    area:spored
    on Jul 19, 2026
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

    area:sporedenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions