Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
4.9 KiB
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):
/metricswith 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-clisplit 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-coreandcrates/harpia-cli;serve,scanner,scan,config check,feeds sync/import,changes,export,doctorall implemented, not stubs. - Target & tiered schedule configuration:
[escopo],[padrao],[perfis.*],[[grupo]]parsing; CIDR/range/DNS target expansion with rigidescopo.autorizadoenforcement; 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), withscannerhot-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, requiresCAP_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.mdfor 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.shand a pre-push hook, a multi-stageDockerfile, anddocker-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,ROADMAPand the fulldocs/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
nmapadapter &harpia-scanner-nmapvariant: optional integration with the externalnmapbinary 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.