Repository navigation
Releases
v1.4.2 — Defensive close-out: CI gates, exposure/reliability, docs truth
v1.4.2 accumulates batches B/C/D since v1.4.1 (2026-09-28).
CI & toolchain hardening (B)
Demo production branch joins CI triggers; auth/alerts suites gated; Node 22 aligned with the image; frontend eslint 191→0 all real fixes then gated + strictNullChecks; bit-identity self round-trip smoke gate + replay-gate import safety; docker job upgraded to compose config + docker run health poll; tag↔CHANGELOG↔Release three-source consistency gate; bench_lmdb destructive default removed.
Exposure & reliability (C)
Token redaction on all download-URL log sites (redact_url single source, 13 call sites); self-update reconciles version-before-stale; orphan cleanup disjoint glob; epoch corruption visible on three surfaces (ERROR/status/reader alert, no auto rebuild); alert channel discoverability; task-control failure feedback / status-bar retry / key-copy fallback; image ships without tests/; unknown key 404 distinct code; accusation set _ACCUSING single-sourced (bit-identity zero drift).
Docs truth (D) + new source
Auth/keys/scope spec reverse-written (17.9KB) + threat-evidence spec promoted + 14 dead anchors re-anchored; README backup & restore + release SOP; GLOSSARY benign two-layer / lineage 6 members / anchor guard; stix2 wording = pre-installed in the image, works out of the box (owner ruling b); new source otx_subscribed (OTX subscription feed, public sources 40→41).
Zero scoring-semantic changes (all replay bit-identical after A2); backend 1417P+6S / frontend 256P; production container healthy.
v1.4.2 = B/C/D 三批累积(自 v1.4.1,2026-09-28)。
CI/工具链防线(B)
demo 生产分支入 CI 触发面;auth/alerts 入闸;Node 22 对齐镜像;前端 eslint 191→0 全真修后入闸+strictNullChecks;位等价自往返 smoke 门+回放闸门 import 安全;docker job 升级 compose config+docker run 健康门;tag↔CHANGELOG↔Release 三源一致性门;bench_lmdb 破坏性默认拆除。
暴露面/可靠性(C)
下载 URL 日志全落点 token 打码(redact_url 单源,13 落点);自更新对账先版本后 stale;孤儿清理补 disjoint;epoch 损坏三面可见(ERROR/状态/reader 告警,不自动 rebuild);告警通道可发现;任务控制失败反馈/底栏重试/密钥复制降级;镜像不带 tests;未知 key 404 独立 code;指控集 _ACCUSING 单源化(位等价零漂移)。
docs 真相对齐(D)+ 新源
auth/keys/scope 成文法逆写+威胁证据级 spec 升格+14 死锚重锚;README 备份与恢复+发版 SOP;GLOSSARY benign 两层/谱系 6 员/锚点守卫;stix2 口径=镜像自带开箱即用(所有者裁决 b);新源 otx_subscribed(OTX 订阅库流,公开源 40→41)。
零评分语义变更(A2 后全部回放位等价);后端 1417P+6S / 前端 256P;生产容器 healthy。
v1.4.1 — public-demo guard hardening
v1.4.1 — 2026-09-28
调整 Changed
- stopforumspam 降权 reliability 0.70→0.60(用户拍板 2026-09-28,规则内保守档):月轮 eval 首跑实测 θ=0.001(n=117,k=0 零佐证)+ below-market 标记;缓解面=spam 轴 niche(unique 0.48)+ informational 裁决,故不一步到 .55。语料:model-20260928-144045(生产镜像月轮首跑,5/5 checks PASS)
- stopforumspam demoted, reliability 0.70 -> 0.60 (user-approved 2026-09-28, conservative in-rule step): the first monthly eval round measured theta=0.001 (n=117, k=0 — zero corroborations) plus a below-market flag; mitigating context = the spam axis is a corpus niche (unique share 0.48) and its verdict is informational, hence not dropping all the way to .55. Corpus: model-20260928-144045 (first monthly round on the production mirror, 5/5 checks pass)
修复 Fixed
- abuseipdb 生产断供根因修复(P1 实锤 2026-09-28):旧 download() 直写数据文件且 except 分支 unlink——免费层 5 次/天配额被重试烧穿(429)后,每次失败都删掉既有好文件 → raw 永久缺失、LMDB 冻结 9,987 条、stale 恒真。改为 scratch 落盘 + 校验通过才提交(danmeuk 同款),失败永不触碰数据文件
- abuseipdb production outage root-cause fix (P1, confirmed live 2026-09-28): the old download() wrote straight to the data file and unlinked it in the except branch — once the free-tier 5-requests/day quota was burned by retries (429), every failure deleted the previously-good file, leaving the raw permanently missing, the LMDB frozen at 9,987 records, and is_stale stuck true. Now fetches to a scratch file and commits only after validation (same pattern as danmeuk_tor); a failed download never touches the existing data file
- 公开演示守卫硬化:①OPTIONS 豁免收紧为真 CORS 预检形状(
Origin+Access-Control-Request-Method两头齐全,裸 OPTIONS 走既有 404/403 判定);②/api/update/status全部署形态要求管理员鉴权(原完全公开);③守卫 404/403 改用标准错误信封(not_found/forbidden,新增ErrorCode.not_found);④IP_RADAR_PUBLIC_DEMO设为非 "1" 非空值时启动告警(唯一生效值是精确 "1",绝不阻断启动);⑤守卫注释口径更新(维护者旁路 = ADMIN_IPS 直连 peer + 可选 XFF 信任,须配套网关保证);⑥README 双语补 XFF 信任安全前提段- Public-demo guard hardening: ① OPTIONS exemption narrowed to real CORS preflights (both
OriginandAccess-Control-Request-Methodpresent; bare OPTIONS falls through to the existing 404/403 checks); ②/api/update/statusnow requires admin auth in every deployment (was fully public); ③ guard 404/403 switched to the standard error envelope (not_found/forbidden, newErrorCode.not_found); ④ a non-"1" non-emptyIP_RADAR_PUBLIC_DEMOlogs a startup warning (the only effective value is exactly "1"; never blocks startup); ⑤ guard comment doctrine updated (maintainer bypass = direct-peer ADMIN_IPS plus opt-in XFF trust that requires a gateway guarantee); ⑥ both READMEs gain the XFF-trust security-premise paragraph
- Public-demo guard hardening: ① OPTIONS exemption narrowed to real CORS preflights (both
新增 Added
- 新源 alibaba_ranges(cloud-ip-ranges.com 聚合的阿里云网段表):云足迹第 5 名成员(aws/gcp/azure/oracle 之后),service=cloud + is_hosting、provider 标签 Alibaba、asset-only 空裁决;第三方聚合非官方自发布 → reliability 0.75(官方系 0.95);观测 2026-09-28:2,394 CIDR(v4 2,148 / v6 246)、零重复、Last-Modified 每日 04:00 UTC 推进(站方许可未声明,非商用用户拍板 2026-09-28);下载内容守卫拒 200-HTML 错误页;新增后公开源 43→44 口径
- New source alibaba_ranges (Alibaba Cloud ranges aggregated by cloud-ip-ranges.com): fifth member of the cloud footprint family (after aws/gcp/azure/oracle), service=cloud + is_hosting, provider label Alibaba, asset-only empty verdict; third-party aggregator rather than publisher-self → reliability 0.75 (official houses sit at 0.95); observed 2026-09-28: 2,394 CIDRs (v4 2,148 / v6 246), zero duplicates, Last-Modified advancing daily 04:00 UTC (site license unstated; approved for non-commercial use 2026-09-28); download content guard rejects 200-HTML error pages; public-source count moves 43→44
- admin 选源器(SourcePickerBody,创建/编辑/种子行共用)新增「全选 / 反选」:物化当前源目录为显式清单(区别于「全部源」开关的 null 动态语义,固化场景从此不用逐个点勾)
- admin source picker (SourcePickerBody, shared by create/edit/seed-row) gains Select all / Invert selection: materializes the current catalog as an explicit list (unlike the all-sources switch's null dynamic semantics — frozen-set workflows no longer need per-source clicks)
- 新源 danmeuk_tor(dan.me.uk Tor 节点表):
is_tor/tor分类的第二独立证人(官方 tor_exits 保留权威否决位,新源只佐证);/torlist/为全量 relay 口径(native 标签 RELAY,~10.7k 行,2026-08-23 存档观测、2026-09-28 复核);30 分钟拉取限速,12h 自动刷新在限内(手动更新同计限速);下载内容守卫拒绝限速 200-HTML 页,数据文件永不被替换;新增后公开源 42→43 口径- New source danmeuk_tor (dan.me.uk Tor node list): a second independent witness for
is_tor/ thetorclassification (official tor_exits keeps its authoritative veto; the new source corroborates only); the/torlist/URL ships the full relay set (native label RELAY, ~10.7k rows, 2026-08-23 archived capture re-verified 2026-09-28); fetch rate limit is one pull per 30 minutes, the 12h auto-refresh stays within it (manual updates count against the limit too); a download content guard rejects the rate-limit 200-HTML page so the data file is never replaced; public-source count moves 42→43
- New source danmeuk_tor (dan.me.uk Tor node list): a second independent witness for
- eval v2 Phase 1(设计:docs/superpowers/specs/2026-09-28-eval-algorithm-optimization-brief.md):评估语料加中性公网层静态资产(逐轮恒定,eval 与源自家 raw 佐证解耦)
- eval v2 Phase 1 (design: docs/superpowers/specs/2026-09-28-eval-algorithm-optimization-brief.md): a static neutral public-network corpus layer in the eval corpus (constant across rounds, decoupling eval evidence from each source's own raw feeds)
- eval v2 Phase 1:LSO 双轨制——scores/checks 维持旧基线(不含源自身佐证),leave-self-out 去偏结果降为 advisory 视图(scores_lso + "LSO advisory" 报告节)
- eval v2 Phase 1: dual-track LSO — scores/checks keep the old baseline (self-evidence included), while leave-self-out debiased results are demoted to an advisory view (scores_lso + the "LSO advisory" report section)
- eval v2 Phase 1:NO-DATA 双判据 verdict(feed 空 / record-count 相对历史坍塌,先于其它判定)+ 模型报告 source_health 块 + C1 specialist 分支;前端源页 NO-DATA 灰底红字徽章(title 说明“数据为空或坍塌,该源未在贡献”)
- eval v2 Phase 1: NO-DATA dual-criteria verdict (feed empty / record-count collapse vs history, gated ahead of all other verdicts), a source_health block in the model report, and the C1 specialist branch; the frontend sources page renders a NO-DATA badge (red on gray, titled "feed empty or collapsed — source did not contribute")
- eval v2 Phase 1:
--temporalλ_s prequential 确认率仪器(Fisher 精确检验 + Wilson CI,预注册 θ̂ 中位数拆分,需 ≥2 轮 model 历史)- eval v2 Phase 1:
--temporalλ_s prequential confirmation-rate instrument (Fisher exact test + Wilson CI, preregistered θ̂ median split, requires ≥2 rounds of model history)
- eval v2 Phase 1:
- eval v2 Phase 1:谱系审计改前向流方向判定(替换 Dong 时钟,三态 confirmed/not-yet/no-relation + C-3 双向检查);新增 scripts/monthly_eval.sh 月轮脚本(master+clean 守卫 → rsync 生产镜像 → 五连 eval 命令,--dry-run 预演)
- eval v2 Phase 1: lineage audit switches to forward-flow direction (replacing the Dong clock, three states confirmed/not-yet/no-relation + the bidirectional C-3 check); adds scripts/monthly_eval.sh for monthly rotation (master+clean guards → rsync prod mirror → the five eval commands, with --dry-run rehearsal)
- 公开演示守卫(opt-in,净移植自 demo 分支):
IP_RADAR_PUBLIC_DEMO=1开启守卫中间件套件——写/内部端点对匿名访客 404(当作不存在)、查询面校验x-ipradar-client: web头、维护者直连 peer IP 旁路(IP_RADAR_DEMO_ADMIN_IPS,XFF 可伪造勿默认信;IP_RADAR_DEMO_TRUST_XFF=1须配套网关保证);默认关闭,未设 env 零行为变化- Public-demo guard (opt-in, byte-for-byte port from the demo branch):
IP_RADAR_PUBLIC_DEMO=1enables the guard middleware suite — write/internal endpoints answer 404 to anonymous visitors, query endpoints enforce thex-ipradar-client: webheader, and maintainers bypass via direct-peer IPs (IP_RADAR_DEMO_ADMIN_IPS; XFF is forgeable, don't trust by default —IP_RADAR_DEMO_TRUST_XFF=1requires a gateway guarantee); off by default, zero behavior change without the env
- Public-demo guard (opt-in, byte-for-byte port from the demo branch):
- 前端配套:所有请求带
x-ipradar-client: web头;STIX 导出改同源 fetch+blob 下载(鉴权路径与页面一致,过守卫同规)- Frontend companion: every request carries the
x-ipradar-client: webheader; STIX export switches to same-origin fetch+blob download (same auth path as the page, same rule through the guard)
- Frontend companion: every request carries the
修复 Fixed
- CI:后端测试批更新竞态——
test_update_db_enqueues_returns_batch_id打桩manager.enqueue_batch,消灭真网络副作用与_active_batch跨测试泄漏- CI: backend test batch-update race — stub
manager.enqueue_batchintest_update_db_enqueues_returns_batch_id, eliminating real-network side effects and cross-test_active_batchleakage
- CI: backend test batch-update race — stub
v1.4.0 — per-key source sets & admin multiselect
v1.4.0 — 2026-09-26
新增 Added
- 每 key 绑定源集合(PR #66):
api_key_meta.sources列(幂等迁移;NULL = 全部公开源);查询/STIX/流式/批量全链路按 key 收窄,db-status 计数同按身份收窄- Per-API-key source sets (PR #66):
api_key_meta.sourcescolumn (idempotent migration; NULL = all public sources); lookup/STIX/stream/batch all narrow per key, db-status counts narrow by identity too
- Per-API-key source sets (PR #66):
- demoweb 种子行与同源身份:同源网页免钥映射到种子行 scope(fail-closed:行缺失/禁用即拒),支持编辑源集合与吊销(作 kill switch,吊销后可一键重新启用),删除受 403 保护
- demoweb seed row & same-origin identity: the same-origin web maps to the seed row's scope without a key (fail-closed — a missing or disabled row refuses queries); it supports Edit-sources and Revoke (as a kill switch; a revoked row can be re-enabled with one click), and deletion stays 403-protected
- admin 密钥页源集合多选 + web 徽章(zh/en 双语):创建/编辑弹窗按目录分组多选,“全部源”开关默认开
- Admin keys-page source multiselect + Web badge (zh/en): grouped catalog multiselect in the create/edit modals, with an all-sources toggle on by default
- 私源保密(
IP_RADAR_PRIVATE_SOURCES,逗号分隔,启动时读入,拼错启动告警):web/匿名身份与 null-scope key 永不可见;admin 可对普通 key 显式授予,web 种子行除外(写入 422 硬拒 + 运行时再滤,防“先公后私”存量授予)- Private-source secrecy (
IP_RADAR_PRIVATE_SOURCES, comma-separated, read at startup, typo warning on boot): invisible to web/anonymous identities and null-scope keys; an admin may grant one explicitly to a regular key, but never to the web seed row (422 hard reject on write + runtime re-filter, guarding grants that predate a source going private)
- Private-source secrecy (
v1.3.1 — 安全与治理:API 密钥 · Admin 控制台 · 数据质量审计
亮点 Highlights
- API 密钥与访问治理(PR #63) —— PyJWT API key 签发/吊销/删除(
/api/admin/keys,完整密钥仅签发时展示一次);查询接口要求同源或有效密钥;slowapi 四桶限流:匿名批量 6/min、匿名单查 30/min、持钥统一 60/min、登录 5/min 防爆破- API keys & access governance (PR #63) — PyJWT key issue/revoke/delete (
/api/admin/keys, the full key shown exactly once at issuance); query endpoints require same-origin or a valid key; slowapi four-bucket rate limits: 6/min anonymous batch, 30/min anonymous single lookup, 60/min unified for key holders, 5/min login brute-force guard
- API keys & access governance (PR #63) — PyJWT key issue/revoke/delete (
- Admin 控制台 ——
#/admin登录 + 标签页壳:数据源管理、密钥管理、任务区一站式;公开数据源页退役为只读;全局迷你进度条、主题/语言切换- Admin console —
#/adminlogin + tabbed shell: source management, key management, and the tasks area in one place; the public sources page retired to read-only; global mini progress bar, theme/locale switchers
- Admin console —
- 明暗主题切换 —— 日间/夜间一键切换,localStorage 记忆 + 首帧前恢复不闪屏
- Light/dark theme — one-click day/night switch, persisted in localStorage and restored before first paint (no flash)
- verdict-aware 评分(spec 2026-09-06) —— 存档章(informational)退出威胁置信度:数字仅由指控源决定;"冲突"重定义为真对立(benign × 指控);"已印证"只数独立指控源;API 新增 has_archive
- Verdict-aware scoring (spec 2026-09-06) — archive-stamped (informational) observations no longer feed threat confidence: the number is decided solely by accusing sources; "conflict" redefined as true opposition (benign × accusing); "corroborated" counts independent accusing sources only; the API gains has_archive
- IntelMQ 审计落地 —— 三条数据质量绊线(未映射原生值/first_seen 不可解析/feed 重定向);分类词表 P1 迁移(botnet → infected-system);dataplane/blocklist_de 信号语义修正;stopforumspam 逐条分级(活跃垃圾发送者升可疑)
- IntelMQ audit follow-through — three data-quality tripwires (unmapped native values / unparseable first_seen / feed redirects); classification vocabulary P1 migration (botnet → infected-system); dataplane/blocklist_de signal-semantics fixes; per-record stopforumspam grading (active spammers upgraded to suspicious)
- 数据水印(PR #62) —— layer-2 构建水印:gamma=1/512 记录携带 ingest_ref,
verify_watermark.pyCLI 双模式核验;哨兵源不进 42 源口径- Data watermark (PR #62) — layer-2 build watermark: 1-in-512 records carry an ingest_ref, verifiable via the
verify_watermark.pyCLI in two modes; the sentinel never counts toward the 42-source roster
- Data watermark (PR #62) — layer-2 build watermark: 1-in-512 records carry an ingest_ref, verifiable via the
- 安全加固与依赖(PR #64/#65) —— docs 门控(
IP_RADAR_ENABLE_DOCS默认关)、SPA 非 404 透传修复、SECRET 未配置兜底 urandom、eval×3/sources 收进超管面;fastapi 0.141.1 + starlette 1.6.0(清 PYSEC 16+1)
修复 Fixed
- 集成三件:fail2ban verdict 解析(原 glob 永不命中,改 python3 JSON 提取)、wazuh 以 Bearer 发送 API key、graylog content-pack 空 headers 注意事项
- Integrations: fail2ban verdict parsing (the old glob never fired — now a python3 JSON extraction), wazuh sends the API key as Bearer, graylog content-pack empty-headers caveat
- XFF 仅信任已配置代理(
IP_RADAR_PROXY_HEADERS默认关),反代后按 IP 限流才生效- XFF trusts only configured proxies (
IP_RADAR_PROXY_HEADERS, off by default); per-IP limits behind a reverse proxy need it on
- XFF trusts only configured proxies (
升级 Upgrade
git pull --ff-only && docker compose up -d --buildWeb 界面同源查询零变化、无需密钥;程序化 API 访问需配置 IP_RADAR_API_JWT_SECRET(≥32 字节)后在 /admin 签发密钥。
Same-origin web queries are unchanged and need no key; programmatic API access requires IP_RADAR_API_JWT_SECRET (≥32 bytes) and a key issued from /admin.
Full Changelog: v1.3.0...v1.3.1
v1.3.0 — 42 源全画像:13 新源 · 双模型评估 · LMDB 提速
亮点 Highlights
- 13 个新源,42 源全面画像(29→42) —— 威胁面:siberkapan、turris_greylist、threatcluster、drb_ra(C2 情报聚合);DB-IP 加入成为城市第二投票源;AWS/GCP/Azure/Oracle 官方网段点亮云/托管识别(is_hosting 证人 1→5);NordVPN/ProtonVPN/hookzof/thespeedx 补强 VPN 与代理面。产品定位从「威胁情报聚合」升级为「全面 IP 画像」,README 双语同步
- 13 new sources, a full IP profile (29→42) — threat axis: siberkapan, turris_greylist, threatcluster, drb_ra (C2 intel aggregation); DB-IP joins as the city slot's second voting source; publisher-official AWS/GCP/Azure/Oracle ranges light up cloud/hosting detection (is_hosting witnesses 1→5); NordVPN/ProtonVPN/hookzof/thespeedx reinforce VPN & proxy coverage. Positioning upgraded from "threat-feed aggregator" to "full IP profile" (bilingual READMEs)
- 服务身份 —— 详情面板新增 Service identity 分组,逐条展示服务声明:8.8.8.8 → DNS · Google Public DNS
- Service identity — new "Service identity" section in the detail panel lists every service claim per row: 8.8.8.8 → DNS · Google Public DNS
- 双模型评估框架 —— 源级 + 模型级报告:泉眼源/垄断源检测、方向包含表、断言历史持久化、语料纪元冻结(per_type_n 60);CG 计数迁移生产 dedup_lineage 谱系,OC 报警通电
- Dual-model eval framework — per-source and model-level reports: fountain/monopoly detection, directional containment table, persisted assertion history, frozen corpus epoch (per_type_n 60); CG counting migrated to the production dedup_lineage, OC alarms live
- LMDB 提速与正确性 —— 构建:staging env 异步刷盘(mdb_load -Q 模式)+ 批次 1 万→10 万(本地 NVMe 18.3s→17.0s,服务器 overlayfs 月度重建收益更大);查询:嵌套网段改 CIDR 前缀探测(≤33 次 O(log n) seek,根治深嵌套漏命中);dbip 整数快径(harvest 103.3s→75.9s);disjoint 预判移入写库循环
- LMDB speed & correctness — builds: async-flush staging env (mdb_load -Q pattern) + 10k→100k batches (18.3s→17.0s local NVMe, bigger win on the server's overlayfs monthly rebuild); lookups: nested ranges now CIDR-prefix-probed (≤33 O(log n) seeks, deep-nest misses fixed for good); dbip integer fast path (harvest 103.3s→75.9s); disjoint check moved into the write loop
修复 Fixed
- 首次构建进度:总行数未知时保持 0%,不再假造 n/n=100%
- nordvpn 下载路径修正(nordvpn_ips_list.csv)
升级 Upgrade
git pull --ff-only && docker compose up -d --build新增的 13 个源会自动下载并增量重建(后台进行,不拦查询)。
Full Changelog: v1.2.2...v1.3.0
v1.2.2 — 数据丰富度与展示管线
亮点 Highlights
- 运营方列 + CDN 防误判显示 —— 表格「机构」列升级为「运营方」:注册域名副行(84% IP 可见)、运营商/公共设施徽章收纳于此;CloudFront/Cloudflare/Fastly 边缘 IP 在判定列显示琥珀色「CDN 边缘」徽章(
threat.is_cdn前端首次消费),与威胁判定并排显示 —— 下 ban 前一眼可见,不再把 CDN 当 clean 误封- Operator column + CDN anti-ban badge — the "Org" column becomes "Operator": registrar-domain subtitle (visible on 84% of IPs) and carrier/service badges relocate here; CDN edge IPs (CloudFront/Cloudflare/Fastly) now show an amber "CDN edge" verdict badge — first frontend consumption of
threat.is_cdn— displayed alongside the threat verdict so you see it before banning
- Operator column + CDN anti-ban badge — the "Org" column becomes "Operator": registrar-domain subtitle (visible on 84% of IPs) and carrier/service badges relocate here; CDN edge IPs (CloudFront/Cloudflare/Fastly) now show an amber "CDN edge" verdict badge — first frontend consumption of
- VPN 可见性修复 —— x4bnet 恒以 proxy 分类上报导致 VPN 徽章被去重逻辑吞掉、界面永不显示「VPN」;修复后威胁列「代理」与运营方列 VPN 徽章并显
- 查询结果更丰富 —— AbuseIPDB 接入 totalReports(报告数);GeoLite2 城市坐标(经纬度 ± 精度)进展开面板;dataplane 新增 SIP 探测/SIP 注册/SMTP 问候三个子信号源;URLhaus/ThreatFox IOC 溯源链接直达案件页
- Richer results — AbuseIPDB totalReports wired in; GeoLite2 city coordinates (lat/lon ± accuracy) in the detail panel; three new dataplane signals (SIP probe / SIP registration / SMTP greeting); URLhaus/ThreatFox case links rendered as deep links
- STIX 导出补全资产通道 —— 地址 SCO 挂
x_ipradar_is_cdn与x_ipradar_attributes(VPN/proxy/tor/hosting/carrier/service 陈述),第三方 SIEM 按 STIX 自动封禁时不再漏掉防误封信号- STIX asset channel — address SCOs carry
x_ipradar_is_cdn+x_ipradar_attributes, so SIEM consumers automating on STIX no longer miss the ban-exemption signals
- STIX asset channel — address SCOs carry
修复 Fixed
-
更新横幅补命令执行目录提示(复制命令未说明需在项目根目录执行)
-
更新横幅 summary 剥离 markdown 标记(此前原始 markdown 直接入横幅小字)
-
更新横幅 ✕ 关闭立即生效(此前需刷新页面)
-
单行无效输入在表格中静默空白 → 判定列灰色「无效」徽章
-
长机构名撑破表格行(截断 + 悬浮全量)
-
abuseipdb
fields参数选择性返回隐患(显式携带 lastReportedAt)
升级 Upgrade
git pull --ff-only && docker compose up -d --build源改动需 LMDB 重建生效:升级后手动触发一次「更新数据库」(或等下个自动刷新周期)。
Full Changelog: v1.2.0...v1.2.2
v1.2.0 — IPv6 全支持 + 页内自更新
亮点 Highlights
- IPv6 查询支持 —— 裸 v6 / 小段 v6 CIDR 直接查,geo · city · ASN · VPN · CDN · 封禁段对 v6 生效。双族 LMDB 存储(v4 数据零迁移);spamhaus DROPv6、x4bnet、Cloudflare ips-v6 等兄弟源接入,geo/ASN v6 全量入库(ipinfo 61% 行、GeoLite 35%、iptoasn 25%);STIX 导出产
ipv6-addr;/api/db-status新增covered_v6_nets- IPv6 lookups — bare v6 and small v6 CIDRs with geo · city · ASN · VPN · CDN · DROP coverage. Dual-family LMDB storage (zero v4 migration); sibling feeds wired in (spamhaus DROPv6, x4bnet, Cloudflare ips-v6) with geo/ASN fully indexed (61% of ipinfo rows, 35% of GeoLite, 25% of iptoasn); STIX emits
ipv6-addr;/api/db-statusgainscovered_v6_nets
- IPv6 lookups — bare v6 and small v6 CIDRs with geo · city · ASN · VPN · CDN · DROP coverage. Dual-family LMDB storage (zero v4 migration); sibling feeds wired in (spamhaus DROPv6, x4bnet, Cloudflare ips-v6) with geo/ASN fully indexed (61% of ipinfo rows, 35% of GeoLite, 25% of iptoasn); STIX emits
- 页内版本通知 + 一键自更新(可选) —— 顶部横幅提示新版本(复制更新命令);
docker-compose.yml取消注释挂载模板后可页内一键更新(容器内git pull --ff-only+ 定向重建,token 门控);跨容器更新状态机防半途状态- In-app version banner + one-click self-update (opt-in) — release banner with copy-paste update command; optional in-page one-click update via commented mount template (in-container
git pull --ff-only+ targeted rebuild, token-gated); cross-container update state machine
- In-app version banner + one-click self-update (opt-in) — release banner with copy-paste update command; optional in-page one-click update via commented mount template (in-container
修复 Fixed
- CI flake:
test_stream_pool冷启动线程污染数据目录导致的 503(tiny_db 隔离) - 权威源空响应防护:兄弟文件下载补超时/重试/空响应守卫,v6 兄弟失败不连累 v4 更新
升级 Upgrade
docker compose pull # 若用镜像
# 或源码部署:
git pull --ff-only && docker compose up -d --buildv4 部署零迁移、零配置变化;升级后首个刷新周期自动构建 v6 sidecar。
Full Changelog: v1.1.0...v1.2.0
v1.1.0 — 错峰自动刷新 + 集成三件套
新增 Added
- Fail2ban 集成:
scripts/fail2ban/ipradar.conf—— ban 前先查本地裁决,确认恶意(conf ≥ 70 可调)记入长封名单,CDN/基础设施边缘跳过 ban 免误封- Fail2ban integration (
scripts/fail2ban/ipradar.conf): pre-ban triage consults the local verdict — confirmed-malicious IPs (confidence ≥ 70, tunable) go to a long-ban list, CDN/infra edges are skipped to avoid false bans
- Fail2ban integration (
- Graylog 集成:
integrations/graylog/—— 可导入 content pack(Lookup Table + Pipeline)及 HTTP JSONPath 配置指南,日志富化一步到位- Graylog integration (
integrations/graylog/): importable content pack (lookup tables + pipeline) with an HTTP JSONPath setup guide — one-stop log enrichment
- Graylog integration (
- Wazuh 集成:
integrations/wazuh/custom-ipradar—— 带 IP 告警自动富化为 ECS threat.indicator 跟进告警,本地替代 VirusTotal 集成- Wazuh integration (
integrations/wazuh/custom-ipradar): enriches IP-bearing alerts into ECS threat.indicator follow-on alerts — a local drop-in replacement for the VirusTotal integration
- Wazuh integration (
/api/lookup新增顶层threat汇总字段(verdict/confidence/types/is_cdn),下游集成一句话拿裁决- Top-level
threatsummary field (verdict/confidence/types/is_cdn) in/api/lookupresponses — integrations get the verdict in one field
- Top-level
- 新增 DShield top-attacker 源:免密钥源 24→25,总源数 28→29
- New DShield top-attacker source: keyless sources 24→25, total 28→29
last_seen全管线接通:源采集 → 存储 → 查询 API → 详情面板last_seenwired end-to-end: harvest → storage → lookup API → detail panel
as_domain资产域名槽位,机构行后缀展示as_domainasset slot, displayed as a suffix on the org row
- CSV 导出新增 first_seen / last_seen / as_domain 三列
- CSV export gains first_seen / last_seen / as_domain columns
- 详情面板 extra 值可点击:tweet_url、sbl_id 及裸 URL 自动 linkify
- Extra values in the detail panel are linkified: tweet_url, sbl_id, and bare URLs become clickable links
- 重建进度升级:加载阶段也有进度信号,终态冻结不再回跳,状态条分段渲染百分比/行数
- Rebuild progress overhaul: loading phase now emits progress, final-state fractions freeze instead of snapping back, and the status bar renders per-phase percentages and row counts
变更 Changed
- 后台自动刷新改为每源固定错峰时刻:日更源每天 2 次、周更源每周期 1 次(此前 30 分钟扫描、过期即拉,全源同刻聚集;AbuseIPDB 等配额源被动挨挤);调度器状态新增每源
next_refresh_at- Background refresh moved to fixed per-source staggered slots: daily sources twice a day, weekly sources once per staleness window (previously a 30-minute scan pulled every stale source at the same moment, crowding quota'd feeds like AbuseIPDB); scheduler status now exposes per-source
next_refresh_at
- Background refresh moved to fixed per-source staggered slots: daily sources twice a day, weekly sources once per staleness window (previously a 30-minute scan pulled every stale source at the same moment, crowding quota'd feeds like AbuseIPDB); scheduler status now exposes per-source
- stopforumspam 换用 listed_ip_365_all 数据:带走 total(出现次数)与 last_seen
- StopForumSpam switches to the listed_ip_365_all feed, carrying total (hit count) and last_seen
- proxyscrape 改发 carrier 字段,僵尸 isp 槽位删除
- ProxyScrape now emits carrier; the zombie isp slot is removed
- 死代码清除:ApiSource 基类、在线富化(enricher)链、enrichError/phase 死契约
- Dead code removed: the ApiSource base class, the online-enricher chain, and the unused enrichError/phase contract
修复 Fixed
- 批量更新收敛竞态:终态 done 事件不再出现 done<total;源中途启用 (re-enable) 或调度器刷新与手动全量更新重叠时,total 动态校正,批次不再可能永久停在 running(需重启才能再全量更新)
- Batch-update convergence race: terminal done events no longer report done<total; when a source is re-enabled mid-batch or a scheduler refresh overlaps a manual full update, total is dynamically corrected — a batch can no longer get stuck in running forever (which previously required a restart)
- cn_isp 不再把运营商名写进 as_name;ISP 徽标仅中国 IP 显示
- cn_isp no longer pollutes as_name with carrier names; the ISP badge is shown for CN IPs only
- STIX 导出:Location/AS 对象 id 规范为
<type>--<UUID>;残余 http 源 URL 全部改 https- STIX export: Location/AS object ids normalized to
<type>--<UUID>; remaining http feed URLs switched to https
- STIX export: Location/AS object ids normalized to
- DShield 解析容错:tab 分隔、
-占位归一为 null- DShield parsing hardening: tab-split tolerance;
-placeholders normalized to null
- DShield parsing hardening: tab-split tolerance;
- 进度显示一串修复:resync 后假 0%、rebuild 后取消边界、行数 K/M 晋升格式、loading 计数清零回归、cancelled 灰条
- A run of progress-display fixes: false 0% after resync, cancel boundary after rebuild, K/M row-count formatting, loading-counter zeroing regression, and the cancelled grey bar
内部 Internal
- README:404StarLink banner、新截图、审计修正(链接/警告/venv 引导/刷新口径英文镜像);agent skills 文档接地重写 + 漂移守卫测试;迁移到 pi 作为主 harness;测试加固(monotonic deadline、退避守卫去空洞化)
- README: 404StarLink banner, new screenshots, audit fixes (links/warnings/venv bootstrap/EN mirror of refresh cadence); agent-skills docs rewritten as grounded pointers plus drift-guard tests; migrated to pi as the primary harness; test hardening (monotonic deadlines, de-vacuous backoff guard)
升级 / Upgrade:docker compose up -d --build 即可;无配置迁移。scheduler 槽位按源名哈希自动生效,重启不影响。
No config migration needed — just docker compose up -d --build. Scheduler slots hash by source name and take effect automatically; restart is fine.
v1.0.0
自托管威胁情报融合引擎首个公开版本。FastAPI + React 19 + LMDB,单容器部署,查询不出网。
核心
- 28 源融合:24 个免密钥源开箱即用,4 个 🔑 源可选开启
- 一份裁决:可靠性加权、交叉佐证、时间衰减的 0-100 置信度,逐源证据可展开
- 地理 · 城市 · ASN · CN ISP(含港澳台);代理 / VPN / Tor / CDN 识别
- 流式批量查询:文本 / 文件 / CIDR,单批 50 万 IP,STIX 2.1 导出
- 冷启动感知:容器秒级可访问 + 横幅构建进度;积分门保证构建期绝不以半份数据出结论
- 资源自觉:重建并发按宿主机内存自动收敛;LMDB+mmap,查询内存 MB 级
- Docker 一键部署:
docker compose up -d --build
完整里程碑见 CHANGELOG。