Repository navigation
Security hardening + enterprise email (production) - #9
Merged
Merged
Conversation
- Disable demo seeding by default; bootstrap admin from ADMIN_USERNAME/ADMIN_PASSWORD - Neutralize legacy demo-hash accounts on startup in production - Enforce JWT HS256/12h, fresh DB identity per request and Socket.IO handshake - Socket.IO: remove client:identify, derive rooms only from token, fail-closed CORS - Fix products IDOR, delivery-code leak/bypass, XupAI abuse, dashboard tenant leaks - Restrict subscription plans to admin, bounded pagination, no fake dashboard data - helmet CSP/HSTS + equivalent headers in vercel.json/Caddyfile, generic error handler - Enterprise email: SMTP/Resend/EmailJS with HTML+text, retries, Reply-To/BCC - Admin email diagnostics endpoints and npm run email:test script - Deployment: Dockerfile, docker-compose, Caddyfile, render.yaml, CI, .env.production.example - Bump express/nodemailer to patched releases (npm audit: 0 vulnerabilities) - Docs: SECURITY-AUDIT.md, MIGRACION-BACKEND.md, EMAIL-ENTERPRISE.md
Collaborator
|
chore(prod): cerrar hallazgos post-fusión del endurecimiento de seguridad El PR #9 (a1f5e75) aplicó la auditoría y el correo enterprise, pero quedó
Refs: #9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aplica al backend de produccion la auditoria de seguridad completa y el correo enterprise (SMTP/Resend), con despliegue endurecido (Docker/Caddy, Render, Vercel, CI).
Detalle: SECURITY-AUDIT.md, MIGRACION-BACKEND.md, EMAIL-ENTERPRISE.md.
Antes de fusionar: definir JWT_SECRET, DATABASE_URL, ADMIN_USERNAME/ADMIN_PASSWORD, CLIENT_ORIGIN, SEED_DEMO_DATA=false y credenciales de correo.