Files
Lucas RayanandClaude Sonnet 5.5 a9aec5abe4
Release / Plano (reaproveitar a imagem?) (push) Successful in 8s
CI / Trivy (dependências, segredos e configuração) (push) Failing after 8s
Release / ci (push) Failing after 9s
CI / Testes e imagem Docker (linux/arm64) (push) Skipped
Release / Publica a imagem (linux/arm64) (push) Skipped
Release / Cria a release no Gitea (push) Skipped
Recover InBraille from the production image (1.3.1) and move it to Gitea
The GitHub account was suspended and the repository had no backup. The deployed code
(src/, public/, index.html, main.py, requirements.txt) was extracted from the production
image 1.3.1. The tests, Dockerfile, compose files, SECURITY.md, CHANGELOG.md and README were
rebuilt from the records of the work sessions that created them; LICENSE, .gitignore,
robots.txt and sitemap.xml were recreated. CI now runs on Gitea Actions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 00:15:01 -03:00

17 lines
958 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Security Policy
## Reporting a vulnerability
Please report vulnerabilities privately by e-mail to
[contato@lucasrguerra.dev.br](mailto:contato@lucasrguerra.dev.br)
instead of opening a public issue. You can expect an answer within a few days.
## Hardening in place
- Strict input validation: size, line count, alphabet, Braille-only characters for STL generation.
- Cost budget for STL generation (filled cells × resolution), per-client rate limits and a bounded FIFO queue (2 running, up to 20 waiting, 3 per client, 60 s max wait; otherwise `503` with `Retry-After`).
- Request body cap, no interactive API docs, generic error messages (details only in server logs).
- Security headers (CSP, `nosniff`, `X-Frame-Options`, ...) and path-confined static file serving.
- Container runs as a non-root user with a read-only filesystem and no capabilities.
- Dependencies pinned, scanned with Trivy on every push and before every release (Gitea Actions).