你好 @zan8in,
随着社区PoC增多,质量控制变得重要。建议增加自动化的PR验证。
建议:GitHub Actions验证流水线
对pocs/目录的PR自动执行:
- YAML Schema验证:检查PoC格式是否符合afrog规范
- 安全扫描:检测PoC中是否包含危险的
eval、exec、系统调用
- Mock目标测试:在已知干净的mock目标上运行,验证是否产生误报
- 真阳性测试:在已知漏洞的测试目标上运行,验证是否能正确检测
- 性能测试:确保PoC不会导致过多请求或超时
测试基础设施:
- 使用docker-compose搭建mock环境
- 维护一组已知漏洞的Docker镜像(DVWA、VulnHub等)
- 维护一组已知干净的镜像(Nginx、Apache默认页面)
结果:
- PR状态显示各检查项结果
- 不通过则阻止合并
- 定期回归测试所有已有PoC
这是保证PoC库长期质量的必要基础设施。
[English Translation / 英文摘要]
Hi maintainers, this issue is a feature / architecture / security suggestion for 14_afrog.
The Chinese text above contains the detailed proposal with technical context and implementation ideas.
In summary: we are requesting the enhancement described above and would be happy to provide PRs or further discussion in either Chinese or English.
Thank you for the excellent work on this project!
你好 @zan8in,
随着社区PoC增多,质量控制变得重要。建议增加自动化的PR验证。
建议:GitHub Actions验证流水线
对
pocs/目录的PR自动执行:eval、exec、系统调用测试基础设施:
结果:
这是保证PoC库长期质量的必要基础设施。
[English Translation / 英文摘要]
Hi maintainers, this issue is a feature / architecture / security suggestion for 14_afrog.
The Chinese text above contains the detailed proposal with technical context and implementation ideas.
In summary: we are requesting the enhancement described above and would be happy to provide PRs or further discussion in either Chinese or English.
Thank you for the excellent work on this project!