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

+1
View File
@@ -0,0 +1 @@
{"cc":"HK","bbox":[113.8373,22.1771,114.4013,22.5639],"w":3000,"h":2225,"main":[0,0,3000,2225],"proj":{"lon0":113.83733,"lat1":22.56395,"kx":5319.48848,"ky":5752.40241},"regions":[{"name":"North District","label":{"pt":"Norte","en":"North District"},"names":["North","North District","Norte","Nord","Norden","Kuzey","Norra Hongkong","Północ","Észak-Andaman"],"code":"HK-X16~","path":"M2603 317l32 -18l-97 77l-92 45l-78 -18l-125 14l-116 4l-50 -49l-71 -5l-170 90l-29 -13l-62 13l-8 45l-129 50l-46 -32l-153 18l-58 -283l-32 -19l-16 -37l49 -29l90 0l30 32l16 7l63 -60l49 -8l56 8l28 -79l43 -50l60 -20l52 45l90 0l110 6l75 -6l-40 52l-27 32l-39 40l-26 0l-3 62l46 -13l4 -22l62 -18l21 -23l41 -76l21 -4l16 18l29 -18l17 18l-23 48l31 -8l34 32l-2 39l26 17l42 -25l10 22l0 36l-12 47l40 3l22 34l49 24z","c":[114.148,22.506],"b":[1303,0,2635,552]},{"name":"Lantau Island","label":{"pt":"Islands","en":"Lantau Island"},"names":["Islands","Lantau Island","Islands District","Islas","Regione delle Isole","Eilanden","Adalar","Lantau","Wyspy"],"code":"HK-X18~","path":"M1420 2002l11 -37l2 -77l35 14l22 66l44 48l38 -15l0 35l-38 27l66 -4l61 0l27 14l-62 43l-21 29l34 71l-43 0l-141 9l17 -49l0 -175zM825 1457l17 -30l185 -2l-4 42l-90 -14l0 76l50 -22l-24 74l7 141l-79 0l-46 -18l63 90l-79 63l120 81l-79 63l-97 45l-7 -41l0 -126l-186 0l-92 77l-36 0l-17 27l53 13l0 36l-49 33l-68 6l-65 -66l-8 -40l-46 14l-54 39l-78 67l-68 25l-38 -45l-7 -75l-3 -61l10 -32l53 0l0 -57l40 -11l0 -36l-32 -26l49 -38l38 -32l3 -10l49 -9l38 -41l46 -77l100 0l54 5l36 40l55 -22l124 -71l79 17l37 -63z","c":[113.954,22.26],"b":[0,1425,1688,2225]},{"name":"Southern District","label":{"pt":"Sul","en":"Southern District"},"names":["Southern","Southern District","Sul","Meridional","Sud","Güney","Södra Hongkong","Południowy","Déli"],"code":"HK-X04~","path":"M2203 1812l-33 41l20 53l25 50l-25 9l38 108l-67 13l-16 -23l-42 -36l0 -60l-17 -67l-36 -30l-31 26l31 10l0 45l-21 5l-37 45l37 58l-17 41l21 40l-63 14l-9 -91l18 -13l-15 -28l-56 28l-24 -14l24 -31l-37 -22l25 -36l-12 -32l-47 -9l6 -48l-67 44l-21 31l-13 0l-12 -31l-8 -41l-47 -26l-86 -5l-37 -18l-22 -45l-7 -27l-26 -44l-33 -14l77 1l50 27l71 53l68 -4l56 -5l84 -2l66 -2l158 13z","c":[114.204,22.24],"b":[1464,1682,2228,2154]},{"name":"Central and Western District","label":{"pt":"Distrito Central e Ocidental","en":"Central and Western District"},"names":["Central and Western","Central and Western District","Distrito Central e Ocidental","Central y Occidental","Zentraler und westlicher Teil von Hong Kong Island","Centrale e Occidentale","Orta ve Batı","Centrala och västra Hongkong","Środkowe i zachodnie","Közép és Nyugat"],"code":"HK-X01~","path":"M1464 1682l4 -36l13 -9l71 -36l53 -18l58 18l38 23l46 13l-17 122l-68 4l-71 -53l-50 -27z","c":[114.144,22.274],"b":[1464,1583,1747,1763]},{"name":"Wan Chai","names":["Wan Chai"],"code":"HK-X02~","path":"M1747 1637l70 0l40 23l46 9l-13 36l-20 47l-84 2l-56 5z","c":[114.178,22.27],"b":[1730,1637,1903,1759]},{"name":"Siu Ma Shan","label":{"pt":"Leste","en":"Siu Ma Shan"},"names":["Eastern","Siu Ma Shan","Leste","Oriental","Este","Östlicher Teil von Hong Kong Island","Regione orientale","Doğu","Östra distriktet, Hongkong","Kelet"],"code":"HK-X03~","path":"M1817 1637l49 -45l46 -27l51 21l49 15l33 36l34 -9l41 18l41 76l42 32l0 58l-109 -49l-158 -13l-66 2l20 -47l13 -36l-46 -9z","c":[114.213,22.271],"b":[1817,1565,2203,1812]},{"name":"Tsuen Wan","names":["Tsuen Wan","Tsuen Wan District"],"code":"HK-X13~","path":"M842 1427l21 -37l95 -76l16 40l124 -99l30 20l29 34l-16 45l-9 50l-21 -19l-42 -8l-37 0l-5 48zM1464 1187l-8 -48l-33 -23l-39 40l-98 -17l-4 18l-42 0l-17 22l-49 -13l-42 13l-55 23l-103 27l53 -76l-46 -49l75 -59l195 -72l224 -67l120 -31l88 -32l91 -2l12 123l-120 171l-46 -76l-41 18l23 75l-44 19z","c":[114.12,22.387],"b":[842,841,1786,1427]},{"name":"Tai Po","names":["Tai Po","Tai Po District"],"code":"HK-X17~","path":"M2635 299l13 32l-100 81l-58 54l-133 58l-62 45l-25 40l-55 36l-41 0l-79 -103l-75 14l-28 -19l-13 28l8 48l25 14l8 40l-38 -9l-3 -26l-38 -23l-62 9l-21 27l-102 22l48 27l126 87l27 19l-125 39l-58 2l-91 2l-88 32l-62 -229l75 -94l129 -50l8 -45l62 -13l29 13l170 -90l71 5l50 49l116 -4l125 -14l78 18l92 -45zM2203 766l84 0l11 30l-11 55l28 37l21 -59l67 -36l-67 -103l67 -54l67 -18l-5 -49l122 -86l7 27l31 7l-31 56l57 15l13 88l-29 37l25 48l29 -35l25 85l25 -4l-4 -100l45 -116l42 36l-3 50l-24 77l8 121l-74 49l-92 -45l-79 -45l-99 50l-96 58l-162 27l5 -99z","c":[114.154,22.445],"b":[1533,299,2822,969]},{"name":"Sha Tin","names":["Sha Tin"],"code":"HK-X11~","path":"M1957 800l35 25l-10 45l26 22l-29 59l33 -10l42 -84l57 -56l21 -61l30 -1l41 27l3 104l-5 99l-70 103l-79 126l-199 44l-83 19l-56 16l-27 -70l-21 -72l120 -171l-12 -123l58 -2z","c":[114.2,22.381],"b":[1666,739,2206,1277]},{"name":"Sai Kung","names":["Sai Kung","Sai Kung District"],"code":"HK-X10~","path":"M2819 677l16 36l82 4l75 18l-13 45l21 90l-64 -30l-40 -7l-61 122l25 -15l53 76l26 123l-17 4l-5 -28l-49 -3l16 49l-21 50l-28 26l-50 18l-17 77l-29 -41l0 -71l-55 35l-15 -40l-34 -40l9 -90l-74 -31l-10 -50l-Line truncated