These 20 commits are when the Protocol Buffers files have changed:
| Commit: | 99cbdd9 | |
|---|---|---|
| Author: | 昝斌 | |
fix(scan): 前置阶段开关统一三态,各端默认值收敛到 CLI flag - executor/scantask: port_scan / skip_host_discovery / report_states 改 *bool, nil 省略 flag 交回子进程默认值,仅显式 false 才下发 -ps/-Pn=false - proto: port_scan / skip_host_discovery 改 optional bool,新增 report_states 与 web_assets,gRPC/MCP 由此与 Web 能力对齐 - scanapi/Web: 协议字段指针直传,Web 请求结构保持向后兼容
| Commit: | 6991f1d | |
|---|---|---|
| Author: | 昝斌 | |
feat(web): -w-favicon 改三态,三端与文档补齐指纹开关默认值 favicon 抓取默认开启,原来的 bool 无法区分「未设置」与「显式关闭」,Web 控制台取消 勾选会被静默忽略。改为 *bool 三态贯穿 executor/scantask/scanapi/Web/proto(optional): nil 省略 flag、交回子进程默认值(开启),显式 false 才下发 -w-favicon=false。-w-assets 沿用同样的指针口径。同时在 Web 控制台与中英文文档里写明 -w/-w-favicon/-w-assets 的 默认值与关闭方式,并同步重建控制台入口 index.html。
| Commit: | 2f29f56 | |
|---|---|---|
| Author: | 昝斌 | |
web探测优化
| Commit: | 635ac2a | |
|---|---|---|
| Author: | 昝斌 | |
feat: 指纹库扩容、识别证据透传与 requires 版本感知;探测编排下沉核心包 本轮围绕「先识别、再验证」与「一处改动全端同步」做了一组配套演进。四块工作在同一批 共享文件(engine.go / runner.go / matcher.go / tools.go)上交织,无法按文件单独拆分, 故合并为一次提交: - refactor(webscan): Web 探测编排(客户端/跳转链/TLS 摘要/favicon/正文)整体下沉到 pkg/webscan.Prober,CLI/Web/MCP 共用一份实现;TLSInfo 收敛为 webscan.TLSInfo, 证书摘要口径三端一致。 - feat(pocsrepo): 新增 CountMatched,把「本机有没有该技术栈 PoC」的口径统一到核心包, CLI -s、Web、MCP 共用同一答案来源。 - feat(webscan): 扩充前端库指纹规则(Preact/Knockout/Element UI/Plus/Layui/Vant/ WeUI/Bulma/Lit 等);社区规则按 probable 置信度合并而非覆盖,可用规则数明显提升。 - feat: Technology.Evidence 识别依据全端透传(CLI/Web/MCP/SDK/事件流/proto), 让「为什么命中」可复核,尤其是 probable 的弱判据。 - feat: requires 版本感知门控与候选推荐落地到执行与图谱(配合 pkg/poc 版本约束): 引擎按识别到的版本放行/跳过,assetgraph 候选按版本过滤。 - docs(poc): requires 中英文档补充版本约束写法,中英镜像。
| Commit: | f95bec4 | |
|---|---|---|
| Author: | 昝斌 | |
feat(grpc): 新增 SubmitActions,提交一批同类型原子动作 - 与 SubmitScan 共用 task_id/StreamEvents/GetStatus/GetResults/Control - 工具面动作在控制面进程内执行,执行面动作走 CLI 子进程 - 重新生成 proto;补错误码映射单测
| Commit: | 82d8802 | |
|---|---|---|
| Author: | 昝斌 | |
feat(agent): 工具面动作接入控制面,新增 OOB 工具面 - scantask 引入 Dispatcher 接缝:工具面动作(probe_http / replay_evidence / brute / oob_wait)在进程内执行,排队、事件流、订阅、收尾与扫描任务一致 - pkg/mcp 新增 act.oob_payload / act.oob_wait,凭 agent.oob 与 reverse 凭据接入 反连平台;命中写入观测流 oob_hit,未配置时 fail-closed - config 新增 agent.oob 与 ResolveOOBConnector,复用 reverse 段凭据 - MCP / gRPC / REST 三面共用同一工具注册表,装配点统一注入 OOB - 移除代码与 proto 注释中对 docs/plan/*.md 的出处引用,并将 docs/plan 移出 git 索引
| Commit: | b71888f | |
|---|---|---|
| Author: | 昝斌 | |
feat(agent): 落地 agent-native 底座 P0–P3(契约/工具面/状态面/决策面) 把 afrog 补齐为可被 AI 编排的观测·执行·验证底座:决策交给模型,执行/观测/ 证据/状态留在 afrog。判定权永远在确定性引擎 + Evidence——模型只提议下一步试 什么,不裁决是不是漏洞。 P0 契约 - pkg/ref 内容寻址 id;pkg/evidence 证据模型/构建/重放/存储 - 命中同步产出可重放证据(evd_*),verify.replay 比对 id/digest P1 工具面 - pkg/policy 唯一门控 Gate(mode/allow/deny/budget/audit);MCP / REST (/api/v1/call) / gRPC(AgentService) 三面共用同一注册表与策略、预算、审计 - pkg/mcp 暴露 observe./plan./poc./probe./verify./act. 工具 - C3:scantask 泛化为 Batch<Action> 并支持单 Action 提交;异构批量按齐次性 + 笛卡尔积完整性校验 P2 状态面 - endpoint/param 入图,observe.state / observe.observations 可查询 - 观测流扩到 port_open / tech / http_transaction / http_passive / tls / oob_hit P3 决策面 - pkg/planner 确定性下一步提议(plan.next) - pkg/drafter 候选 PoC 流水线:poc.submit 受限实跑取证据 → poc_draft 待审 → afrog poc approve/reject 人工终审入库;Approve/Reject 自动写只追加流水 poc_review - 入库率量化:drafter.GetStats() + afrog poc stats(approved/(approved+rejected), 分母不含 pending) - pkg/judge、pkg/learner:judge.brief/record 与 learn.brief/record,输出存 advisory 表 judgement / learn_suggestion,与漏洞台账分表隔离;afrog learn accept 只记录决策、不自动应用 diff 配套:中英 MCP 手册、CLI 文档、examples/mcp_agent 参考、gRPC AgentService proto
| Commit: | 6cfff7d | |
|---|---|---|
| Author: | 昝斌 | |
update
| Commit: | 9b42ec8 | |
|---|---|---|
| Author: | 昝斌 | |
「资产发现 Web 探测 + 诊断」与 CLI 对齐的完整改动清单
| Commit: | b1e33f7 | |
|---|---|---|
| Author: | zan8in | |
| Committer: | trae-solo-agent | |
完善 Web 探测与 gRPC 协议,下调端口扫描单目标默认并发 - 端口扫描:单目标并发默认 200 → 50,避免高并发触发目标限速/封禁; filtered 告警丢弃率阈值 0.95 → 0.80,让限速目标更早可见 - 移除未被引用的 ApplyQuickStrategy / ApplyQuickestStrategy(后者并发 500, 正是实测会触发封禁的参数组合) - Web 探测:新增重定向链、favicon 哈希、TLS 证书摘要与 WAF/CDN 识别, 结果随 gRPC / JSON 流一并下发 - 断点续传纳入 Web 探测结论(wp: 前缀),恢复时回灌引擎以满足 requires 门控 - 同步 CLI / SDK / gRPC 协议文档
| Commit: | a84bd4f | |
|---|---|---|
| Author: | zan8in | |
完善端口扫描和指纹
| Commit: | 0bac886 | |
|---|---|---|
| Author: | zan8in | |
feat(scan): add isolated scan service layer with json-stream, executor and gRPC API - pkg/scanstream, pkg/jsonstream: NDJSON event stream, fields aligned to proto ScanEvent - pkg/executor: per-task process executor (Spec -> CLI args, pause/resume/cancel, AFROG_TASK_ID) - pkg/scantask: console task layer with seq-based event window and subscriptions - pkg/scanapi: AfrogScanner gRPC service (6 RPCs) with bearer auth, plus `afrog serve` - pkg/web: run scans through the executor and translate NDJSON into the existing SSE events - pkg/db: task id from AFROG_TASK_ID, SelectPageByTask/CountByTask for result paging - docs: add gRPC protocol and web scan UX PRDs
| Commit: | dee73c9 | |
|---|---|---|
| Author: | zanbin168 | |
add oob()
The documentation is generated from this commit.
| Commit: | ae5f64c | |
|---|---|---|
| Author: | zanbin168 | |
version 3.0.0
| Commit: | 2726798 | |
|---|---|---|
| Author: | zanbin168 | |
change v2 to v3
| Commit: | 2fced63 | |
|---|---|---|
| Author: | zanbin168 | |
update
| Commit: | 8d531bc | |
|---|---|---|
| Author: | zan8in | |
v1.0
| Commit: | a3eca25 | |
|---|---|---|
| Author: | zan8in | |
add sizewaitgroup
| Commit: | 24b8e43 | |
|---|---|---|
| Author: | zan8in | |
added gocel for xfrog
| Commit: | 4800897 | |
|---|---|---|
| Author: | zan8in | |
new file celexpression.proto etc.