Skip to main content

Risk Register

:::info Source Sourced from services/sync-service/SERVICE_RISK_REGISTER.md in the documentation repo. :::

IDRiskSevImpactMitigationOwner
R-SY-01Offline bundle tamper / device-binding bugS1Content piracy; license bypassHMAC verification; device binding; tamper eventSync + Content + Security
R-SY-02VectorClock semantics regressionS1Data corruption; wrong resolutionFrozen (F06); property tests; never change semanticsSync
R-SY-03Sync protocol breaking changeS1All offline clients brokenFrozen (F07); additive only; v2 if neededSync
R-SY-04Cross-tenant mutation injectionS1Data leakJWT + RLS + scope validation; iso testsSync + Security
R-SY-05Yjs doc corruption (M5)S2Author data lossPeriodic snapshots; replay from log; repair tool; pre-merge backupSync + Authoring
R-SY-06Delta projection lag → stale pullsS2UX (stale data)Autoscale projector; alert; documented eventual consistencySync + SRE
R-SY-07Full-resync wave (cursor bug)S2System load spikeRate limit; emergency fix; gradual resync schedulingSync + SRE
R-SY-08Client mutation loss (local store corruption)S2Data lossClient-side integrity checks; backup to secure storage; warn userSync + Client
R-SY-09Conflict resolution UX confusingS3Author frustrationClear side-by-side diff; AI suggestions; "keep mine" / "keep server" / "merge"Sync + UX
R-SY-10Offline duration > 30 days → full resyncS3UX disruptionWarn at 7d; read-only at 14d; full-resync at 30d; progressive messagingSync + UX
R-SY-11HMAC verification false positiveS3Legitimate mutation rejectedDevice re-key flow; manual override by adminSync + Security
R-SY-12Device health monitoring staleS3Missed disconnected deviceshealth-monitor runs every 5 min; alert on stale > 48hSync + SRE
R-SY-13Multi-region sync routing latencyS3Slow sync for traveling usersNearest-region routing; consider region affinitySync + SRE
R-SY-14GDPR erasure incomplete in sync tablesS1RegulatorSaga participation; replay test; cursors + mutations + conflicts deletedCompliance + Sync
R-SY-15AI merge suggestion wrongS3Author confusionHITL mandatory; manual fallback; undo within 30 daysSync + AI

Governance

  • Weekly: Sync Eng + Content + Security review.
  • VectorClock property tests run on every PR.
  • Protocol compliance verified against client SDKs every release.