Files

4.9 KiB

Roadmap

English · Português

Harpia does continuous attack-surface and vulnerability auditing: it sweeps authorized networks on a schedule, fingerprints exposed services, correlates them with NVD/CISA KEV, and records every change in the surface. Always within an explicitly authorized scope, with no active exploitation.

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 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.
  • Admin token for configuration changes (1.0.0): the group CRUD routes require HARPIA_ADMIN_TOKEN (or a one-off token printed at startup), compared in constant time, plus a same-origin check.
  • Rust workspace & CLI: crates/harpia-core and crates/harpia-cli; serve, scanner, scan, config check, feeds sync/import, changes, export, doctor all implemented, not stubs.
  • 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).
  • 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.
  • 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

  • Distribution backport mapping: automated detection of backported vulnerability fixes in Debian/Ubuntu packages, to reduce false positives in version-based CVE matching.
  • Email alerting: the same events as the webhooks, delivered by SMTP.

Later

  • nmap adapter & harpia-scanner-nmap variant: optional integration with the external nmap binary for richer service fingerprinting on profiles that opt in.
  • OSV feed integration: Open Source Vulnerabilities database correlation for exposed application dependencies.
  • Advanced network topologies: coordinated multi-scanner worker pools reporting to a centralized aggregator daemon.

Non-Goals

  • Active exploit execution, credential brute-forcing, or denial-of-service testing.
  • Replication of the Greenbone/NASL scripting engine.
  • Authenticated credentialed auditing (SSH/WinRM).
  • Tauri/desktop native shell wrappers (the embedded web UI is the standard interface).
  • Cloud dependency, analytics telemetry, or required hosted accounts.