You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Registry supply-chain: signed releases, checksums, source pinning, permission inspection #8
spawn plugin install github:org/repo/tool and registry installs execute third-party code locally and as root on the instance. There is currently no signing, checksumming, or pinning story documented, and questions the review raised are unanswered: does a version resolve to a git tag/release/branch/manifest? are files checksummed? can a tag be moved? are transitive downloads verified? is the resolved source recorded on the instance?
Proposed shape
Signed registry releases + checksums for plugin artifacts
Source pinning (resolve + record the exact commit on the instance)
Permission inspection surfaced pre-install (pairs with spawn#387 plugin inspect and spawn#388 permissions: block)
Also: strategic registry expansion
The current four plugins (tailscale, rstudio-server, globus-personal-endpoint, spore-sync) prove the model across four shapes. Strong next candidates that demonstrate reusable strengths: JupyterLab, code-server, Docker/Podman, NVIDIA container toolkit, DCV, SSM setup, CloudWatch agent, Mountpoint-for-S3 / rclone, VS Code tunnel, Slurm client, GitHub Actions runner.
Raised by an external security/architecture review. See spawn#387/#388.
Design RFC drafted in PR #9 (docs/registry-supply-chain-rfc.md) — signing, immutable pinning, checksums (incl. fetch-step sha256), and trust tiers, complementing the shipped inspect/permissions work. This issue stays open to track the decision + implementation.
Reopened: PR #9 landed the design RFC (docs/registry-supply-chain-rfc.md), not the implementation. This issue stays open to track the signing/pinning/checksum decisions and their rollout.
Increment 1 landed in spore-host/spawn PR #398: the plugin resolver now records provenance — the exact plugin.yaml sha256 plus a best-effort immutable commit SHA — surfaced in spawn plugin inspect (a Resolved: line) and stored in the local install record. Still open for later increments: signed official releases, a checksum manifest, fetch-step sha256:, and on-instance/EC2-tag recording.
All five RFC increments are shipped, and both release follow-ups are done.
Increments (all merged + released)
fetch-step sha256: — spored verifies a transitive download against a declared checksum, removing the file on mismatch. (spawn#418)
Checksum manifest — official [email protected] resolves to tag name-vX.Y.Z, fetches plugin.yaml at the tag, and verifies its sha256 against a manifest.json GitHub Release asset; missing/mismatch is a hard fail. Also fixed a latent bug where official installs 404'd (…/<name>/ vs …/plugins/<name>/). (spawn#419, plugins#11)
Signed official releases (cosign/sigstore keyless) — the release workflow signs the manifest keyless (Fulcio + Rekor); spawn verifies by default, pinning the cert identity to this repo's release workflow, with a warn-window for unsigned releases and --insecure for local dev. (spawn#420/#421, plugins#13/fix(#8): sign with cosign --new-bundle-format #14)
On-instance provenance — a successful install records provenance in an spore:plugin:<name> EC2 tag and spored's on-instance state; spawn plugin status shows a Source: line. (spawn#422)
Publish-time permission/step consistency — spawn plugin validate --strict enforces that a plugin's declared permissions: block matches its steps (e.g. instance.root=false ⇒ no root remote step); all 4 plugins now declare accurate permissions and the registry lint runs --strict. (spawn#423, plugins#15)
Verification
Each increment with a runtime surface was validated end-to-end on real AWS (gated, TTL'd, leak-checked). Increment 3's full keyless chain was proven by re-cutting a real workflow-signed release and verifying signature-verified ✓ against the production sigstore trust root.
Releases
spawn v0.86.0 (increments 1–3) and v0.87.0 (increments 4–5 + fixes).
rstudio-server v1.1.0 re-cut, signed by the workflow — spawn plugin inspect [email protected] → signature-verified ✓.
Closing. The separate registry-expansion track (more plugins) is unaffected and remains open elsewhere. Remaining official plugins (tailscale/spore-sync/globus) can be release-signed on demand with the same <name>-vX.Y.Z tag flow.
Activity
scttfrdmn commentedon Jul 19, 2026
Design RFC drafted in PR #9 (
docs/registry-supply-chain-rfc.md) — signing, immutable pinning, checksums (incl. fetch-step sha256), and trust tiers, complementing the shipped inspect/permissions work. This issue stays open to track the decision + implementation.docs: RFC for registry supply-chain (signing, pinning, inspection) (#8)…
scttfrdmn commentedon Jul 19, 2026
Reopened: PR #9 landed the design RFC (
docs/registry-supply-chain-rfc.md), not the implementation. This issue stays open to track the signing/pinning/checksum decisions and their rollout.feat(plugin): record install provenance + immutable pinning (spore-pl…
scttfrdmn commentedon Jul 19, 2026
Increment 1 landed in spore-host/spawn PR #398: the plugin resolver now records provenance — the exact
plugin.yamlsha256 plus a best-effort immutable commit SHA — surfaced inspawn plugin inspect(aResolved:line) and stored in the local install record. Still open for later increments: signed official releases, a checksum manifest,fetch-stepsha256:, and on-instance/EC2-tag recording.docs(#8): record resolved RFC decisions + document fetch sha256: (#10)
ci(#8): per-plugin release workflow publishing a checksum manifest (#11)
ci(#8): sign the release checksum manifest keyless with cosign (#13)
fix(#8): sign with cosign --new-bundle-format (Sigstore protobuf bund…
feat(#8): declare permissions on all plugins + strict lint (#15)
scttfrdmn commentedon Jul 21, 2026
Registry supply-chain hardening — complete ✅
All five RFC increments are shipped, and both release follow-ups are done.
Increments (all merged + released)
fetch-stepsha256:— spored verifies a transitive download against a declared checksum, removing the file on mismatch. (spawn#418)[email protected]resolves to tagname-vX.Y.Z, fetchesplugin.yamlat the tag, and verifies its sha256 against amanifest.jsonGitHub Release asset; missing/mismatch is a hard fail. Also fixed a latent bug where official installs 404'd (…/<name>/vs…/plugins/<name>/). (spawn#419, plugins#11)spawnverifies by default, pinning the cert identity to this repo's release workflow, with a warn-window for unsigned releases and--insecurefor local dev. (spawn#420/#421, plugins#13/fix(#8): sign with cosign --new-bundle-format #14)spore:plugin:<name>EC2 tag and spored's on-instance state;spawn plugin statusshows aSource:line. (spawn#422)spawn plugin validate --strictenforces that a plugin's declaredpermissions:block matches its steps (e.g.instance.root=false⇒ no root remote step); all 4 plugins now declare accurate permissions and the registry lint runs--strict. (spawn#423, plugins#15)Verification
Each increment with a runtime surface was validated end-to-end on real AWS (gated, TTL'd, leak-checked). Increment 3's full keyless chain was proven by re-cutting a real workflow-signed release and verifying
signature-verified ✓against the production sigstore trust root.Releases
spawn plugin inspect [email protected]→signature-verified ✓.Decisions (resolved in the RFC)
cosign keyless · GitHub-release-asset manifests · verify-by-default + deprecation window · fetch-sha256 optional-but-required-for-official · EC2-tag + spored-state provenance · in-scope publish-time permission check.
Closing. The separate registry-expansion track (more plugins) is unaffected and remains open elsewhere. Remaining official plugins (tailscale/spore-sync/globus) can be release-signed on demand with the same
<name>-vX.Y.Ztag flow.