Skip to content

feat(agent): V1.19.0-alpha pentest-tester LLM-driven minimum viable#76

Merged
Wool-xing merged 1 commit into
mainfrom
feat/v1.19-pentest-tester
May 15, 2026
Merged

feat(agent): V1.19.0-alpha pentest-tester LLM-driven minimum viable#76
Wool-xing merged 1 commit into
mainfrom
feat/v1.19-pentest-tester

Conversation

@Wool-xing
Copy link
Copy Markdown
Owner

Summary

ROADMAP rollout #5 落地 — pentest-tester LLM-driven minimum viable。LLM 读 PRD + 安全上下文 → 5 攻击域 (Injection/XSS/SSRF/Auth/Authz) 渗透测试计划 + 工具调用清单 + PoC plan 结构化 JSON,遵循 shannon 哲学 (仅 working PoC 才入报告)。

  • expert 15/16 active (10 production + 5 script + 1 rollout) — V1.18 14 → V1.19 15
  • 剩 1 rollout: automotive-tester (V1.20, 收尾)
  • 照 V1.18 system_tester pattern + V1.16-followup ALL_RUNNERS 锁规则严格遵守

授权边界

  • 本 runner 只输出测试计划文本,不调外部攻击工具,不执行不可逆操作
  • 真执行守护已在 utils 层 (api_security_scanner.py / ai_adversarial.py) 用 TAGENT_PENTEST_AUTHORIZED=1 env gate
  • 法律责任 (CFAA / 网络安全法 / NIS2) 在操作者侧,见 SECURITY.md L84 "武器化代码使用边界"
  • MIT License 原样提供 + 误用即攻击 + 项目维护者免责

变更

  • runtime/orchestrator/agents/pentest_tester.py 新加 (AgentRunner 子类 + system/user prompt + mock_output + summary)
  • runtime/orchestrator/agents/__init__.py 注册 import
  • 02-专家定义/15-渗透测试.md frontmatter EXPERT_IMPL_STATUS: rollout → production (registry 单源)
  • runtime/tests/test_agent_runners.py ALL_RUNNERS 加 pentest-tester (31 case 全过)
  • runtime/tests/test_impl_status_filter.py 数字 sync (10 production / 5 script / 1 rollout) + router rollout 测试改 automotive-tester
  • README.md 数字 catch-up
  • ROADMAP.md V1.19 标 done + 当前状态 V1.19.0-alpha + 15/16 + Changelog

Test 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 闭环不退化)
  • pre-commit (ruff / detect-secrets / 路径守 / agents-skills-utils 数量校验 / markdownlint) PASS
  • CI 13 jobs (含 macOS install.sh + pytest-unit) 待 PR 触发

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
@Wool-xing Wool-xing merged commit b3f46ee into main May 15, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant