Skip to content

Auth: audit retention, incident runbook, consent copy, Stellar trust handshake#474

Open
BashMan11 wants to merge 1 commit into
MixMatch-Inc:mainfrom
BashMan11:bashman11/close-issues-409-410-411-412
Open

Auth: audit retention, incident runbook, consent copy, Stellar trust handshake#474
BashMan11 wants to merge 1 commit into
MixMatch-Inc:mainfrom
BashMan11:bashman11/close-issues-409-410-411-412

Conversation

@BashMan11
Copy link
Copy Markdown

Closes #409
Closes #410
Closes #411
Closes #412

Changes

#412 — Service-to-service trust handshake (API → Stellar)

  • Added apps/stellar-service/src/middleware/requireInternalSecret.ts: Express middleware using timingSafeEqual to verify X-Internal-Secret header on internal routes.
  • Added apps/stellar-service/STELLAR_SERVICE_AUTH.md: documents the shared-secret mechanism, env vars, local dev setup, and future hardening path.
  • Updated apps/stellar-service/.env.example with STELLAR_INTERNAL_SECRET placeholder.

#411 — Auth incident runbook

  • Added apps/api/AUTH_INCIDENT_RUNBOOK.md: covers broken login, missing verification emails, invalid sessions, compromised secrets, and demo-time account lockouts. Includes a quick-reference boundary table.

#410 — Auth audit retention policy

  • Added apps/api/AUTH_AUDIT_RETENTION.md: maps current audit events to 30/90-day retention tiers, documents what is and is not logged, explains MVP tradeoffs, and describes the upgrade path.

#409 — Consent and privacy messaging at account creation

  • Added apps/web/AUTH_CONSENT_COPY.md: canonical signup, verification, and privacy copy for web and mobile; documents intentional web/mobile differences and a copy-drift policy.
  • Extended apps/web/lib/authCopy.ts with signup and verify sections ready for the signup form component.

…Match-Inc#412: auth audit retention, incident runbook, consent copy, stellar service trust handshake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant