feat(agent): V1.19.0-alpha pentest-tester LLM-driven minimum viable#76
Merged
Conversation
ROADMAP rollout #5 落地 (runtime/orchestrator/agents/pentest_tester.py): LLM 读 PRD + 安全上下文 → test_mode + target_scope + recon/vuln/exploit /reporting phases 结构化 JSON,覆盖 5 攻击域 Injection/XSS/SSRF/Auth/Authz (shannon 哲学:仅 working PoC 入报告)。 授权边界: - 本 runner 只输出**测试计划文本**,不调外部攻击工具,不执行不可逆操作。 - 真执行守护已在 utils 层 (api_security_scanner.py / ai_adversarial.py) 用 TAGENT_PENTEST_AUTHORIZED env gate。 - 法律责任 (CFAA / 网络安全法 / NIS2) 在操作者侧,见 SECURITY.md L84 "武器化代码使用边界"。 变更: - runtime/orchestrator/agents/pentest_tester.py 新加 (照 V1.18 system_tester pattern) - runtime/orchestrator/agents/__init__.py 注册 pentest_tester import - 02-专家定义/15-渗透测试.md frontmatter EXPERT_IMPL_STATUS rollout → production - runtime/tests/test_agent_runners.py ALL_RUNNERS 加 pentest-tester case (V1.16-followup 锁规则同步;31 case 全过) - runtime/tests/test_impl_status_filter.py 数字 sync:expert 10 production + 5 script + 1 rollout;router rollout 测试改 automotive-tester (V1.20) - README.md 数字 catch-up:16 expert = 10 production + 5 script + 1 rollout - ROADMAP.md V1.19 标 done + 当前状态 V1.19.0-alpha + active 15/16 + Changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ROADMAP rollout #5 落地 — pentest-tester LLM-driven minimum viable。LLM 读 PRD + 安全上下文 → 5 攻击域 (Injection/XSS/SSRF/Auth/Authz) 渗透测试计划 + 工具调用清单 + PoC plan 结构化 JSON,遵循 shannon 哲学 (仅 working PoC 才入报告)。
授权边界
api_security_scanner.py/ai_adversarial.py) 用TAGENT_PENTEST_AUTHORIZED=1env gate变更
runtime/orchestrator/agents/pentest_tester.py新加 (AgentRunner 子类 + system/user prompt + mock_output + summary)runtime/orchestrator/agents/__init__.py注册 import02-专家定义/15-渗透测试.mdfrontmatterEXPERT_IMPL_STATUS: rollout → production(registry 单源)runtime/tests/test_agent_runners.pyALL_RUNNERS 加 pentest-tester (31 case 全过)runtime/tests/test_impl_status_filter.py数字 sync (10 production / 5 script / 1 rollout) + router rollout 测试改 automotive-testerREADME.md数字 catch-upROADMAP.mdV1.19 标 done + 当前状态 V1.19.0-alpha + 15/16 + ChangelogTest plan
pytest runtime/tests/test_agent_runners.py— 31/31 PASS (3 维度 × 10 runner + 1 sync 锚)pytest runtime/tests/test_impl_status_filter.py— 13/13 PASS (X4 防 mock 闭环不退化)