explanation security-reviewer

The UNCTAD Digital Government Programme builds OpenGov for sovereign public-sector adoption. Every country deploys and controls its own isolated stack, database, encryption keys, and identity provider.

Open standards and interoperability

  1. Public service specifications: Published procedures emit versioned OpenAPI and structured JSON specifications (GET /.well-known/smart-rules).
  2. Identity and delegation: Authentication uses standard OpenID Connect and OAuth 2.1 with PKCE across Keycloak or compatible providers.
  3. Assistant integration: The embedded MCP door exposes user-scoped tools without separate vendor lock-in or service-account bypasses.
  4. Domain semantics: Field catalogs support international data vocabularies including ISO 20022, EU Core Vocabularies, and UN/CEFACT.

Privacy and data sovereignty

  • Zero mandatory telemetry: Sentinel problem reporting defaults off (OPENGOV_SENTINEL_EGRESS_ENABLED=false) so operational data stays inside the country host.
  • Bounded log retention: Operational logs stay inside the container stack and expire on the country’s configured operational_logs.retention_days window.
  • PII-safe logging: Log formatters enforce an explicit allowlist of operational fields and scrub applicant text before disk writes.
  • Independent key custody: Encryption keys and vault KEKs travel out-of-band, apart from database dumps and PaaS control planes.

Verifiable claims discipline

OpenGov maps system promises to executable tests in docs/traceability/claims.yaml. External standards references undergo documented fact verification in Standards Claims Verification before publication.