feat: 1.2.0 attack intelligence, replay, 30-day history and new interface
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 27s
CI / Dependency audit (push) Successful in 18s
CI / Tests (Linux, race detector) (push) Successful in 58s
Release / Plan (reuse the published image?) (push) Successful in 4s
Release / ci (push) Skipped
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Successful in 13s
Release / Gitea release (push) Successful in 5s

Intelligence: attack families mapped to MITRE ATT&CK, network type from
ASN/rDNS without external APIs, request cadence, sessions with
recon/probe/exploit/access/banned stages, campaigns across IPs, verdict
with reasons, recommended actions, exposure detection (2xx with a body
on sensitive paths), STIX 2.1 export, FCrDNS for search engine bots,
optional Tor exit list.

Data: 30-day retention, twelve ranges plus custom from/to, an on-disk
event log (daily files, hourly gzip members, size cap, corruption and
disk-full tolerant), /events, /period, /metrics with stable per-hour
metrics, an extended /ip/{ip}, and peer /period merged on the hub.

Interface: layout system with fixed card sizes, range picker in the
URL, IP analysis page, Replay page, Geography down to state and city
(Natural Earth admin-1), Live page redesigned with stable metrics and a
reusable attack map. Demo data and documentation screenshots.

Security: bounded and deadline-limited period computations, linear
campaign clustering, singleflight caches, sanitized peer studies, event
query budgets, gzip bomb guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-14 21:45:59 -03:00
1 parent 8f1ac462d1
commit b7462c14fa
325 files changed
+19117 -1307

No files matched your search

+16 -1
View File
@@ -4,13 +4,19 @@
#
# scripts/check.sh fast: gofmt, go vet, i18n, scripts, workflows, compose
# scripts/check.sh --full also runs go test -race and govulncheck
# scripts/check.sh --ui also renders every route and fails on horizontal overflow
# (needs Chrome and puppeteer-core; skipped when missing)
#
# CI takes minutes per run; almost everything that breaks it is caught here
# in seconds.
set -uo pipefail
cd "$(dirname "$0")/.."
full=0
[ "${1:-}" = "--full" ] && full=1
ui=0
for a in "$@"; do
[ "$a" = "--full" ] && full=1
[ "$a" = "--ui" ] && ui=1
done
failures=()
step() { # step "name" command...
local name="$1"; shift
@@ -32,6 +38,15 @@ else
skip "UI translation coverage" "node not installed"
fi
if [ "$ui" = 1 ]; then
if command -v go >/dev/null && command -v node >/dev/null; then
bin="$(mktemp -d)/urutau"
if go build -o "$bin" ./cmd/urutau; then step "UI layout (no horizontal overflow)" node scripts/ui-overflow.mjs "$bin"; else skip "UI layout" "build failed"; fi
else
skip "UI layout" "go or node not installed"
fi
fi
step "bash script syntax" bash -c 'for f in scripts/*.sh .githooks/*; do bash -n "$f" || exit 1; done'
if python3 -c 'import yaml' 2>/dev/null; then