Skip to content

[CTX-0012] feat(registry): integrity fields, sync binding, bounded fetch, hardening - #27

Merged
Xuepoo merged 1 commit into
mainfrom
carryctx/ctx-0012
Sep 15, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
carryctx/ctx-0012

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Priority: P0 | Area: registry | Labels: fix,area:plugins,P1 | Milestone: v0.1.0 | Task: CTX-0012

Closes #24 (Phase-1 minimal usable).

  • R1: optional manifest_hash/signature in schema (shape-checked, warn-not-block); index records signature_status; store shows advisory badge/grey-out.
  • R2: sync-metadata binds fetched plugin.id to entry id; mismatch refuses write, keeps previous.
  • R3: 256 KiB bounded fetch (Content-Length pre-check + streaming cap); over-limit warns, keeps previous.
  • R7: store re-validates id/repository patterns; https-only external links; illegal id/repository -> no command or copy control. Copy gated only by client-side format checks (signature_status never gates it) — no false tamper-protection claim.
    Evidence: just check (prettier, markdownlint, tsc, vite build) + 52/52 bun tests incl. forged-verified non-enabling probe; registry-check up to date. Independent review: APPROVE after fix-forward (security finding cleared).

@Xuepoo Xuepoo added this to the v0.1.0 milestone Sep 15, 2026
@Xuepoo Xuepoo added fix Bug fix P1 Priority: high area:plugins labels Sep 15, 2026
@Xuepoo
Xuepoo merged commit e9bb50a into main Sep 15, 2026
5 checks passed
@Xuepoo
Xuepoo deleted the carryctx/ctx-0012 branch September 15, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:plugins fix Bug fix P1 Priority: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SEC: registry integrity — signatures/hash fields, sync identity binding + size limit, store runtime hardening (R1/R2/R3/R7)

1 participant