Repository navigation
🚀 新增功能
- GitHub 监控多 Token 池、五通道泄露检索与 WIH 凭据风险分级:新增
github_client.py(支持单/多行 GitHub PAT 池脱敏回显与合并保存,按code_search/search/core三桶独立节流并在401/429时自动切备)、github_channels.py(扩展code/commit/issue/repo/gist五通道组合检索)、github_secret_scanner.py(结合 WIH 规则与熵值校验实现high/medium/low风险分级及push_min_risk分级告警)与github_templates.py(creds/cloud_aksk/db_dsn/sensitive_files/api_internal五类渗透泄露意图模板);新增GET /api/github_result/intent_templates/与GET /api/github_result/raw_content/(上限 384 KB 及最近 5 条 Commit 按需拉取),并在GithubManage.vue、SystemSettings.vue与中/英/俄三语字典同步升级研判界面与多 Token 配置。 - Docker Hub 与阿里云 ACR 双镜像源分发及受控在线切源:将原
aliyun-docker.yml重构为.github/workflows/release-images.yml(配套plan_release.py、install_skopeo.sh、push_oci_fanout.sh),采用「一次构建本地 OCI →skopeov2s2 退避重试扇出推送与远程 Digest 校验」架构同步交付至阿里云 ACR(国内默认)与 Docker Hub(海外docker.io/owl234),具备并发锁、分服务缓存隔离、arl-web推送前容器冒烟门禁、预发布标签不覆盖:latest保护及双语 Release Notes 自动提取;参数化docker-compose.prod.yml(保留持久化卷与默认 ACR 行为),start-prod.sh新增--source/--tag持久化写入.env、ARL_SKIP_PULL及海外裸机跳过国内加速源;SystemUpdatePanel.vue与updater/updater.py新增镜像源可视化及受控官方双源切换(GET /update_stream/source_status、POST /update_stream/set_source)。 - 零零信安(0.zone)被动子域名信息收集插件与连通性探活:新增
backend/app/services/dns_query_plugin/zerozone.py,支持domain(url=$.<target>)与可选site(url==<target>,提取url/redirect_url/hostname/ssl_hostname及 TLS 证书 CN/SAN)双源融合采集与点分边界严格过滤,统一经intel代理域发起请求;新增POST /api/system_config/test_zerozone轻量探活与今日配额查询接口、config.py非破坏性插件默认合并(merge_query_plugin_config)及arlupdate.py一次性幂等迁移(migration_query_plugin_zerozone),并在SystemSettings.vue同步提供配置与配额探测入口。
🛠️ 性能与重构
- GitHub 威胁情报三雷达重构与泄露弹窗交互精简:重构
github_threat_monitor.py与github_threat.py——CVE 雷达新增跨年检索、多 PoC 聚合(poc_repos)、反假 PoC 质量评分、GHSA/CVE Services 富化(severity/cvss_score/affected_products)、本地 Nuclei/指纹资产联动与可配推送过滤;武器库监控支持Release→Tag→Commit三级回退、ETag304零配额缓存与单工具include_prerelease开关;研究员监控新增repo/star/gist基线差集与ETag304追踪;arlupdate.py补齐github_result、github_monitor_result、github_hash、github_cve_history与github_hackers_history复合索引;GithubManage.vue精简扫描与策略弹窗交互(移除资产组下拉并修正 Cron 预设)。 - 在线更新并发保护、两阶段暂存拉取与版本检测加固:将
updater/updater.py升级为ThreadingHTTPServer,引入并发更新锁(HTTP 409 防止在途日志被覆盖)、锁定版本标签拦截(pinned_tag)、两阶段暂存拉取(缓解拉取失败导致的容器状态撕裂)与 Basic Auth 跨升级保留;system_config_service.py修正预发布版与补丁版本号比较并补齐 GitHub Releases302重定向回退以缓解匿名 API 限流;SystemUpdatePanel.vue增加跨国高延迟轮询并发防重入保护。
🐛 问题修复与加固
- Ubuntu 26.04 初次部署
timeoutSIGTTOU 挂起修复与apt/Compose 兼容加固:在start-prod.sh的run_with_spinner与run_cmd_with_timeout中强制</dev/null切断交互式 stdin,探测并优先启用--foreground与-k 5,规避 Ubuntu 26.04rust-coreutilstimeout导致的apt-get进程组挂起死锁(兼容 GNU coreutils 与 BusyBox);为apt-get统一注入DEBIAN_FRONTEND=noninteractive、NEEDRESTART_SUSPEND=1、DPkg::Lock::Timeout=60与confdef/confold非交互参数,在 Compose 安装链路探测兼容docker-compose-plugin与docker-compose-v2;补齐 Docker Hub429快速识别与 120s 严格后端就绪探针。 - 仪表盘漏洞严重级别跳转与资产搜索 KeepAlive 深链联动修复:抽离
frontend/src/utils/assetFilters.js的parseAssetSearchDeepLink()解析外部深链 query(兼容npoc_service→service别名与类型化筛选值,普通切页保留 KeepAlive 缓存态);修复Dashboard.vue总资产/今日新发现卡片与漏洞严重级别环形图扇区及图例点击跳转,并加固AssetSearch.vue在 KeepAlive 激活与路由变更下的深链筛选同步。 - GitHub 检索语法校验、变更感知与插件布尔配置修正:加固
githubSearch.py引号外 REST/search/code语法校验(放行双引号字面量与org:/repo:/user:+filename:/path:/extension:作用域文件查询),支持size分片、前置噪声剪枝、基于blob_sha的同文件内容变更重提(content_updated: true)、周期策略防重入拦截及error_msg/warning_msg透出;修复dns_query.py将显式False布尔配置项误判为未配置的问题。
🛡️ 安全与配置
- 前端网关 Nginx 升级至
1.30.8并保留 Debian Bookworm 运行环境:frontend/Dockerfile.prod保留旧内核兼容的debian:bookworm-slim(glibc)运行环境,经官方签名源安装并固定nginx=1.30.8-1~bookworm及配套动态模块,复用官方容器入口脚本与STOPSIGNAL SIGQUIT(PR #100)。 - 凭据脱敏、受控切源边界、双语文档与自动化回归验证:
GET /api/system_config/general对多行github_token池脱敏回显,zerozone探活与异常日志对 API Key 做脱敏处理;updater/updater.py仅允许aliyun/dockerhub白名单切源并拒绝覆盖.env自定义私有仓;同步更新中英文README*.md、docs/QUICKSTART*.md与docs/API_GUIDE*.md,并新增双仓交付、Ubuntu 防挂起、零零信安插件、GitHub 监控及仪表盘深链前后端回归测试。
🚀 New Features
- GitHub monitoring multi-token pool, 5-channel leak discovery, and WIH-aligned secret scoring: added
github_client.py(supporting single/multi-line GitHub PAT pooling with masked readback/merge, independentcode_search/search/corebucket pacing, and automatic401/429failover),github_channels.py(expanding leak discovery acrosscode,commit,issue,repo, andgist),github_secret_scanner.py(combining WIH rules and entropy checks forhigh/medium/lowrisk scoring andpush_min_riskalert filtering), andgithub_templates.py(five built-in pentest leak intent templates:creds,cloud_aksk,db_dsn,sensitive_files,api_internal); addedGET /api/github_result/intent_templates/andGET /api/github_result/raw_content/(on-demand full source up to 384 KB plus up to 5 recent commits), alongside upgraded triage views, multi-token configuration, and zh/en/ru locales acrossGithubManage.vueandSystemSettings.vue. - Dual-registry delivery (Aliyun ACR + Docker Hub) and controlled online registry switching: replaced
aliyun-docker.ymlwith.github/workflows/release-images.yml(backed byplan_release.py,install_skopeo.sh, andpush_oci_fanout.sh) using a build-once local OCI layout and decoupledskopeov2s2 fan-out push with backoff retries and remote digest verification to Aliyun ACR (China mainland default) and Docker Hub (docker.io/owl234, global), featuring concurrency locks, per-service cache scopes, a pre-pusharl-webcontainer smoke gate, prerelease:latesttag protection, and bilingual Release Notes extraction; parameterizeddocker-compose.prod.yml(preserving persistent volumes and ACR defaults), extendedstart-prod.shwith--source/--tag.envpersistence,ARL_SKIP_PULL, and overseas bare-metal mirror handling; added registry visibility and controlled official source switching (GET /update_stream/source_status,POST /update_stream/set_source) inSystemUpdatePanel.vueandupdater/updater.py. - ZeroZone (
0.zone) passive subdomain query plugin and connectivity probe: addedbackend/app/services/dns_query_plugin/zerozone.pycombining the primarydomainmodule (url=$.<target>) and optionalsitemodule (url==<target>, extractingurl,redirect_url,hostname,ssl_hostname, and TLS certificate CN/SANs) under strict dot-boundary filtering routed through theintelproxy domain; addedPOST /api/system_config/test_zerozonefor lightweight connectivity and daily quota probing, non-destructive default merging (merge_query_plugin_config) inconfig.py, one-time sentinel-guarded migration (migration_query_plugin_zerozone) inarlupdate.py, and configuration/probe controls inSystemSettings.vue.
🛠️ Performance & Refactoring
- GitHub threat radar overhaul and scan/policy modal simplification: refactored
github_threat_monitor.pyandgithub_threat.py—CVE radar gained cross-year discovery, multi-PoC aggregation (poc_repos), anti-fake-PoC quality scoring, GHSA/CVE Services enrichment (severity/cvss_score/affected_products), local Nuclei/fingerprint matching, and configurable alert filters; security tool tracking added 3-tierRelease→Tag→Commitfallback,ETag304zero-quota caching, and per-toolinclude_prereleasetoggles; researcher tracking added baseline-diffrepo/star/gistmonitoring withETag304; added compound indexes forgithub_result,github_monitor_result,github_hash,github_cve_history, andgithub_hackers_historyinarlupdate.py; streamlined scan/policy modals inGithubManage.vue(removing the asset-scope dropdown and fixing cron presets). - Online updater concurrency guards, two-phase staging pull, and version-check hardening: upgraded
updater/updater.pytoThreadingHTTPServerwith concurrency locking (HTTP 409 protecting active logs), pinned-tag guards (pinned_tag), two-phase staging pulls (mitigating partial container upgrades on pull errors), and Basic Auth preservation across updates; fixed prerelease vs. patch version comparison and added GitHub Releases302redirect fallback insystem_config_service.pyto mitigate anonymous API rate limits; added non-overlapping log polling guards for high-latency links inSystemUpdatePanel.vue.
🐛 Bug Fixes & Hardening
- Ubuntu 26.04 initial-deploy
timeoutSIGTTOU hang fix andapt/Compose compatibility: detached interactive stdin (</dev/null) inrun_with_spinnerandrun_cmd_with_timeoutinstart-prod.shand probed--foregroundwith-k 5to avoidapt-getprocess-group SIGTTOU deadlocks under Ubuntu 26.04rust-coreutilstimeout(retaining GNU coreutils and BusyBox compatibility); hardenedapt-getcalls withDEBIAN_FRONTEND=noninteractive,NEEDRESTART_SUSPEND=1,DPkg::Lock::Timeout=60, andconfdef/confoldoptions, addeddocker-compose-plugin/docker-compose-v2probing and fallback, and added Docker Hub429fast detection with strict 120s backend readiness checks. - Dashboard severity drill-down and AssetSearch KeepAlive deep-link synchronization: extracted
parseAssetSearchDeepLink()infrontend/src/utils/assetFilters.jsto parse inbound deep-link queries (normalizing legacynpoc_service→servicealiases and typed filters while preserving KeepAlive state on plain navigation); fixedDashboard.vueasset summary cards and vulnerability severity chart sector/legend click navigation, and alignedAssetSearch.vuedeep-link filter synchronization across KeepAlive reactivation and route query transitions. - GitHub query validation, file-change tracking, and boolean plugin option fix: hardened unquoted REST
/search/codesyntax validation ingithubSearch.py(permitting quoted literals and scoped file-target combinations such asorg:/repo:/user:withfilename:/path:/extension:), added size sharding, pre-fetch ignored-repo/noise pruning,blob_shacontent-change re-surfacing (content_updated: true), recurring scheduler overlap rejection, anderror_msg/warning_msgpropagation; fixeddns_query.pytreating explicitFalseboolean plugin options as unconfigured.
🛡️ Security & Configuration
- Frontend Nginx gateway upgraded to
1.30.8on Debian Bookworm: updatedfrontend/Dockerfile.prodto retain thedebian:bookworm-slim(glibc) runtime for older Linux kernels while installing pinnednginx=1.30.8-1~bookwormand dynamic modules from the signed official Nginx repository alongside upstream entrypoints andSTOPSIGNAL SIGQUIT(PR #100). - Credential masking, controlled registry switching, bilingual documentation, and regression suites: masked multi-line
github_tokenpools inGET /api/system_config/generaland maskedzerozoneAPI keys in probe/error logs; restrictedupdater/updater.pysource switching to thealiyun/dockerhuballowlist while rejecting overwrites of custom.envprivate registries; synchronized bilingualREADME*.md,docs/QUICKSTART*.md, anddocs/API_GUIDE*.md, and added backend/frontend regression suites for dual-registry delivery, Ubuntu anti-freeze hardening, ZeroZone, GitHub monitoring, and dashboard deep-linking.
What's Changed
- fix(frontend): upgrade Nginx to 1.30.8 on Debian Bookworm by @jikdarren in #100
Full Changelog: v1.5.2...v1.5.3