proposal-system/mobile/src
Adam Moussa 4f1271eb50 audit: fix all Critical and High security/reliability issues across monorepo
6-domain audit (API, web, mobile, lambdas, infra, QA) with fixes:

API security: scope internal API key middleware to allowed paths only,
return 401 on invalid key instead of falling through, remove unvalidated
JWT code path, sanitize error messages, add UpdateProposal validator,
remove status field from UpdateProposalRequest to prevent over-posting,
log swallowed exceptions in ProposalService.

Infrastructure: enforce SSL on all S3 buckets, encrypt SQS queues,
enable optional MFA on Cognito, add API Gateway access logging.

Lambdas: fix _retry_request undefined variable across all 4 Lambdas,
re-raise exceptions in pdf-extract/pdf-generate instead of swallowing,
add idempotency guard to suggestions Lambda.

Web: add ErrorBoundary, add auth loading state to ProtectedRoute,
add mutation error toasts in AdminWorkspace, fix dead Cognito link.

Mobile: add mutex to offline queue processing, distinguish permanent
vs retryable failures, register all screens for both roles, log sync
errors.

Swagger/OpenAPI: add Swashbuckle with JWT bearer security definition,
add ProducesResponseType attributes to key endpoints.

Includes AUDIT-REPORT.md with complete findings and CLAUDE.md project
instructions.
2026-05-27 18:18:44 -04:00
..
components Add mobile navigation, components, and all screens 2026-05-17 15:09:43 -04:00
constants Add mobile core: API client, auth, storage, state, and offline support 2026-05-17 15:09:23 -04:00
hooks audit: fix all Critical and High security/reliability issues across monorepo 2026-05-27 18:18:44 -04:00
lib Fix Phase 2 audit findings: reliability, UX, and operational monitoring 2026-05-20 19:07:49 -04:00
navigation audit: fix all Critical and High security/reliability issues across monorepo 2026-05-27 18:18:44 -04:00
screens Fix React version mismatch, auth fallback, and UI polish 2026-05-20 13:34:08 -04:00
store Add mobile core: API client, auth, storage, state, and offline support 2026-05-17 15:09:23 -04:00
theme Add mobile core: API client, auth, storage, state, and offline support 2026-05-17 15:09:23 -04:00
App.tsx audit: fix all Critical and High security/reliability issues across monorepo 2026-05-27 18:18:44 -04:00
config.ts Add email/password login, fix Cognito config, enable mobile auto-deploy 2026-05-20 11:36:51 -04:00