Skip to content

feat(addons): complete signed v2 executable artifact verification and trusted release intake - #115

Merged
m1nsook merged 13 commits into
mainfrom
feat/v2-reviewed-artifact-chain
Nov 8, 2026
Merged

m1nsook merged 13 commits into
mainfrom
feat/v2-reviewed-artifact-chain

Conversation

@m1nsook

@m1nsook m1nsook commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Substantial v2 trust milestone (building on NextGuide-Addons #9)

This connects the independent v2 developer bundle to a separately versioned, signed review-and-download pipeline in the single nextguide package.

  • Add /v2/registry Ed25519-pinned, separately versioned index contract with explicit signed expiry, bounded timestamps, active/revoked status, immutable GitHub release URL, source commit, manual independent review attestation and signed source/bundle/manifest SHA-256 metadata.
  • Add read-only verifier for the entire executable v2 tar.gz produced by the developer lab: exact signed archive hash and size, every manifest/source/compiled module hash, matching permission list, unexpected members, symlink/traversal/collision/corruption rejection, bounded decompression, raw UTF-8 code bytes returned as data only.
  • Reuse hardened GitHub Release download transport (public IPv4 DNS pinned to TLS, exact GitHub CDN allowlist, redirects limited, no credentials, byte limit and timeout), recheck signed v2 expiry after download, and never install or execute reviewed code.
  • Include permission-diff helper for future Account Mode owner-grant UX; add typed single-package exports, security docs and tests including forged/revoked/expired signatures, source tampering, malicious archive members, DNS isolation, and v1/v2 replay separation.

Explicitly not shipped

The existing private ngapi service remains v1-only until a separately reviewed VPS patch is prepared from its actual source. The current Account Mode installer also remains v1 content-only. Signatures are not sandbox/owner permission grants. General executable installation stays disabled pending independent reproducible-build review, cgroup isolation, Windows fail-closed policy and protected browser UI.

Uses existing public-repo CI (package packing, Account Mode consumer, App/Pages Router and GitHub Pages build). No new GitHub Actions workflows or npm release.

@github-actions github-actions Bot added area: dependencies Dependencies or lockfile updates area: tests Local tests and release acceptance status: triage Awaiting initial review type: documentation Missing, confusing or outdated documentation labels Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: dependencies Dependencies or lockfile updates area: tests Local tests and release acceptance status: triage Awaiting initial review type: documentation Missing, confusing or outdated documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant