DeepZero 提供了全面详细的文档,涵盖架构设计、流水线 Schema、命令行参考指南以及自定义处理器开发。
DeepZero 需要一个待分析的语料库文件目录,以及一份用于说明如何处理这些文件的流水线配置文件。
克隆并安装 (要求 Python 3.11+)
git clone https://github.com/416rehman/DeepZero.git
cd DeepZero
pip install -e .
配置环境
cp .env.example .env
运行一条流水线
deepzero run C:\drivers -p .\pipelines\loldrivers\pipeline.yaml
有关详细的设置说明和示例语料库,请参阅快速开始文档。
src/deepzero/
├── api/ # REST API (starlette)
├── engine/ # 编排、状态持久化、流水线执行
└── stages/ # 内置处理器 (map, reduce, ingest)
processors/ # 外部处理器 (作为示例提供)
├── ghidra_decompile/ # ghidra 无头反编译器 (MapProcessor)
├── loldrivers_filter/ # loldrivers.io 哈希排除过滤器 (MapProcessor)
├── pe_ingest/ # PE 头部解析及驱动程序元数据提取器 (IngestProcessor)
└── semgrep_scanner/ # semgrep 批量扫描器 (BulkMapProcessor)
pipelines/
└── loldrivers/ # BYOVD 内核驱动程序漏洞研究流水线
├── pipeline.yaml
├── assessment.j2 # LLM 提示词模板
└── rules/ # semgrep 规则
docs/ # 基于 Jekyll 的 GitHub Pages 官方文档
tests/ # pytest 测试套件
CI 会在 GitHub Actions 上通过 Python 3.11 和 3.12 运行。
提交代码之前,请运行代码格式化和安全检查:
ruff check . && ruff format --check . && bandit -ll -ii -c pyproject.toml -r .
在提交 Pull Request 之前,请阅读贡献指南和行为准则。
DeepZero 基于 MIT 协议 开源。