Skip to content

Harden OS Browser Gov production boundaries - #2

Draft
ghwmelite-dotcom wants to merge 1 commit into
mainfrom
codex/production-containment
Draft

ghwmelite-dotcom wants to merge 1 commit into
mainfrom
codex/production-containment

Conversation

@ghwmelite-dotcom

Copy link
Copy Markdown
Owner

Summary

  • fail closed on invalid TLS certificates and all web permission requests until origin-aware consent exists
  • quarantine legacy GovChat, messaging, device-enrollment, AI-token, and download-reset trust paths
  • disable unverified private browsing, Vault/identity capture, password autofill, offline capture, and agent workflow entry points
  • upgrade Electron and the desktop dependency graph, preserve Chromium/Electron notices, and require signed Windows release candidates
  • add desktop/mobile CI, containment tests, security artifact scanning, release gates, and risk registers
  • quarantine stale unsigned/binary artifacts with a hash-verified manifest instead of distributing them
  • reset product copy to an honest internal-alpha posture for Ghana public-service evaluation

Why

The production-readiness audit found P0 trust-boundary, identity, credential, privacy-isolation, and release-provenance weaknesses. This PR contains those paths rather than presenting incomplete features as production-safe.

User and service impact

  • OS Browser Gov remains an internal alpha.
  • AskOzzy device enrollment is unavailable until a server-authoritative enrollment design exists.
  • GovChat and legacy messaging identity flows return explicit 503 not-configured responses.
  • Private browsing, Vault/GhanaCard capture, password autofill, offline page capture, and related claims are disabled.
  • Government domains receive normal certificate validation; certificate errors are never bypassed.
  • Website permissions default to deny pending an origin-aware user-consent broker.

Verification

Validated from a clean detached worktree created from the exact staged tree:

  • npm ci (desktop): passed; 0 vulnerabilities
  • npm test: passed, 11/11 containment tests
  • npm run typecheck: passed across shared, preload, renderer, main, and worker
  • npm run build: passed for shared, preload, renderer, and main
  • npm run audit:ci: passed; 0 desktop vulnerabilities
  • npm run scan:security: passed across 599 active files
  • mobile npm ci: completed
  • mobile npm run typecheck: passed
  • mobile npm run expo:check: dependencies compatible
  • mobile npm run deps:validate: passed
  • mobile npm run audit:ci: within reviewed ceiling; 0 critical, 10 high, 7 moderate, 17 total

The mobile audit ceiling is regression control only and is not release acceptance.

Remaining release blockers

  • revoke/rotate externally exposed credentials and configure secrets only in the deployment environment
  • eliminate or formally remediate the 17 mobile dependency findings
  • configure protected signing credentials and prove the signed-package positive path
  • complete clean-VM install, upgrade, rollback, uninstall, SmartScreen, and timestamp validation
  • generate and retain SBOM/provenance evidence
  • complete penetration, privacy, accessibility, data-residency, incident-response, and managed-pilot acceptance

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