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.
38 lines
2.6 KiB
Markdown
38 lines
2.6 KiB
Markdown
# Contributing to Xexéu
|
|
|
|
**English** · [Português](CONTRIBUTING.pt-BR.md)
|
|
|
|
Thanks for helping. Xexéu is a continuous attack surface and vulnerability audit engine built around deterministic evidence and least-privilege operation. The most useful contributions right now are tests, fixtures, documentation, and well-scoped engine components.
|
|
|
|
1. **Authorized auditing only.** Xexéu is defensive software for networks you own or are explicitly authorized to audit. Do not introduce scanning techniques, collection mechanisms, or evasion methods that hide scope, bypass authorization checks, or perform destructive testing.
|
|
2. **Deterministic evidence is part of the feature.** Every vulnerability finding and service detection must record its exact inputs, raw banners, candidate CPEs, and matching rules. A score or finding without a reproducible JSON evidence record is not accepted.
|
|
3. **Be transparent about what works.** If a feature is a stub, restricted to Linux `NET_RAW`, or represents a degraded mode (such as `nativo-sem-raw`), document it clearly in the README, CLI help, and test suite.
|
|
4. **100% English codebase.** Source code, comments, scripts, workflows, and commit messages are in English. The web dashboard remains bilingual (PT-BR source and English via `i18n-en.js`).
|
|
|
|
## Workflow
|
|
|
|
```bash
|
|
scripts/instalar-hooks.sh
|
|
scripts/verificar.sh
|
|
```
|
|
|
|
`verificar.sh` validates code formatting, clippy with warnings as errors, UI translation coverage, shell script syntax, workflow YAML files, SemVer consistency, and prohibited terms.
|
|
|
|
## Interface and translation
|
|
|
|
The interface source text is Portuguese. English translations reside in `apps/gui/ui/i18n-en.js` and are applied at runtime by `i18n.js`. When adding or updating visible text, run `node scripts/check-ui-i18n.mjs` and supply the English translation pair.
|
|
|
|
## Documentation
|
|
|
|
Always maintain document pairs: every `*.md` and `docs/*` file has an English version and a Portuguese version (`*.pt-BR.md`, `docs/pt-BR/`). File names are translated only when the word changes (e.g. `architecture.md` → `arquitetura.md`).
|
|
|
|
## Commits and releases
|
|
|
|
Commits follow Conventional Commits 1.0.0 in English (`feat:`, `fix:`, `chore:`, `ci:`, `docs:`, `refactor:`, `test:`, `perf:`, `build:`). Versions follow SemVer 2.0.0.
|
|
|
|
Releases are published as multi-arch container images (`linux/amd64` and `linux/arm64`) to the Gitea registry. Pushing a `v*` tag triggers the release workflow, publishing the container image and attaching CLI binaries.
|
|
|
|
## License
|
|
|
|
By contributing, you agree to license your work under [MIT](LICENSE-MIT) **or** [Apache-2.0](LICENSE-APACHE), matching the rest of the project.
|