diff --git a/CHANGELOG.md b/CHANGELOG.md
index 64978ff..20e730b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,14 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versio
## [Unreleased]
+### Changed
+- Documentation brought up to date for 2.x (README status, releases, install example) and rewritten without em dashes.
+- The executive report title and the dashboard's page title, finding and group-dialog titles no longer use an em dash.
+
+### Fixed
+- The executive report cover still read "XEXÉU"; it now shows the Harpia name.
+- The interface screenshots in `docs/img` still showed the old Xexéu name and v0.1.0; they were retaken from the current build.
+
## [2.0.1] - 2026-11-03
### Fixed
diff --git a/CHANGELOG.pt-BR.md b/CHANGELOG.pt-BR.md
index 37551f4..442b147 100644
--- a/CHANGELOG.pt-BR.md
+++ b/CHANGELOG.pt-BR.md
@@ -6,6 +6,14 @@ Formato baseado no [Keep a Changelog](https://keepachangelog.com/pt-BR/1.1.0/);
## [Não lançado]
+### Alterado
+- Documentação atualizada para a série 2.x (status do README, releases, exemplo de instalação) e reescrita sem travessões.
+- O título do relatório executivo e os títulos da página, dos achados e do diálogo de grupo no dashboard não usam mais travessão.
+
+### Corrigido
+- A capa do relatório executivo ainda mostrava "XEXÉU"; agora mostra o nome Harpia.
+- As capturas de tela da interface em `docs/img` ainda mostravam o nome antigo Xexéu e a v0.1.0; foram refeitas a partir da versão atual.
+
## [2.0.1] - 2026-11-03
### Corrigido
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index cfee952..77bb123 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -38,6 +38,8 @@ The `Weekly` workflow fuzzes every target for ten minutes on a persistent corpus
Always maintain document pairs: every `*.md` and `docs/*` file has an English version and a Portuguese version (`*.pt-BR.md`, `docs/pt-BR/`). File names are translated only when the word changes (e.g. `architecture.md` → `arquitetura.md`).
+The screenshots in `docs/img` are generated, not hand-made: run `scripts/screenshots.sh` to retake them from the current build (a synthetic Apache 2.4.25 service scanned for real, correlated with the real NVD and CISA KEV feeds, which are cached after the first run). Run it again whenever the interface, the name or the version shown on screen changes.
+
## Commits and releases
Commits follow Conventional Commits 1.0.0 in English (`feat:`, `fix:`, `chore:`, `ci:`, `docs:`, `refactor:`, `test:`, `perf:`, `build:`). Versions follow SemVer 2.0.0.
diff --git a/CONTRIBUTING.pt-BR.md b/CONTRIBUTING.pt-BR.md
index ca6ab22..e815345 100644
--- a/CONTRIBUTING.pt-BR.md
+++ b/CONTRIBUTING.pt-BR.md
@@ -38,6 +38,8 @@ O workflow `Weekly` fuzza cada alvo por dez minutos sobre um corpus persistente
Mantenha sempre os pares: todo arquivo `*.md` e `docs/*` possui uma versão em inglês e uma em português (`*.pt-BR.md`, `docs/pt-BR/`). Nomes de arquivo são traduzidos apenas quando a palavra de fato muda (ex: `architecture.md` → `arquitetura.md`).
+As capturas de tela em `docs/img` são geradas, não feitas à mão: rode `scripts/screenshots.sh` para refazê-las a partir da versão atual (um serviço Apache 2.4.25 sintético varrido de verdade e correlacionado com os feeds reais da NVD e da CISA KEV, que ficam em cache depois da primeira execução). Rode de novo sempre que a interface, o nome ou a versão exibida na tela mudar.
+
## Commits e releases
Commits seguem Conventional Commits 1.0.0 em inglês (`feat:`, `fix:`, `chore:`, `ci:`, `docs:`, `refactor:`, `test:`, `perf:`, `build:`). Versões seguem SemVer 2.0.0.
diff --git a/README.md b/README.md
index 8bf12d9..c50981c 100644
--- a/README.md
+++ b/README.md
@@ -10,17 +10,17 @@
---
-**Status: v1.0 candidate.** The full pipeline — raw-socket SYN scanning, TCP-connect fallback, service fingerprinting, CVE/KEV correlation, scoped diffs, the dashboard, the executive report, CSV export and CI/release — is implemented and has been validated against a real vulnerable target (DVWA) through the actual hardened Docker Compose stack, not just the host binary. See [CHANGELOG.md](CHANGELOG.md) for exactly what shipped and when.
+**Status: stable, v2.0.1.** The full pipeline (raw-socket SYN scanning, TCP-connect fallback, service fingerprinting, CVE/KEV correlation, scoped diffs, the dashboard, the executive report, CSV export, webhook alerts, Prometheus metrics and CI/release) is implemented and has been validated against a real vulnerable target (DVWA) through the actual hardened Docker Compose stack, not just the host binary. The project was renamed from Xexéu to Harpia in 2.0.0. See [CHANGELOG.md](CHANGELOG.md) for exactly what shipped and when.
Harpia is a lightweight continuous attack surface and vulnerability audit daemon for authorized networks. Instead of one-off scans and unorganized XML dumps, Harpia runs continuously via Docker Compose, tracking what is exposed, what changed between sweeps, and what vulnerabilities exist.
- **Continuous, not point-in-time:** the primary output is the live deduplicated state of your network surface plus an append-only event log of differences (new hosts, closed ports, altered services, remediated CVEs).
-- **Tiered scan cadences:** critical segments (core servers, DMZs) can be scanned frequently (e.g. every 5 minutes), while secondary segments are audited on broader schedules (e.g. daily cron at 03:00) — editable live from the dashboard's Groups view, no file editing required.
+- **Tiered scan cadences:** critical segments (core servers, DMZs) can be scanned frequently (e.g. every 5 minutes), while secondary segments are audited on broader schedules (e.g. daily cron at 03:00), editable live from the dashboard's Groups view, no file editing required.
- **Lightweight & local-first:** a single Rust binary, embedded SQLite + Parquet storage. No external database, no Python runtime, and no telemetry.
-- **Deterministic & explainable:** every vulnerability finding carries verifiable JSON evidence (raw banner, candidate CPE, matched feed rule, confidence level) — timeouts and network congestion are the only documented source of run-to-run variation, unlike traditional `nmap`'s intermittent flakiness.
+- **Deterministic & explainable:** every vulnerability finding carries verifiable JSON evidence (raw banner, candidate CPE, matched feed rule, confidence level); timeouts and network congestion are the only documented source of run-to-run variation, unlike traditional `nmap`'s intermittent flakiness.
- **Least privilege:** containerized with strict privilege separation. Only the packet emitter container receives `NET_RAW` (no `NET_ADMIN`); the API, ingestion, diffing engine and web dashboard run completely unprivileged without capabilities. Falls back to an unprivileged `nativo-sem-raw` TCP-connect engine automatically when `CAP_NET_RAW` isn't usable.
- **Authorized use by design:** explicit authorized scope declaration is mandatory in configuration; out-of-scope targets are strictly rejected.
-- **Stays fresh on its own:** the local CVE/KEV database can sync itself periodically, independently of image or binary updates — the same principle Trivy uses for its own vulnerability database.
+- **Stays fresh on its own:** the local CVE/KEV database can sync itself periodically, independently of image or binary updates, the same principle Trivy uses for its own vulnerability database.
## What exists today
@@ -34,11 +34,12 @@ Harpia is a lightweight continuous attack surface and vulnerability audit daemon
| Storage | ✅ SQLite (state) + Parquet (immutable sweep batches) |
| Dashboard & executive report | ✅ embedded vanilla UI (severity palette, SVG charts, group CRUD), A4 Paged.js report at `/relatorio` |
| CSV / JSON export | ✅ `/api/export/*.csv`, `harpia export`, CSV-injection-safe |
+| Webhook alerts and Prometheus metrics | ✅ HMAC-signed webhooks (JSON, Slack, Discord) and `/metrics` |
| Docker Compose topology & hardening | ✅ validated end-to-end against a real target, including the permission boundary between the two containers' users |
| CI/CD (Gitea) | ✅ `ci.yml`, `release.yml`, `scripts/check.sh`, pre-push hook |
| Bilingual documentation | ✅ EN/PT-BR pairs, with real dashboard screenshots |
| `nmap` adapter / `harpia-scanner-nmap` variant | 🚧 not yet implemented |
-| Published releases | ❌ none yet — see [ROADMAP.md](ROADMAP.md) |
+| Published releases | ✅ CLI for `linux-x86_64` and `linux-aarch64` and the container image, on the [releases page](https://git.lucasrguerra.dev.br/ciberfauna/harpia/releases) |
## Core principles
@@ -74,7 +75,7 @@ Or build and run locally with Docker:
docker compose up -d --build
```
-To compile from source natively (just Rust 1.88+ — no external library to fetch, SQLite is bundled):
+To compile from source natively (just Rust 1.88+, no external library to fetch, SQLite is bundled):
```bash
cargo build --release -p harpia-cli
@@ -84,8 +85,8 @@ cargo build --release -p harpia-cli
Or download the standalone CLI from the [releases page](https://git.lucasrguerra.dev.br/ciberfauna/harpia/releases) (`linux-x86_64` and `linux-aarch64`) and check it against its `.sha256`:
```bash
-sha256sum -c harpia-v1.0.0-linux-x86_64.tar.gz.sha256
-tar xzf harpia-v1.0.0-linux-x86_64.tar.gz
+sha256sum -c harpia-v2.0.1-linux-x86_64.tar.gz.sha256
+tar xzf harpia-v2.0.1-linux-x86_64.tar.gz
```
Supported platform matrix for container images: `linux/amd64` and `linux/arm64`.
@@ -134,7 +135,7 @@ Summary of the [ROADMAP](ROADMAP.md):
| | |
|---|---|
-| **Done (1.2.0)** | Workspace crates, native SYN/connect scan engines, fingerprinting, CVE/KEV correlation, scoped diffs, SQLite+Parquet storage, dashboard, executive report, CSV export, config CRUD with scanner hot-reload behind an admin token, CI/CD with published image and CLI, property tests and weekly fuzzing, webhook alerts, Prometheus metrics |
+| **Done (2.0.1)** | Workspace crates, native SYN/connect scan engines, fingerprinting, CVE/KEV correlation, scoped diffs, SQLite+Parquet storage, dashboard, executive report, CSV export, config CRUD with scanner hot-reload behind an admin token, CI/CD with published image and CLI, property tests and weekly fuzzing, webhook alerts, Prometheus metrics |
| **Next** | Distribution backport mapping, email alerts |
| **Later** | `nmap` adapter and the `harpia-scanner-nmap` variant, OSV correlation, multi-scanner aggregation |
| **Not planned** | Exploitation payloads, NASL engine, mandatory cloud services, desktop Tauri wrapper |
diff --git a/README.pt-BR.md b/README.pt-BR.md
index 32495c2..50c4b81 100644
--- a/README.pt-BR.md
+++ b/README.pt-BR.md
@@ -10,17 +10,17 @@
---
-**Status: candidata a v1.0.** O pipeline completo — varredura SYN de socket cru, fallback TCP connect, fingerprint de serviço, correlação CVE/KEV, diffs por escopo, dashboard, relatório executivo, exportação CSV e CI/release — está implementado e foi validado contra um alvo real vulnerável (DVWA) através da stack Docker Compose hardened de verdade, não só do binário no host. Veja o [CHANGELOG.pt-BR.md](CHANGELOG.pt-BR.md) pra saber exatamente o que entrou e quando.
+**Status: estável, v2.0.1.** O pipeline completo (varredura SYN de socket cru, fallback TCP connect, fingerprint de serviço, correlação CVE/KEV, diffs por escopo, dashboard, relatório executivo, exportação CSV, alertas por webhook, métricas Prometheus e CI/release) está implementado e foi validado contra um alvo vulnerável real (DVWA) pela stack Docker Compose endurecida de verdade, não só pelo binário no host. O projeto foi renomeado de Xexéu para Harpia na 2.0.0. Veja o [CHANGELOG.pt-BR.md](CHANGELOG.pt-BR.md) pra saber exatamente o que foi entregue e quando.
A Harpia é um daemon leve e contínuo de auditoria de superfície de ataque e vulnerabilidades pra redes autorizadas. Em vez de varreduras pontuais e dumps XML desorganizados, a Harpia roda continuamente via Docker Compose, rastreando o que está exposto, o que mudou entre varreduras, e quais vulnerabilidades existem.
- **Contínuo, não pontual:** o produto principal é o estado atual deduplicado da sua superfície de rede mais um log de eventos de diferenças (hosts novos, portas fechadas, serviços alterados, CVEs corrigidos).
-- **Cadências de varredura em níveis:** segmentos críticos (servidores núcleo, DMZs) podem ser varridos com frequência (ex. a cada 5 minutos), enquanto segmentos secundários são auditados em cronogramas mais amplos (ex. cron diário às 03:00) — editável ao vivo pela tela de Grupos do dashboard, sem precisar editar arquivo nenhum.
+- **Cadências de varredura em níveis:** segmentos críticos (servidores núcleo, DMZs) podem ser varridos com frequência (ex. a cada 5 minutos), enquanto segmentos secundários são auditados em cronogramas mais amplos (ex. cron diário às 03:00), editável ao vivo pela tela de Grupos do dashboard, sem precisar editar arquivo nenhum.
- **Leve e local-first:** um único binário Rust, armazenamento embutido em SQLite + Parquet. Sem banco externo, sem Python no runtime e sem telemetria.
-- **Determinístico e explicável:** todo achado de vulnerabilidade carrega evidência JSON verificável (banner cru, CPE candidato, regra do feed que casou, nível de confiança) — timeouts e congestionamento de rede são a única fonte documentada de variação entre execuções, ao contrário da instabilidade intermitente do `nmap` tradicional.
+- **Determinístico e explicável:** todo achado de vulnerabilidade carrega evidência JSON verificável (banner cru, CPE candidato, regra do feed que casou, nível de confiança); timeouts e congestionamento de rede são a única fonte documentada de variação entre execuções, ao contrário da instabilidade intermitente do `nmap` tradicional.
- **Privilégio mínimo:** containerizado com separação estrita de privilégio. Só o container emissor de pacotes recebe `NET_RAW` (sem `NET_ADMIN`); a API, ingestão, motor de diff e dashboard web rodam completamente não privilegiados, sem capabilities. Recorre automaticamente ao motor `nativo-sem-raw` de TCP connect, sem privilégio, quando `CAP_NET_RAW` não está utilizável.
- **Uso autorizado por design:** declaração explícita de escopo autorizado é obrigatória na configuração; alvos fora do escopo são rejeitados sem exceção.
-- **Se mantém fresca sozinha:** a base local de CVE/KEV pode se sincronizar periodicamente, de forma independente de atualizações de imagem ou binário — o mesmo princípio que o Trivy usa pro próprio banco de vulnerabilidades.
+- **Se mantém fresca sozinha:** a base local de CVE/KEV pode se sincronizar periodicamente, de forma independente de atualizações de imagem ou binário, o mesmo princípio que o Trivy usa pro próprio banco de vulnerabilidades.
## O que existe hoje
@@ -34,11 +34,12 @@ A Harpia é um daemon leve e contínuo de auditoria de superfície de ataque e v
| Armazenamento | ✅ SQLite (estado) + Parquet (lotes de varredura imutáveis) |
| Dashboard e relatório executivo | ✅ interface embutida em HTML/JS puro (paleta por severidade, gráficos SVG, CRUD de grupos), relatório A4 com Paged.js em `/relatorio` |
| Exportação CSV / JSON | ✅ `/api/export/*.csv`, `harpia export`, protegido contra injeção de fórmula em CSV |
+| Alertas por webhook e métricas Prometheus | ✅ webhooks assinados com HMAC (JSON, Slack, Discord) e `/metrics` |
| Topologia Docker Compose e hardening | ✅ validado de ponta a ponta contra um alvo real, incluindo o limite de permissão entre os usuários dos dois containers |
| CI/CD (Gitea) | ✅ `ci.yml`, `release.yml`, `scripts/check.sh`, hook de pre-push |
| Documentação bilíngue | ✅ pares EN/PT-BR, com screenshots reais do dashboard |
| Adaptador `nmap` / variante `harpia-scanner-nmap` | 🚧 ainda não implementado |
-| Releases publicados | ❌ nenhum ainda — veja [ROADMAP.pt-BR.md](ROADMAP.pt-BR.md) |
+| Releases publicados | ✅ CLI para `linux-x86_64` e `linux-aarch64` e a imagem de container, na [página de releases](https://git.lucasrguerra.dev.br/ciberfauna/harpia/releases) |
## Princípios centrais
@@ -74,7 +75,7 @@ Ou builde e rode localmente com Docker:
docker compose up -d --build
```
-Pra compilar a partir do código-fonte nativamente (só Rust 1.88+ — sem biblioteca externa pra buscar, o SQLite vem embutido):
+Pra compilar a partir do código-fonte nativamente (só Rust 1.88+, sem biblioteca externa pra buscar, o SQLite vem embutido):
```bash
cargo build --release -p harpia-cli
@@ -84,8 +85,8 @@ cargo build --release -p harpia-cli
Ou baixe o CLI avulso na [página de releases](https://git.lucasrguerra.dev.br/ciberfauna/harpia/releases) (`linux-x86_64` e `linux-aarch64`) e confira com o `.sha256`:
```bash
-sha256sum -c harpia-v1.0.0-linux-x86_64.tar.gz.sha256
-tar xzf harpia-v1.0.0-linux-x86_64.tar.gz
+sha256sum -c harpia-v2.0.1-linux-x86_64.tar.gz.sha256
+tar xzf harpia-v2.0.1-linux-x86_64.tar.gz
```
Matriz de plataforma suportada pras imagens de container: `linux/amd64` e `linux/arm64`.
@@ -134,7 +135,7 @@ Resumo do [ROADMAP](ROADMAP.pt-BR.md):
| | |
|---|---|
-| **Feito (1.2.0)** | Crates do workspace, motores de varredura SYN/connect nativos, fingerprint, correlação CVE/KEV, diffs por escopo, armazenamento SQLite+Parquet, dashboard, relatório executivo, exportação CSV, CRUD de config com hot-reload do scanner protegido por token de administração, CI/CD com imagem e CLI publicados, testes de propriedade e fuzzing semanal, alertas por webhook, métricas Prometheus |
+| **Feito (2.0.1)** | Crates do workspace, motores de varredura SYN/connect nativos, fingerprint, correlação CVE/KEV, diffs por escopo, armazenamento SQLite+Parquet, dashboard, relatório executivo, exportação CSV, CRUD de config com hot-reload do scanner protegido por token de administração, CI/CD com imagem e CLI publicados, testes de propriedade e fuzzing semanal, alertas por webhook, métricas Prometheus |
| **Próximo** | Mapeamento de backports de distribuição, alertas por e-mail |
| **Depois** | Adaptador `nmap` e a variante `harpia-scanner-nmap`, correlação OSV, agregação de vários scanners |
| **Não planejado** | Payloads de exploração, motor NASL, serviços de nuvem obrigatórios, wrapper desktop Tauri |
diff --git a/ROADMAP.md b/ROADMAP.md
index 41a5a36..b6477ad 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -6,6 +6,7 @@ Harpia does continuous attack-surface and vulnerability auditing: it sweeps auth
## Done
+- **Rename to Harpia (2.0.0):** the project, crates, binary, environment variables, container image and repository were renamed from Xexéu to Harpia, after the harpy eagle. See the [CHANGELOG](CHANGELOG.md) for the migration notes.
- **Webhook alerts (1.2.0):** surface changes posted after each sweep, filtered by kind and group, as JSON or Slack/Discord messages, HMAC-signed, with retries.
- **Prometheus metrics (1.2.0):** `/metrics` with hosts, ports, findings by severity, feed age, per-group last sweep and webhook deliveries.
- **Robustness (1.1.0):** fuzzing of the parsers that read untrusted input (service banners, NVD/KEV feeds, target expansion), property tests for the diff engine's no-false-disappearance guarantee, `harpia-cli` split into modules, and a weekly dependency audit.
@@ -14,9 +15,9 @@ Harpia does continuous attack-surface and vulnerability auditing: it sweeps auth
- **Target & tiered schedule configuration:** `[escopo]`, `[padrao]`, `[perfis.*]`, `[[grupo]]` parsing; CIDR/range/DNS target expansion with rigid `escopo.autorizado` enforcement; 5-field cron with shortcuts, jitter and an aggressive-cadence warning (< 5 min); groups and their cron are editable live from the dashboard (`/api/config/groups`), with `scanner` hot-reloading on the config file's mtime.
- **Scan engine & scheduler:** multi-group scheduler with a shared packet-rate budget and non-overlapping group runs; native raw-socket SYN engine (`nativo`, requires `CAP_NET_RAW`) with automatic fallback to the unprivileged TCP-connect engine (`nativo-sem-raw`); HTTP/SSH/TLS service fingerprinting; atomic Parquet batch writes (`observations.parquet` + `manifest.json`) with file permissions explicit about the two containers running as different, unrelated Linux users.
- **Non-intrusive vulnerability identification:** local NVD CVE JSON 2.0 + CISA KEV caching, offline import or live sync (one-shot or periodic background, independent of image/binary updates); deterministic CPE → CVE matcher with confidence levels (`alta`/`média`/`baixa`); safe configuration checks (expired/soon-to-expire TLS certificates, unencrypted administrative ports).
-- **Storage, diff engine & change history:** embedded SQLite (state) + Parquet (immutable sweep batches) — see `docs/architecture.md` for why SQLite instead of the originally-specified DuckDB; idempotent batch ingestion; scoped diff computation that never produces a false disappearance from a partial sweep; debounced state transitions (`ausencias_para_sumir`).
+- **Storage, diff engine & change history:** embedded SQLite (state) + Parquet (immutable sweep batches), see `docs/architecture.md` for why SQLite instead of the originally-specified DuckDB; idempotent batch ingestion; scoped diff computation that never produces a false disappearance from a partial sweep; debounced state transitions (`ausencias_para_sumir`).
- **API, dashboard & executive report:** Axum API (`/api/health`, `/api/status`, `/api/hosts`, `/api/changes`, `/api/config*`, `/api/export/*.csv`); embedded vanilla HTML/CSS/JS dashboard with a CVSS-severity palette, SVG charts and group CRUD; an A4, Paged.js-paginated executive report at `/relatorio`.
-- **CI/CD & hardening:** Gitea `ci.yml`/`release.yml`, `scripts/check.sh` and a pre-push hook, a multi-stage `Dockerfile`, and `docker-compose.yml` — all validated end-to-end against a real scan target (DVWA) through the actual hardened containers, not just the host binary.
+- **CI/CD & hardening:** Gitea `ci.yml`/`release.yml`, `scripts/check.sh` and a pre-push hook, a multi-stage `Dockerfile`, and `docker-compose.yml`, all validated end-to-end against a real scan target (DVWA) through the actual hardened containers, not just the host binary.
- **Bilingual documentation:** `README`, `CHANGELOG`, `CONTRIBUTING`, `SECURITY`, `ROADMAP` and the full `docs/` set (architecture, CLI, configuration, Docker, interface, support), EN/PT-BR pairs, with real dashboard screenshots.
## Next
diff --git a/ROADMAP.pt-BR.md b/ROADMAP.pt-BR.md
index 2d97d1a..40c3033 100644
--- a/ROADMAP.pt-BR.md
+++ b/ROADMAP.pt-BR.md
@@ -6,6 +6,7 @@ O Harpia faz auditoria contínua de superfície de ataque e de vulnerabilidades:
## Concluído
+- **Renomeação para Harpia (2.0.0):** o projeto, os crates, o binário, as variáveis de ambiente, a imagem de container e o repositório foram renomeados de Xexéu para Harpia, em referência à harpia (gavião-real). Veja o [CHANGELOG](CHANGELOG.pt-BR.md) para as notas de migração.
- **Alertas por webhook (1.2.0):** mudanças de superfície enviadas depois de cada varredura, filtradas por tipo e grupo, como JSON ou mensagem de Slack/Discord, assinadas com HMAC, com novas tentativas.
- **Métricas Prometheus (1.2.0):** `/metrics` com hosts, portas, achados por severidade, idade dos feeds, última varredura por grupo e entregas de webhook.
- **Robustez (1.1.0):** fuzzing dos parsers que leem entrada não confiável (banners de serviço, feeds NVD/KEV, expansão de alvos), testes de propriedade da garantia de nenhum desaparecimento falso do motor de diff, `harpia-cli` dividido em módulos e auditoria semanal de dependências.
@@ -14,9 +15,9 @@ O Harpia faz auditoria contínua de superfície de ataque e de vulnerabilidades:
- **Configuração de alvos e agendamento em níveis:** parse de `[escopo]`, `[padrao]`, `[perfis.*]`, `[[grupo]]`; expansão de alvo CIDR/faixa/DNS com imposição estrita de `escopo.autorizado`; cron de 5 campos com atalhos, jitter e aviso de cadência agressiva (< 5 min); grupos e seu cron são editáveis ao vivo pelo dashboard (`/api/config/groups`), com o `scanner` recarregando sozinho pelo `mtime` do arquivo de config.
- **Motor de varredura e agendador:** agendador multi-grupo com orçamento de taxa de pacotes compartilhado e sem sobreposição de execuções; motor nativo de SYN cru (`nativo`, exige `CAP_NET_RAW`) com fallback automático pro motor TCP connect sem privilégio (`nativo-sem-raw`); fingerprint de serviço HTTP/SSH/TLS; gravação atômica de lotes Parquet (`observations.parquet` + `manifest.json`) com permissões de arquivo explícitas sobre os dois containers rodando como usuários Linux diferentes e sem relação.
- **Identificação não intrusiva de vulnerabilidades:** cache local do NVD CVE JSON 2.0 + CISA KEV, importação offline ou sync ao vivo (único ou periódico em segundo plano, independente de atualização de imagem/binário); correlacionador determinístico CPE → CVE com níveis de confiança (`alta`/`média`/`baixa`); checagens seguras de configuração (certificados TLS expirados ou prestes a expirar, portas administrativas sem criptografia).
-- **Armazenamento, motor de diff e histórico de mudanças:** SQLite embutido (estado) + Parquet (lotes de varredura imutáveis) — veja `docs/pt-BR/arquitetura.md` pro motivo de SQLite em vez do DuckDB originalmente especificado; ingestão idempotente de lotes; cálculo de diff por escopo que nunca gera um falso desaparecimento a partir de uma varredura parcial; amortecimento de transições de estado (`ausencias_para_sumir`).
+- **Armazenamento, motor de diff e histórico de mudanças:** SQLite embutido (estado) + Parquet (lotes de varredura imutáveis), veja `docs/pt-BR/arquitetura.md` pro motivo de SQLite em vez do DuckDB originalmente especificado; ingestão idempotente de lotes; cálculo de diff por escopo que nunca gera um falso desaparecimento a partir de uma varredura parcial; amortecimento de transições de estado (`ausencias_para_sumir`).
- **API, dashboard e relatório executivo:** API Axum (`/api/health`, `/api/status`, `/api/hosts`, `/api/changes`, `/api/config*`, `/api/export/*.csv`); dashboard embutido em HTML/CSS/JS puro com paleta por severidade CVSS, gráficos SVG e CRUD de grupos; relatório executivo A4 paginado com Paged.js em `/relatorio`.
-- **CI/CD e hardening:** `ci.yml`/`release.yml` do Gitea, `scripts/check.sh` e hook de pre-push, `Dockerfile` multi-stage, e `docker-compose.yml` — tudo validado de ponta a ponta contra um alvo real de varredura (DVWA) através dos containers hardened de verdade, não só do binário no host.
+- **CI/CD e hardening:** `ci.yml`/`release.yml` do Gitea, `scripts/check.sh` e hook de pre-push, `Dockerfile` multi-stage, e `docker-compose.yml`, tudo validado de ponta a ponta contra um alvo real de varredura (DVWA) através dos containers hardened de verdade, não só do binário no host.
- **Documentação bilíngue:** `README`, `CHANGELOG`, `CONTRIBUTING`, `SECURITY`, `ROADMAP` e todo o conjunto `docs/` (arquitetura, CLI, configuração, Docker, interface, suporte), pares EN/PT-BR, com screenshots reais do dashboard.
## Próximo
diff --git a/apps/gui/ui/app.js b/apps/gui/ui/app.js
index 3f193b4..9f0fdbd 100644
--- a/apps/gui/ui/app.js
+++ b/apps/gui/ui/app.js
@@ -980,7 +980,7 @@ function renderFindings() {
const badge = el('span', `sev-badge ${sev}`, `${formatScore(finding.cvss)} ${severityLabel(sev)}`);
const main = el('div', 'alert-main');
- const title = el('div', 'alert-title', `${finding.id} — ${finding.title || finding.description || ''}`);
+ const title = el('div', 'alert-title', `${finding.id}: ${finding.title || finding.description || ''}`);
const meta = el('div', 'alert-meta');
meta.append(
el('span', 'alert-target', `${finding.hostIp}:${finding.port}`),
@@ -1188,7 +1188,7 @@ function openEditGroupDialog(name) {
if (!group) return;
editingGroupName = name;
- groupDlgTitle.textContent = `${t('Editar Grupo')} — ${name}`;
+ groupDlgTitle.textContent = `${t('Editar Grupo')}: ${name}`;
groupFormError.hidden = true;
groupFormError.textContent = '';
groupName.value = group.nome || '';
diff --git a/apps/gui/ui/i18n-en.js b/apps/gui/ui/i18n-en.js
index 6e34303..44d4a5d 100644
--- a/apps/gui/ui/i18n-en.js
+++ b/apps/gui/ui/i18n-en.js
@@ -199,7 +199,7 @@ export const EN = {
'Erro de rede ao salvar grupo': 'Network error while saving the group',
'Erro ao remover grupo': 'Could not remove the group',
'Erro de rede ao remover grupo': 'Network error while removing the group',
- 'Harpia — Auditoria Contínua de Superfície de Ataque': 'Harpia — Continuous Attack Surface Auditing',
+ 'Harpia: Auditoria Contínua de Superfície de Ataque': 'Harpia: Continuous Attack Surface Auditing',
'superfície de risco': 'risk surface',
'Informações de sincronização incremental NVD e catálogo CISA KEV.': 'Incremental NVD sync and CISA KEV catalog status.',
'Média': 'Medium',
diff --git a/apps/gui/ui/index.html b/apps/gui/ui/index.html
index 349302b..b1d0071 100644
--- a/apps/gui/ui/index.html
+++ b/apps/gui/ui/index.html
@@ -3,7 +3,7 @@
-Harpia — Auditoria Contínua de Superfície de Ataque
+Harpia: Auditoria Contínua de Superfície de Ataque
diff --git a/crates/harpia-cli/tests/config_crud_and_export_e2e.rs b/crates/harpia-cli/tests/config_crud_and_export_e2e.rs
index f88c9c2..58c31c4 100644
--- a/crates/harpia-cli/tests/config_crud_and_export_e2e.rs
+++ b/crates/harpia-cli/tests/config_crud_and_export_e2e.rs
@@ -262,7 +262,7 @@ alvos = ["127.0.0.1/32"]
let (code, headers, body) = http_request(&addr, "GET", "/relatorio", None);
assert_eq!(code, 200);
assert!(headers.contains("content-type: text/html; charset=utf-8"));
- assert!(body.contains("Relatório Executivo de Segurança — Harpia"));
+ assert!(body.contains("Relatório Executivo de Segurança: Harpia"));
assert!(body.contains("Indicadores-Chave de Exposição (KPIs)"));
assert!(body.contains("Glossário e Metodologia de Avaliação"));
diff --git a/crates/harpia-core/src/report.rs b/crates/harpia-core/src/report.rs
index 6397971..b2625e3 100644
--- a/crates/harpia-core/src/report.rs
+++ b/crates/harpia-core/src/report.rs
@@ -516,7 +516,7 @@ impl ExecutiveReport {
};
ExecutiveReport {
- title: "Relatório Executivo de Segurança — Harpia".to_string(),
+ title: "Relatório Executivo de Segurança: Harpia".to_string(),
subtitle: format!(
"Auditoria contínua de superfície de ataque e catálogo de vulnerabilidades · Emitido em {}",
now.format("%d/%m/%Y às %H:%M UTC")
@@ -566,7 +566,7 @@ impl ExecutiveReport {
html.push_str("
\n");
html.push_str("
XEXÉU
\n");
+ html.push_str("\" alt=\"\">HARPIA
\n");
html.push_str("
\n");
html.push_str(&format!(
"
{1}
\n",
@@ -1478,7 +1478,7 @@ alvos = ["10.0.0.1/32"]
}
let html = report.render_html();
- assert!(html.contains("Relatório Executivo de Segurança — Harpia"));
+ assert!(html.contains("Relatório Executivo de Segurança: Harpia"));
assert!(html.contains("CVE-2024-CRIT"));
assert!(html.contains("Execução remota crítica"));
assert!(html.contains("paged.polyfill.js"));
diff --git a/docs/architecture.md b/docs/architecture.md
index d1729a1..ab9bc7b 100644
--- a/docs/architecture.md
+++ b/docs/architecture.md
@@ -14,9 +14,9 @@ an unprivileged analytical server (`harpia`), sharing one binary and one
|---|---|---|
| Core engine & CLI | Rust 2021 (MSRV 1.88) | Memory safety, native networking performance, single binary deployment. |
| API layer | Axum + Tokio | Asynchronous HTTP service with minimal overhead. |
-| Web dashboard | Vanilla HTML/CSS/JS | Zero-dependency frontend embedded directly into the binary via `include_str!`/`include_bytes!` — no `rust-embed`, no build step. |
-| Raw-socket engine | `socket2`, hand-built TCP headers | A single `SOCK_RAW`/`IPPROTO_TCP` socket for both sending SYN probes and receiving replies — see [Scan engine](#scan-engine) below. |
-| Storage engine | SQLite (`rusqlite`, bundled) + Parquet | Embedded, zero-ops storage. **Not DuckDB**: an early design draft specified DuckDB for its analytical query strengths, but SQLite was chosen instead for v1.0 — no external `libduckdb.so` to link or ship, one less moving part, and the query patterns `harpia serve` actually needs (point lookups by asset key, small aggregate counts) don't benefit from a columnar engine. Sweep batches themselves stay in Parquet (immutable, one file per sweep, not touched by this choice). |
+| Web dashboard | Vanilla HTML/CSS/JS | Zero-dependency frontend embedded directly into the binary via `include_str!`/`include_bytes!`, no `rust-embed`, no build step. |
+| Raw-socket engine | `socket2`, hand-built TCP headers | A single `SOCK_RAW`/`IPPROTO_TCP` socket for both sending SYN probes and receiving replies, see [Scan engine](#scan-engine) below. |
+| Storage engine | SQLite (`rusqlite`, bundled) + Parquet | Embedded, zero-ops storage. **Not DuckDB**: an early design draft specified DuckDB for its analytical query strengths, but SQLite was chosen instead for v1.0: no external `libduckdb.so` to link or ship, one less moving part, and the query patterns `harpia serve` actually needs (point lookups by asset key, small aggregate counts) don't benefit from a columnar engine. Sweep batches themselves stay in Parquet (immutable, one file per sweep, not touched by this choice). |
| Deployment | Docker Compose | Strict privilege isolation, container hardening, immutable batches over named volumes. |
## System topology & data flow
@@ -41,7 +41,7 @@ scanner (NET_RAW, host net, uid 0) harpia (uid 10001, zero capabilities)
- **`scanner`:** emits raw network packets to discover hosts and scan ports,
and writes sweep batches. It requires `network_mode: host` and
- `cap_add: [NET_RAW]` (hence `user: "0:0"` — see
+ `cap_add: [NET_RAW]` (hence `user: "0:0"`, see
[`docker.md`](docker.md#why-scanner-runs-as-uid-0-restricted-to-net_raw)
for why Docker makes that necessary), but drops every other capability
(`cap_drop: [ALL]`), runs with a read-only root filesystem, and only
@@ -61,7 +61,7 @@ either can feed the rest of the pipeline unchanged:
- **`nativo` (raw SYN, `scan::syn_scan`):** one `SOCK_RAW`/`IPPROTO_TCP`
socket per scan, used for both sending and receiving. On Linux, such a
- socket needs no `IP_HDRINCL` to send — the kernel fills in the IP header,
+ socket needs no `IP_HDRINCL` to send; the kernel fills in the IP header,
so each probe is just a hand-built 20-byte TCP segment (SYN flag, correct
checksum over the IPv4 pseudo-header). On receive, the kernel does the
opposite and hands back the full IP+TCP packet, so replies are parsed by
@@ -76,7 +76,7 @@ either can feed the rest of the pipeline unchanged:
`execute_scan_for_group` in `harpia-cli` picks `nativo` whenever a profile
asks for it **and** `CAP_NET_RAW` is actually usable, and falls back to
-`nativo-sem-raw` with a logged warning otherwise — the engine that actually
+`nativo-sem-raw` with a logged warning otherwise, the engine that actually
ran, not the one requested, is what gets recorded in the sweep manifest, so
an operator reading `/api/status` or a manifest never has to guess.
@@ -94,7 +94,7 @@ filesystem batches, never a network call between the two containers:
### 4. Tiered scheduling & scope boundaries
Target configuration in `harpia.toml` decouples asset definitions from
-execution policy — see [`configuration.md`](configuration.md) for the full
+execution policy, see [`configuration.md`](configuration.md) for the full
reference:
- **`[escopo]`:** mandatory boundary. Any target or DNS resolution outside
@@ -118,7 +118,7 @@ covered:
- **Scoped diff algorithm:** ports outside a group's scanned profile are
never marked closed by that group's sweep.
- **Oscillation debounce:** a host needs `ausencias_para_sumir` consecutive
- missed sweeps before `host_sumiu` fires — one dropped sweep never reads as
+ missed sweeps before `host_sumiu` fires; one dropped sweep never reads as
a disappearance.
- **Event log:** append-only log of `host_novo`, `porta_aberta`,
`servico_alterado`, `vulnerabilidade_nova`, `vulnerabilidade_corrigida`
@@ -130,7 +130,7 @@ covered:
raw SSH banner, TLS certificate). `vuln::matcher` turns that into a
candidate CPE and matches it against the local CVE/KEV database
(`vuln::feeds`), producing `Finding`s with a CVSS score, KEV status and a
-confidence level (`alta`/`média`/`baixa` — lower when a distro backport is
+confidence level (`alta`/`média`/`baixa`, lower when a distro backport is
suspected, since a backported security fix can leave an old-looking version
string on an actually-patched package). `vuln::checks` adds a small set of
safe, non-intrusive configuration checks (expired/soon-to-expire TLS
@@ -140,7 +140,7 @@ matching.
### 7. Determinism
Every documented source of variation in a result is explicit, not
-incidental — the opposite of the intermittent flakiness traditional `nmap`
+incidental, the opposite of the intermittent flakiness traditional `nmap`
runs are known for: timeouts and network congestion are the *only*
documented sources of run-to-run difference (a dropped packet reads as
`Filtered`, never as a silently different `Open`/`Closed` verdict), results
diff --git a/docs/cli.md b/docs/cli.md
index 4e628ad..8260838 100644
--- a/docs/cli.md
+++ b/docs/cli.md
@@ -44,7 +44,7 @@ scanner that stopped.
## `harpia scanner`
-Runs the continuous scheduler and scan engine, writing sweep batches —
+Runs the continuous scheduler and scan engine, writing sweep batches,
never exits on its own, same lifecycle as a daemon.
```
@@ -58,12 +58,12 @@ Options:
Picks the `nativo` (raw SYN) engine whenever a profile asks for it and
`CAP_NET_RAW` is actually usable, falling back to `nativo-sem-raw`
-automatically otherwise — see [`architecture.md`](architecture.md#2-scan-engine).
+automatically otherwise, see [`architecture.md`](architecture.md#2-scan-engine).
This is the `scanner` Compose service's entrypoint.
## `harpia scan --group --once`
-Runs a single sweep for one group, for diagnostics — writes a batch exactly
+Runs a single sweep for one group, for diagnostics; it writes a batch exactly
like `scanner` would, then exits.
```
@@ -93,7 +93,7 @@ Options:
--config [default: config/harpia.toml]
```
-Exits non-zero on an invalid configuration — safe to use in a pre-push hook
+Exits non-zero on an invalid configuration, safe to use in a pre-push hook
or CI step, which is exactly what `scripts/check.sh` does.
## `harpia feeds sync` / `harpia feeds import`
@@ -108,7 +108,7 @@ Commands:
```bash
# Live, one-shot sync (also happens automatically inside `serve` if
-# padrao.feeds.sincronizar_automaticamente = true — see configuration.md)
+# padrao.feeds.sincronizar_automaticamente = true: see configuration.md)
harpia feeds sync --config config/harpia.toml --data-dir data/harpia
# Offline, for air-gapped networks
@@ -118,7 +118,7 @@ harpia feeds import ./nvd-dump --data-dir data/harpia
## `harpia changes --since `
Prints diff events (new/gone host, new/closed port, new/fixed
-vulnerability) from the local state — the same data `/api/changes` serves.
+vulnerability) from the local state, the same data `/api/changes` serves.
```bash
harpia changes --since 24h --data-dir data/harpia
@@ -126,7 +126,7 @@ harpia changes --since 24h --data-dir data/harpia
## `harpia export --format json|csv`
-Exports the current deduplicated state (hosts, ports, findings) — shares
+Exports the current deduplicated state (hosts, ports, findings), shares
its formatting logic with the `/api/export/*.csv` and `/api/hosts`
endpoints, so a terminal export and a dashboard download never drift apart.
@@ -146,7 +146,7 @@ harpia export --format json --data-dir data/harpia # prints to stdout
## `harpia doctor [--json]`
-Diagnoses the runtime environment — run this first when something looks
+Diagnoses the runtime environment; run this first when something looks
wrong, and always before reporting an issue (see
[`support.md`](support.md)).
@@ -177,7 +177,7 @@ Resultado: OK
Exits `1` if any critical item (`config`, a missing database it needs to
write to) failed; a missing/stale vulnerability database or absent
-`CAP_NET_RAW` are reported but don't fail the exit code — both have a
+`CAP_NET_RAW` are reported but don't fail the exit code; both have a
documented degraded path (see [`architecture.md`](architecture.md)).
`--json` is meant for scripted health checks and monitoring, not for
humans at a terminal.
diff --git a/docs/configuration.md b/docs/configuration.md
index e0a3a23..1fc68d9 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -5,7 +5,7 @@
Harpia is configured by a single TOML file, by default `config/harpia.toml`
(override with `--config` on every command). `harpia config check --config
` validates it and prints, per group, the address count, effective
-cron and cadence overlaps — run it after every edit, before restarting
+cron and cadence overlaps; run it after every edit, before restarting
`serve`/`scanner`.
## Shape of the file
@@ -44,50 +44,50 @@ See [`examples/harpia.toml`](../examples/harpia.toml) for a fully commented
reference covering a corporate network, a DMZ and a core/critical tier with
two cadences (a light 5-minute check and a full 03:00 sweep).
-### `[escopo]` — authorized scope (hard limit)
+### `[escopo]`: authorized scope (hard limit)
- `autorizado`: list of CIDR ranges every expanded target must fall inside.
- A target outside it — including a DNS name that resolves outside it —
+ A target outside it (including a DNS name that resolves outside it)
is rejected (`config check` fails for static targets; a name is skipped
for that sweep and logged as `alvo_fora_do_escopo` if it only drifts at
resolution time).
- `responsavel`: free-text contact, shown in reports; not validated.
-### `[padrao]` — defaults inherited by every group
+### `[padrao]`: defaults inherited by every group
- `cron`: 5-field cron expression or a shortcut (`@hourly`, `@daily`,
`@weekly`, `@monthly`). Any group without its own `cron` uses this one.
- `jitter`: percentage of the interval to the next run, applied as a
- deterministic (not random) offset — see [`architecture.md`](architecture.md)
+ deterministic (not random) offset, see [`architecture.md`](architecture.md)
for why.
- `perfil`: which `[perfis.*]` table a group uses when it doesn't set its own.
- `taxa_maxima_pps` / `hosts_simultaneos`: shared rate budget across the
whole scanner process, not per group.
- `ausencias_para_sumir`: consecutive missed sweeps before a host is marked
- gone (`host_sumiu`) — protects against a single dropped sweep producing a
+ gone (`host_sumiu`); this protects against a single dropped sweep producing a
false "host disappeared" event.
- `[padrao.feeds]`: `sincronizar_automaticamente` (bool, default `false`) and
`intervalo_sincronizacao` (default `"24h"`) control the background CVE/KEV
- refresh inside `harpia serve` — see [Vulnerability feeds](#vulnerability-feeds) below.
+ refresh inside `harpia serve`, see [Vulnerability feeds](#vulnerability-feeds) below.
-### `[perfis.]` — port and engine profiles
+### `[perfis.]`: port and engine profiles
- `tcp`: `"top-1000"`, a range (`"1-65535"`), or an explicit list
(`"22,80,443"`).
- `udp`: list of UDP ports to probe (string list).
- `motor`: `"nativo"` (tries the raw-socket SYN engine, falls back to
- `nativo-sem-raw` automatically if `CAP_NET_RAW` isn't available — see
+ `nativo-sem-raw` automatically if `CAP_NET_RAW` isn't available, see
[`docker.md`](docker.md)) or `"nmap"` (requires the `harpia-scanner-nmap`
image variant).
- `vulnerabilidades`: whether CVE/KEV correlation and the safe config checks
(expired TLS cert, unencrypted admin port) run for this profile's findings.
-### `[[grupo]]` — target groups
+### `[[grupo]]`: target groups
Each `[[grupo]]` block is a named network with its own targets and,
optionally, its own cron/profile/criticality:
-- `nome`: unique name (also the asset-identity namespace — see
+- `nome`: unique name (also the asset-identity namespace, see
[`architecture.md`](architecture.md)).
- `alvos`: list of CIDR ranges, single IPs, ranges (`"10.0.1.10-10.0.1.20"`)
or DNS names (re-resolved every sweep).
@@ -95,14 +95,14 @@ optionally, its own cron/profile/criticality:
names).
- `cron` / `perfil` / `criticidade`: override the defaults for this group
only. `criticidade` is informational (shown in the dashboard/report), it
- does not change scheduling by itself — the cron does.
+ does not change scheduling by itself; the cron does.
A host can belong to more than one group (e.g. a narrow high-frequency group
and a broad daily one covering the same address). The storage layer
deduplicates by asset identity, and `config check` lists the overlap with
each host's effective (shortest) cadence.
-### `[[webhook]]` — change alerts
+### `[[webhook]]`: change alerts
After each ingested sweep, `harpia serve` posts the surface changes it found to
every `[[webhook]]` (one request per sweep, only when there is something to
@@ -135,7 +135,7 @@ segredo_env = "HARPIA_WEBHOOK_KEY" # optional HMAC-SHA256 signature
## Editing a group from the dashboard
`harpia serve`'s **Groups** view can create, edit and delete groups without
-touching the file by hand (`POST`/`PUT`/`DELETE /api/config/groups`) — every
+touching the file by hand (`POST`/`PUT`/`DELETE /api/config/groups`); every
mutation re-runs the same validation as `config check` and persists back to
the TOML file atomically. `harpia scanner`, running as a separate process,
picks up the change on its next tick by comparing the file's mtime; no
@@ -149,6 +149,6 @@ dump and a CISA KEV file with no network access (for air-gapped networks).
and merges them into the existing local database. Setting
`padrao.feeds.sincronizar_automaticamente = true` makes `harpia serve` repeat
that sync on its own, every `intervalo_sincronizacao`, for as long as the
-process runs — the CVE database then stays fresh independently of the image
+process runs; the CVE database then stays fresh independently of the image
or binary being rebuilt, the same principle Trivy uses for its vulnerability
database.
diff --git a/docs/docker.md b/docs/docker.md
index 4bfc394..d4fa811 100644
--- a/docs/docker.md
+++ b/docs/docker.md
@@ -25,7 +25,7 @@ scanner (NET_RAW, host net) harpia (no capabilities)
- **`harpia`** never emits traffic at scan targets. It ingests batches
(mounted `:ro`), is SQLite's only writer, serves the API/dashboard, and
makes the only outbound connections the stack has (feed sync, update
- check) — both opt-in and both disabled by default.
+ check), both opt-in and both disabled by default.
## Quick start
@@ -48,7 +48,7 @@ published address.
The raw-socket SYN engine (`nativo`, see [`architecture.md`](architecture.md))
needs `CAP_NET_RAW`. Docker's `cap_add` only grants a capability to a
-process that is already root (`uid 0`) inside the container — a non-root
+process that is already root (`uid 0`) inside the container; a non-root
user does **not** receive an added capability unless the binary itself
carries it as a *file capability* (`setcap cap_net_raw+ep`), and this image
intentionally doesn't bake that in (a setuid-like file capability is itself
@@ -59,7 +59,7 @@ So the `scanner` service runs as `uid 0` but with **every other** capability
dropped (`cap_drop: [ALL]`, `cap_add: [NET_RAW]` only), a read-only root
filesystem, `tmpfs` for `/tmp`, and `no-new-privileges`. It is still
"root" in the Linux-user sense, but it can do essentially nothing a normal
-root process could — no `NET_ADMIN`, no `SYS_ADMIN`, no filesystem writes
+root process could, no `NET_ADMIN`, no `SYS_ADMIN`, no filesystem writes
outside the two mounted volumes, nothing privileged except crafting raw TCP
packets.
@@ -73,7 +73,7 @@ If the capability isn't usable for any reason (remapping misconfigured, a
platform that strips it, a profile with `motor = "nativo"` running outside
this compose file at all), `harpia` detects it automatically
(`harpia doctor` reports it, and every sweep manifest records which engine
-actually ran) and falls back to `nativo-sem-raw` — never a hard failure.
+actually ran) and falls back to `nativo-sem-raw`, never a hard failure.
## Volumes
diff --git a/docs/img/achados-dark-pt.png b/docs/img/achados-dark-pt.png
index 47ad022..f40cb74 100644
Binary files a/docs/img/achados-dark-pt.png and b/docs/img/achados-dark-pt.png differ
diff --git a/docs/img/grupos-dark-pt.png b/docs/img/grupos-dark-pt.png
index 5fd99ae..e5df5d0 100644
Binary files a/docs/img/grupos-dark-pt.png and b/docs/img/grupos-dark-pt.png differ
diff --git a/docs/img/hosts-dark-pt.png b/docs/img/hosts-dark-pt.png
index 9942f31..132346a 100644
Binary files a/docs/img/hosts-dark-pt.png and b/docs/img/hosts-dark-pt.png differ
diff --git a/docs/img/relatorio-executivo-pt.png b/docs/img/relatorio-executivo-pt.png
index a5aa431..fdf7d6f 100644
Binary files a/docs/img/relatorio-executivo-pt.png and b/docs/img/relatorio-executivo-pt.png differ
diff --git a/docs/img/visao-geral-dark-pt.png b/docs/img/visao-geral-dark-pt.png
index 95289ab..1404b5c 100644
Binary files a/docs/img/visao-geral-dark-pt.png and b/docs/img/visao-geral-dark-pt.png differ
diff --git a/docs/interface.md b/docs/interface.md
index d69d4d8..8a379d5 100644
--- a/docs/interface.md
+++ b/docs/interface.md
@@ -3,7 +3,7 @@
# Interface
`harpia serve` embeds a vanilla HTML/CSS/JS dashboard (no build step, no
-framework) — the same architectural pattern as Acauã's. It polls the API
+framework), the same architectural pattern as Acauã's. It polls the API
every few seconds and never needs a page reload to reflect a new sweep.
## Overview
@@ -36,7 +36,7 @@ searchable, sorted by CVSS by default.
Add, edit and delete target groups (CIDR ranges, single hosts, exclusions,
-cron, port profile, criticality) without touching `harpia.toml` by hand —
+cron, port profile, criticality) without touching `harpia.toml` by hand,
see [`configuration.md`](configuration.md#editing-a-group-from-the-dashboard)
for how the change reaches the running `scanner`.
@@ -50,7 +50,7 @@ dashboard asks for it. It is kept for the browser tab only.
`GET /relatorio` renders a print-oriented A4 report (cover, table of
contents, KPIs, prioritized findings table, host inventory, glossary),
-paginated with Paged.js — open it in a browser and print/"save as PDF" for
+paginated with Paged.js; open it in a browser and print/"save as PDF" for
a shareable document. See the dashboard's "Export executive report" link.
## Changes
@@ -62,11 +62,13 @@ fixed vulnerability) from `/api/changes`, the same data `harpia changes
## CSV exports
The Hosts, Findings and Changes views each have an "Export CSV" button that
-downloads `/api/export/{hosts,findings,changes}.csv` directly — Portuguese
+downloads `/api/export/{hosts,findings,changes}.csv` directly, Portuguese
headers, RFC 4180 quoting, a timestamped filename.
## Settings
-Language (PT-BR/English) and theme (light/dark/auto) — the same pattern as
+Language (PT-BR/English) and theme (light/dark/auto), the same pattern as
every other Ciberfauna dashboard, including the dark-mode `