21 Commits
Author SHA1 Message Date
Lucas RayanandClaude Opus 5.5 9c0d00a9db feat(report): new cover and layout for the executive report
CI / Tests (Linux) (push) Successful in 1m29s
CI / Dependency audit (push) Successful in 11s
CI / Format and clippy (push) Successful in 5m37s
Release / ci (push) Successful in 5m38s
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
Release / Build image (arm64) (push) Failing after 31s
Release / Build image (amd64) (push) Successful in 8m49s
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
Release / CLI (linux-aarch64) (push) Skipped
Release / CLI (linux-x86_64) (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:23:57 -03:00
Lucas RayanandClaude Sonnet 5.5 d3c3b91e82 docs: refresh README and screenshots for 2.x, drop em dashes, add scripts/screenshots.sh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 20:44:47 -03:00
Lucas RayanandClaude Sonnet 5 b73a9fcf56 fix(tests): raise fingerprint e2e startup deadline to 15s
Release / Plan (reuse the published image?) (push) Canceled after 0s
Release / ci (push) Canceled after 0s
Release / Build image (amd64) (push) Canceled after 0s
Release / Build image (arm64) (push) Canceled after 0s
Release / Publish tags (push) Canceled after 0s
Release / Gitea release (push) Canceled after 0s
Release / CLI (linux-aarch64) (push) Canceled after 0s
Release / CLI (linux-x86_64) (push) Canceled after 0s
The e2e test spawned `harpia serve` and gave it only 5s to print its
listening-address line before failing. Under CI load (unoptimized
debug binary, concurrent jobs) this flaked once in the v2.0.0 release
run and cascaded into skipping the Docker image, CLI and Gitea release
jobs. Unrelated to the rename; raised to 15s.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-03 14:14:31 -03:00
Lucas RayanandClaude Sonnet 5 5ed6cb2c95 refactor!: rename project from Xexéu to Harpia
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
2026-11-03 13:43:21 -03:00
Lucas RayanandClaude Opus 5.5 cd1f3d0e8c feat: webhook alerts for surface changes and Prometheus /metrics
[[webhook]] receivers get each ingested sweep's changes, filtered by kind
and group, as Xexéu JSON or a Slack/Discord message, optionally signed with
HMAC-SHA256 from an environment variable. Delivery runs in the background
with retries and never blocks ingestion. GET /api/config and the logs show
webhook URLs as scheme://host/… because chat webhook URLs are credentials.

/metrics exposes hosts, ports, findings by severity, feed state, per-group
last sweep and webhook delivery counters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:06:45 -03:00
Lucas RayanandClaude Opus 5.5 d231033e42 refactor(cli): split main.rs into modules
server/ (state, ingestion, API, CSV exports, embedded assets), scanner,
feeds_cmd, config_cmd and commands. Code moved as is; no behavior change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:53:26 -03:00
Lucas RayanandClaude Opus 5.5 b70f36da09 test: property tests and fuzz targets for untrusted input and the diff engine
Every parser of data Xexéu does not control must return an error, never
panic; the diff engine's guarantees (no removal from a partial sweep, no
closed port that was not scanned, disappearance exactly at the threshold)
are now properties. The Weekly workflow runs cargo audit independently of
pushes and fuzzes each target on a persistent corpus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:53:26 -03:00
Lucas RayanandClaude Opus 5.5 0d4fe01baf fix(tls): reject non-ASCII certificate validity times instead of panicking
parse_asn1_time_string sliced the time by byte offset, so a multi-byte
UTF-8 character in a hostile certificate put a boundary inside it and
panicked, aborting the sweep. Found by cargo fuzz.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:53:26 -03:00
Lucas RayanandClaude Opus 5.5 90ece32dac feat(api): require an admin token for configuration changes
Group CRUD decides what the scanner sweeps, yet any client that reached the
API could change it. Writes now need XEXEU_ADMIN_TOKEN (or a token generated
at startup and printed as a ?token= link, like sabia ui), compared in
constant time, and a browser Origin must match Host. The dashboard keeps the
token for the tab and asks for it on 401. Reads are unchanged.

