Skip to content

Harden signed release verification and record live containment - #3

Draft
ghwmelite-dotcom wants to merge 2 commits into
codex/production-containmentfrom
codex/credential-rotation-controls
Draft

ghwmelite-dotcom wants to merge 2 commits into
codex/production-containmentfrom
codex/credential-rotation-controls

Conversation

@ghwmelite-dotcom

Copy link
Copy Markdown
Owner

Summary

  • records the completed live containment deployment to both legacy Worker hosts used by desktop and mobile clients
  • records removal of the two retired secret bindings from active Worker deployments and deletion of 15 exact legacy KV session keys
  • requires the expected Authenticode publisher subject and exact certificate thumbprint
  • rejects signed packages without a timestamp certificate
  • pins every GitHub Action in desktop and mobile CI to an immutable upstream commit
  • adds regression coverage for signing inputs, timestamp enforcement, and immutable Action references

Stack order

This PR is based on codex/production-containment and must not merge before PR #2. The live Workers were contained using reviewed commit 0a3aeed from PR #2 because both public hosts were still serving the unsafe legacy implementation.

External containment completed

  • deployed the reviewed fail-closed Worker bundle to both os-browser-api and os-browser-worker
  • verified device enrollment, admin reset, GovChat, messaging, and /api/v1/auth/me return stable 503 containment responses
  • removed the retired device-enrollment and Synapse-registration secret copies from active Worker deployments
  • deleted 7 exact legacy device-token records and 8 exact GovChat-session records; all approved legacy prefixes now count zero
  • verified both active Worker deployments now expose zero secret bindings
  • left football integration fail-closed because no provider credential is configured

No secret value, token, session key, account ID, or personal record is included in the evidence file.

Verification

  • clean npm ci: passed; 0 desktop vulnerabilities
  • full workspace typecheck: passed
  • containment suite: 11/11 passed
  • active-tree credential scan: passed
  • workflow YAML validation: passed
  • verifier JavaScript syntax: passed
  • disposable unsigned executable fixture: rejected for NotSigned, incorrect publisher, incorrect thumbprint, and missing timestamp
  • desktop release specialist review: approved with no blocking correctness issue
  • security evidence review: active deployment state confirmed; remaining incident blockers retained below

Remaining NO-GO blockers

  • The eight deleted GovChat records each held a Matrix access token, plaintext Matrix password, and device ID. KV deletion occurred before Synapse invalidation, so the direct user/device mapping is no longer available from KV. Reconstruct the affected cohort from trusted Synapse administration evidence and revoke/reset broadly enough.
  • govchat.askozzy.work currently fails normal TLS validation with an untrusted-root error. Repair and independently verify the chain before sending any admin credential.
  • Historical Cloudflare Worker versions retain vulnerable code and old binding definitions; authenticated rollback to pre-containment versions must be prohibited or governed until retirement/target controls are evidenced.
  • The exposed API-Sports credential still requires provider-console revocation confirmation. No replacement is configured.
  • GitHub has no desktop-release environment, protected reviewers, signing secrets, signer variables, or organization-controlled certificate/HSM.
  • The real signed-package positive path, timestamp chain, SmartScreen, clean-VM lifecycle, SBOM/provenance, independent security/privacy/accessibility review, and managed pilot remain outstanding.
  • Mobile remains at the reviewed ceiling of 0 critical, 10 high, 7 moderate findings.

Release decision: NO-GO for public or government production deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant