Files
harpia/CHANGELOG.md
T
Lucas RayanandClaude Opus 5.5 8b6e0d4a3f
CI / Format and clippy (pull_request) Successful in 30s
CI / Tests (Linux) (pull_request) Successful in 2m39s
CI / Dependency audit (pull_request) Successful in 15s
CI / Docker image (build and smoke test) (pull_request) Successful in 6m37s
chore(release): 1.1.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:53:26 -03:00

59 lines
5.4 KiB
Markdown

# Changelog
**English** · [Português](CHANGELOG.pt-BR.md)
Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow SemVer.
## [Unreleased]
## [1.1.0] - 2026-11-03
### Security
- A TLS certificate whose validity time held a multi-byte UTF-8 character crashed the parser (byte-offset slice inside a character), so a hostile host in scope could abort its sweep. Found by `cargo fuzz`; non-ASCII times are now rejected as an error.
### Added
- Property tests for every parser of untrusted input (certificates, banners, HTTP responses, NVD/KEV feeds, CPE, targets, cron) and for the diff engine's guarantees: no removal from a partial or aborted sweep, no closed port that was not scanned, disappearance exactly at the threshold, deterministic events, assets outside the swept scope untouched.
- `fuzz/`: cargo-fuzz targets for the same parsers.
- `Weekly` workflow: `cargo audit` independent of pushes, and ten minutes of fuzzing per target on a corpus kept on the runner.
### Changed
- `xexeu-cli` split from one 1,900-line `main.rs` into modules (`server/` with API, exports and embedded assets; `scanner`, `feeds_cmd`, `config_cmd`, `commands`). No behavior change.
## [1.0.0] - 2026-11-03
### Security
- The API routes that change the configuration (`POST`/`PUT`/`DELETE /api/config/groups…`) now require an admin token (`--admin-token`/`XEXEU_ADMIN_TOKEN`, at least 16 characters, compared in constant time) in `Authorization: Bearer` or `X-Xexeu-Token`, and reject a browser `Origin` that does not match `Host`. Without a configured token, `serve` generates a random one at each start and prints a `?token=` link; the dashboard keeps it for the tab and asks for it on a `401`. Reads are unchanged.
- `quinn-proto` 0.11.17 → 0.11.19 (RUSTSEC-2026-0338, RUSTSEC-2026-0340, RUSTSEC-2026-0343).
### Added
- `LICENSE-MIT` and `LICENSE-APACHE`: the crates and the image already declared `MIT OR Apache-2.0`, but the license texts were missing.
- Releases attach a standalone CLI for `linux-aarch64` and `linux-x86_64` (`xexeu-<tag>-<platform>.tar.gz` plus `.sha256`), built natively on each architecture.
- `scripts/check-ui-i18n.mjs`, run by CI and `scripts/check.sh`: every Portuguese dashboard string needs an English translation. It found 38 untranslated strings and a duplicated key, now fixed.
- Rust workspace scaffolding (`xexeu-core`, `xexeu-cli`), Docker Compose topology, documentation pairs and configuration examples.
- `config`, `targets` and `schedule`: TOML parsing, CIDR/range/DNS target expansion, 5-field cron with jitter and overlap/cadence warnings.
- Native scan engines: `nativo-sem-raw` (TCP connect) and `nativo` (raw-socket TCP SYN, `CAP_NET_RAW`), with automatic fallback and the engine actually used recorded in every sweep manifest.
- Service fingerprinting (HTTP, SSH, TLS certificate) and CPE/CVE/KEV correlation (`vuln::matcher`, `vuln::feeds`) with confidence levels and non-intrusive configuration checks.
- `batch`, `storage` (SQLite) and `diff`: atomic Parquet sweep batches, idempotent ingestion, scoped diffs that never produce a false disappearance from a partial sweep.
- `xexeu serve`: Axum API, background batch ingestion, and a continuous `xexeu scanner` loop.
- Periodic, self-refreshing CVE/KEV sync inside `xexeu serve` (`feeds.sincronizar_automaticamente`), independent of image/binary updates.
- Embedded dashboard: CVSS-severity palette, SVG charts, host/findings/groups/changes views, settings (language/theme).
- Target group CRUD from the dashboard (`/api/config/groups`) with scanner hot-reload on config file changes.
- CSV export (`/api/export/*.csv`, `xexeu export`), CSV-injection-safe.
- A4, Paged.js-paginated executive report at `/relatorio`.
- `xexeu doctor` and `xexeu export` (JSON/CSV) CLI commands.
- Gitea CI/CD (`ci.yml`, `release.yml`), `scripts/check.sh`, pre-push hook, issue/PR templates.
- Full `docs/` set (architecture, CLI, configuration, Docker, interface, support) in EN/PT-BR with real dashboard screenshots.
### Changed
- `scripts/verificar.sh` → `scripts/check.sh` (fast by default; `--full` adds the workspace tests and `cargo audit`) and `scripts/instalar-hooks.sh` → `scripts/install-hooks.sh`, the same names as the other Ciberfauna projects.
### Fixed
- The image smoke test started the container without `/config/xexeu.toml`, ran `xexeu doctor` against relative paths, and piped into `grep -q` under `pipefail`, which failed at random through SIGPIPE.
- The CI YAML check failed on runners without PyYAML.
- `.env.example` was never in the repository (`.env*` in `.gitignore` matched it), although the README tells operators to copy it.
- The dashboard sidebar always showed `v0.1.0`; it now shows the running version.
- `Dockerfile` didn't copy `apps/` or `logo.png`, so the image never actually built until this was caught by a real `docker build`.
- Sweep batch files were written with mode `0600` by `scanner` (uid 0); `xexeu` (uid 10001) couldn't read them through the read-only `xexeu-sweeps` mount. Batches are now written `0644`/directories `0755` explicitly.
- Target group names accepted by the config CRUD API weren't validated as safe path components, so an unsafe name would only fail much later when a sweep for that group tried to write its batch; now rejected immediately with a clear error.
- CSV exports had no protection against CSV/formula injection (a cell starting with `=`, `+`, `-`, `@` or a tab); fields are now prefixed to force spreadsheet applications to treat them as plain text.