Also track .env.example: '.env*' in .gitignore had kept it out of the
repository, although the README tells operators to copy it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:17:14 -03:00
Lucas GuerraandClaude Sonnet 5 b78b4ee2fb feat(report): embed the Xexéu logo and add a real TLP classification badge
Release / Plan (reuse the published image?) (push) Successful in 5s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Failing after 10s
CI / Tests (Linux) (push) Successful in 1m22s
CI / Dependency audit (push) Failing after 12s
Release / ci (push) Failing after 1m44s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
The executive report had no logo at all (just plain "XEXÉU" text) and its
"CONFIDENCIAL" badge was project-invented wording, not a real
classification taxonomy. Embeds the logo as a base64 data URI (mirrors
Sabiá's report.rs, so the report still renders correctly as a standalone
offline HTML export) and replaces the badge with FIRST.org's actual TLP
2.0 labels/colors (TlpLevel enum, defaulting to TLP:AMBER — a vulnerability
report naming real exposed hosts is sensitive by nature). Applied on both
the cover and the per-page running header.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-02 11:32:48 -03:00
Lucas Guerra 2298117c47 feat(scan): implement raw-socket SYN engine; fix Docker build and cross-container permissions; full v1.0 docs
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Failing after 9s
CI / Dependency audit (push) Failing after 11s
CI / Tests (Linux) (push) Successful in 9m25s
Release / ci (push) Failing after 9m26s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
- scan::syn_scan: raw TCP SYN half-open scanning (CAP_NET_RAW), validated
  end-to-end against a real target through the actual hardened Docker
  Compose stack (scanner uid 0 restricted to NET_RAW, xexeu uid 10001 zero
  capabilities). Automatic fallback to nativo-sem-raw, engine actually used
  recorded in every sweep manifest.
- caps::has_net_raw: CAP_NET_RAW detection via /proc/self/status, shared by
  the scan engine selection and `xexeu doctor`.
- Fix: Dockerfile never copied apps/ or logo.png, so the image never
  actually built until this was caught by a real `docker build`.
- Fix: sweep batches were written 0600 by scanner (uid 0); xexeu (uid 10001)
  couldn't read them through the read-only xexeu-sweeps mount. Now written
  0644/0755 explicitly.
- Fix: group names from the config CRUD API weren't validated as safe path
  components until a sweep tried to write a batch for them; now rejected
  immediately.
- Fix: CSV exports had no CSV/formula-injection guard; cells starting with
  =, +, -, @ or a tab are now prefixed to force plain-text interpretation.
- docs/: full EN/PT-BR set (architecture rewritten to match the real
  implementation — SQLite not DuckDB, include_str!/include_bytes! not
  rust-embed; new cli.md, configuration.md, docker.md, interface.md,
  support.md) with real dashboard/report screenshots.
- README, ROADMAP, CHANGELOG, SECURITY, CONTRIBUTING (EN/PT-BR): updated to
  reflect actual v1.0-candidate state instead of the initial-scaffolding
  status they still described.
2026-11-02 11:08:51 -03:00
Lucas Rayan db2cdc03ef feat(ci,doctor,export): add Gitea CI/CD, verification scripts, doctor and export commands 2026-11-02 10:48:34 -03:00
Lucas Rayan f388d95839 feat(report): implement exportable executive security report with A4 Paged.js pagination 2026-11-02 09:36:41 -03:00
Lucas Rayan e8e529b09c feat(api,gui): implement target groups CRUD, scanner hot-reload, and CSV export 2026-11-02 09:14:30 -03:00
Lucas Rayan bc72dbffbd feat(gui): implement polished vanilla dashboard with CVSS severity palette and SVG charts 2026-11-02 01:01:54 -03:00
Lucas Rayan 3e41c169d0 feat(scan): implement service fingerprinting and wire up end-to-end vulnerability pipeline 2026-11-02 00:39:03 -03:00
Lucas Guerra 4ce5d7f595 Implementa xexeu feeds import/sync e sincronização periódica de CVE/KEV embutida no xexeu serve 2026-11-02 00:13:35 -03:00
Lucas Guerra b4d2c29d24 Implementa xexeu scanner (loop contínuo) e xexeu serve (API Axum + dashboard + ingestão automática de lotes) 2026-11-01 23:56:39 -03:00
Lucas Guerra a814e100fb Implementa batch/storage/diff, correlação de vulnerabilidades (CPE/CVE/KEV) e liga config check / scan --once na CLI 2026-11-01 23:41:55 -03:00
Lucas Guerra 942655a5e0 Implementa config/targets/schedule (TOML+cron) e scan::discovery/ports (TCP connect determinístico) 2026-11-01 22:52:45 -03:00
Lucas Guerra 244c89b6ae Scaffolding inicial do Xexéu: workspace Rust, Docker Compose e documentação EN/PT-BR 2026-11-01 22:32:49 -03:00