Repository navigation
Fix config/auth, endurecer seguridad, tests, CI y UI móvil/tema claro - #2
Merged
Merged
Conversation
- login: límite de 5 intentos/5 min por IP; cookie SameSite=Strict + Secure con HTTPS - POST: rechaza Origin distinto del Host - /api/browse restringido a la carpeta personal - unzip seguro: anti Zip-Slip, sin symlinks, límite 2 GB / 20000 archivos - install.sh: JSON generado con python, contraseña por entorno (no argv), bind explícito - panel.py --reset-password - backup.py: verify_archive lee el tar.gz completo tras crearlo - tests unittest y workflow de GitHub Actions Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… por teclado Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ItsYusei99
added a commit
that referenced
this pull request
Nov 1, 2026
Fix config/auth, endurecer seguridad, tests, CI y UI móvil/tema claro
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.
Resumen
load_config()descartabapanel_password_hash,bind,servers,ssl_*,discord_*al reiniciar (auth apagada). Ahora usacfg.update(user).install.shno mostraba la contraseña generada (mezcla||/&&).SameSite=Strict(+Securecon HTTPS), check deOriginen POST,/api/browselimitado a HOME, unzip seguro (Zip-Slip, symlinks, límite 2 GB / 20000 archivos).bindexplícito.panel.py --reset-password;backup.verify_archivelee el.tar.gzcompleto tras crearlo.unittest+ workflow (tests, py_compile, shellcheck).Pruebas
python -m unittest discover -s tests: OK en local./api/statsfalla en macOS (usa/proc, ya era así).Pendiente (fuera de este PR)
Tabla de rutas, SSE, separar frontend, sesiones persistentes, token CSRF, backup remoto.
🤖 Generated with Claude Code