- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
10 lines
800 B
Markdown
10 lines
800 B
Markdown
# Security & Compliance Specification
|
|
|
|
## Enterprise Protection Framework
|
|
|
|
1. **Payment Security**: Strict HMAC-SHA256 verification of Razorpay signatures. Zero credit card or CVV storage.
|
|
2. **Authentication Security**: RS512 JWT access tokens (15-min TTL) paired with opaque ULID refresh tokens stored in Redis.
|
|
3. **Rate Limiting**: Slowapi rate limiting enforced on sensitive auth (`5 req/min`) and payment (`10 req/min`) endpoints.
|
|
4. **Input Validation**: Strict Pydantic schema parsing to prevent SQL injection, XSS, and parameter tampering.
|
|
5. **CORS & CSRF**: Whitelisted origins (`http://localhost:3021`, `http://localhost:3022`) with strict credentials handling.
|
|
6. **Audit Logs**: Immutable audit log entries (`audit_logs`) tracking administrative user actions and payment state changes.
|