-
Notifications
You must be signed in to change notification settings - Fork 133
Server-side crypto invariants #562
Copy link
Copy link
Closed
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programbackenddocumentationImprovements or additions to documentationImprovements or additions to documentatione2eesecurity
Description
Activity
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programbackenddocumentationImprovements or additions to documentationImprovements or additions to documentatione2eesecurity
Write
apps/backend/docs/concepts-crypto-invariants.mdcoveringlib/ciphertextInvariant.tsandlib/signalInvariants.ts— the guards that keep the server from ever accepting or storing material it must not hold, and thesecurity-cijob that regression-tests them.Acceptance criteria:
findForbiddenSessionStateFieldand the rejected field names, and that rejection happens before any database lookup.strict()— a non-strict schema silently strips a forbidden field instead of rejecting the requestsecurity-ciregression job that keeps these enforced