Commit Graph
21 Commits
Author SHA1 Message Date
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
lucasrguerra 3b91f77b27 Merge pull request 'Admin token for config changes, licenses, and 1.0.0' (#1) from feat/api-auth-licenca into main
CI / Format and clippy (push) Successful in 27s
CI / Dependency audit (push) Successful in 15s
CI / Tests (Linux) (push) Successful in 1m19s
CI / Docker image (build and smoke test) (push) Skipped
Release / Plan (reuse the published image?) (push) Successful in 6s
Release / ci (push) Skipped
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Successful in 15s
Release / Gitea release (push) Successful in 6s
Release / CLI (linux-aarch64) (push) Successful in 7m7s
Release / CLI (linux-x86_64) (push) Successful in 9m6s
v1.0.0
2026-11-03 13:24:58 +00:00
Lucas RayanandClaude Opus 5.5 7146f4f70f chore(release): 1.0.0
CI / Format and clippy (pull_request) Successful in 33s
CI / Dependency audit (pull_request) Successful in 15s
CI / Tests (Linux) (pull_request) Successful in 1m56s
CI / Docker image (build and smoke test) (pull_request) Successful in 6m10s
Releases attach a standalone CLI for linux-aarch64 and linux-x86_64 built
natively (package-cli.sh/release-upload.sh, as in Sabiá). ROADMAP drops the
reference to the local-only spec and README describes the published image
and binaries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:17:22 -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 RayanandClaude Opus 5.5 36eadabc7c chore: add license texts and align scripts and CI with the other Ciberfauna projects
LICENSE-MIT/LICENSE-APACHE were declared but missing. verificar.sh and
instalar-hooks.sh become check.sh and install-hooks.sh, as in Acauã and
Sabiá, and CI now runs the UI translation coverage check, which found 38
untranslated dashboard strings and a duplicated key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:17:04 -03:00
Lucas RayanandClaude Sonnet 5.5 ba1e8fb1d0 fix(ci): stop the smoke test racing on SIGPIPE under pipefail
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Successful in 19s
CI / Dependency audit (push) Successful in 15s
CI / Tests (Linux) (push) Successful in 1m19s
Release / ci (push) Successful in 1m20s
Release / Build image (arm64) (push) Successful in 21s
Release / Build image (amd64) (push) Successful in 29s
Release / Publish tags (push) Successful in 15s
Release / Gitea release (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 09:26:52 -03:00
Lucas RayanandClaude Sonnet 5.5 75df6ba642 fix(ci): give the image smoke test a config and doctor the real container paths
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 9m7s
CI / Dependency audit (push) Successful in 15s
CI / Tests (Linux) (push) Successful in 14m33s
Release / ci (push) Successful in 14m33s
Release / Build image (arm64) (push) Failing after 21s
Release / Build image (amd64) (push) Successful in 28s
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
The image ships no /config (compose mounts it), so the container exited at
start; doctor also looked at relative default paths.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 09:10:58 -03:00
Lucas RayanandClaude Sonnet 5.5 c560297bb9 fix(ci): bump quinn-proto to 0.11.19 (RUSTSEC-2026-0338/0340/0343) and install PyYAML for the workflow check
Release / Gitea release (push) Skipped
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Tests (Linux) (push) Successful in 1m25s
CI / Dependency audit (push) Successful in 13s
CI / Format and clippy (push) Successful in 5m17s
Release / ci (push) Successful in 5m17s
Release / Build image (arm64) (push) Failing after 6m46s
Release / Build image (amd64) (push) Failing after 10m43s
Release / Publish tags (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 08:53:09 -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 Guerra d1475e7141 fix(gui): style native select options for readable dropdowns in dark mode 2026-11-02 10:07:09 -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