Skip to content

spawn plugin inspect + install --dry-run (pre-install trust preview) #387

Closed

Description

@scttfrdmn

Problem

spawn plugin install github:org/repo/tool runs the author's code on the local controller and (as root) on the EC2 instance, but there is no way to preview what a plugin does before installing it. The only pre-check today is spawn plugin validate (offline schema lint). Raised by an external security review.

Proposed shape

spawn plugin inspect tailscale
spawn plugin inspect github:org/repo/tool
spawn plugin install tailscale --dry-run

Output should surface, before any execution:

  • resolved source and version (what github: shorthand resolved to — tag/branch/commit)
  • local (controller) commands vs remote (instance) commands
  • requested environment variables (env_passthrough allowlist)
  • root vs login-user execution
  • downloads performed
  • ports opened
  • persistent files written
  • health checks and cleanup behavior

Docs note

docs/guides/plugins.md now documents the trust model and flags the absence of an inspect/dry-run flow as a known limitation linking here.

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