Release / Build image (amd64) (push) Successful in 10m49s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Successful in 20m40s
CI / Format and clippy (push) Successful in 5m43s
CI / Tests (Linux) (push) Successful in 16m5s
CI / Dependency audit (push) Successful in 11s
CI / Docker image (build and smoke test) (push) Skipped
Release / Build image (arm64) (push) Successful in 7m34s
Release / Publish tags (push) Successful in 15s
Release / Gitea release (push) Skipped
Release / CLI (linux-aarch64) (push) Skipped
Release / CLI (linux-x86_64) (push) Skipped
Renames the whole project, after the harpy eagle: crates (xexeu-core/xexeu-cli -> harpia-core/harpia-cli), binary (xexeu -> harpia), admin token env var (XEXEU_ADMIN_TOKEN -> HARPIA_ADMIN_TOKEN), compose env vars (XEXEU_* -> HARPIA_*), container image (ciberfauna/xexeu -> ciberfauna/harpia) and the Gitea repository (ciberfauna/xexeu -> ciberfauna/harpia). Logo updated to the new brand artwork. All docs (EN/PT-BR), CI workflows, scripts, GUI strings and the openspec change history updated to match. BREAKING CHANGE: binary, crate, env var and image names all changed; existing .env files, scripts and deployments referencing the old xexeu/XEXEU names must be updated. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VAyr8cd6jzwpJM9cS1oGjy
3.0 KiB
3.0 KiB
Security policy
English · Português
Harpia is defensive software, but it operates over active networks and processes untrusted remote responses: service banners, TLS certificates, and raw network packets may be malformed on purpose. Treat every target network response as untrusted.
Reporting a vulnerability
Do not open a public issue with exploit details. Open a minimal issue asking for a private channel, or contact the maintainer through the Gitea profile listed on the repository. Include the affected version, the input shape, and a minimal reproduction when a private channel is available.
Scope and threat model
- Container hardening & privilege separation:
- The
scannerservice runs withcap_drop: [ALL]and onlycap_add: [NET_RAW]. It has noNET_ADMIN, noSYS_ADMIN, a read-only root filesystem (read_only: true),no-new-privileges: true, and writes exclusively to the dedicatedharpia-sweepsvolume. - The
harpiadaemon (API, diff engine, dashboard) runs as an unprivileged user (UID 10001) with zero capabilities (cap_drop: [ALL]), a read-only root filesystem, and mounts theharpia-sweepsvolume as read-only (:ro).
- The
- Strict authorized scope: Target expansion enforces the
[escopo]configuration boundary. Any target or DNS resolution resolving outside authorized CIDR blocks is rejected at validation time, preventing accidental or unauthorized scanning. - Safe vulnerability identification: Harpia does not execute exploit payloads, perform credential brute-forcing, or execute denial-of-service tests. Checks are limited to passive banner matching and standard cryptographic handshakes.
- Input and batch parsing: Malformed packets, banner responses, and Parquet batch files must not panic the engine or cause memory exhaustion.
- API exposure: The API daemon listens on
127.0.0.1:8788by default. Configuration changes require the admin token (HARPIA_ADMIN_TOKEN, compared in constant time) and a same-origin request; reads are not authenticated, so exposing it on an external network interface still requires an authenticating reverse proxy. - Evidence integrity: Findings and diff events must be reproducible from the same observations and feeds. Nondeterministic behavior is treated as a correctness and security defect.
- Privacy & local-first: There is no telemetry. Vulnerability feeds are cached locally in SQLite/Parquet; air-gapped offline import (
harpia feeds import) is fully supported.
Out of scope
- Vulnerabilities in third-party libraries (SQLite, socket2, upstream Debian packages) already addressed upstream.
- Attacks requiring the operator to disable documented security controls (such as granting extra capabilities or publishing the daemon port without authentication).
- Detection heuristic completeness: version-based correlation is defensive guidance, not an absolute proof of exploitability.
Supported versions
Only the latest 0.1.x line is supported during the pre-release phase. There is no long-term support branch yet.