Files
harpia/CHANGELOG.md
Lucas RayanandClaude Opus 5.5 2697d15a3e
Release / Plan (reuse the published image?) (push) Successful in 5s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Successful in 8m5s
CI / Dependency audit (push) Successful in 13s
CI / Tests (Linux) (push) Successful in 14m3s
Release / ci (push) Successful in 22m8s
Release / Build image (arm64) (push) Successful in 6m37s
Release / Build image (amd64) (push) Successful in 8m56s
Release / Publish tags (push) Successful in 16s
Release / Gitea release (push) Successful in 6s
Release / CLI (linux-x86_64) (push) Successful in 2m34s
Release / CLI (linux-aarch64) (push) Successful in 5m18s
chore(release): 2.1.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:26:50 -03:00

8.0 KiB

Changelog

English · Português

Format based on Keep a Changelog; versions follow SemVer.

[2.1.0] - 2026-11-04

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.

  • Executive report redesign: full-bleed navy cover with the Harpia logo as the hero over an orange glow, a data-driven radar (one dot per listed finding, nearer the center means higher CVSS, KEV highlighted), headline numbers and a meta grid; inner pages carry the logo, document title, TLP and page counter in the margins.

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

  • Flaky fingerprint_and_vuln_matching_e2e test: the 5s deadline waiting for harpia serve to print its listening address was too tight under CI load and failed the v2.0.0 release run, skipping the Docker/CLI build and the Gitea release. Raised to 15s.

[2.0.0] - 2026-11-03

Changed

  • Project renamed from Xexéu to Harpia, after the harpy eagle. This is a breaking rename: the crates (xexeu-core/xexeu-cli → harpia-core/harpia-cli), the binary (xexeu → harpia), the admin token environment variable (XEXEU_ADMIN_TOKEN → HARPIA_ADMIN_TOKEN), the compose env vars (XEXEU_IMAGE/XEXEU_VERSION/XEXEU_PUBLISH → HARPIA_*), the container image (ciberfauna/xexeu → ciberfauna/harpia) and the Gitea repository (ciberfauna/xexeu → ciberfauna/harpia) all changed name. Existing .env files, scripts and config paths referencing the old names must be updated.

[1.2.0] - 2026-11-03

Added

  • [[webhook]] alerts: after each ingested sweep, harpia serve posts the surface changes to each receiver, filtered by event kind and group, as Harpia JSON or a Slack/Discord message, optionally signed with HMAC-SHA256 (X-Harpia-Signature, key from the environment variable named in segredo_env). Delivery runs in the background with retries on network errors, 5xx and 429; config check validates URL, events, groups and variable name.
  • GET /metrics in Prometheus format: hosts by status, open ports, findings by CVSS severity and in KEV, CVE database size and last sync, per-group last sweep (time, duration, completeness, events) and webhook deliveries.

Security

  • GET /api/config and the logs show webhook URLs reduced to scheme://host/…, since chat webhook URLs are credentials and reads are not authenticated.

[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

  • harpia-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/HARPIA_ADMIN_TOKEN, at least 16 characters, compared in constant time) in Authorization: Bearer or X-Harpia-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 (harpia-<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 (harpia-core, harpia-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.
  • harpia serve: Axum API, background batch ingestion, and a continuous harpia scanner loop.
  • Periodic, self-refreshing CVE/KEV sync inside harpia 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, harpia export), CSV-injection-safe.
  • A4, Paged.js-paginated executive report at /relatorio.
  • harpia doctor and harpia 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/harpia.toml, ran harpia 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); harpia (uid 10001) couldn't read them through the read-only harpia-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.