Architecture of interplains/zero-breach-toolkit
interplains/zero-breach-toolkit is 266 source files holding 3,658 symbols across 3 modules, written mainly in Python, Shell. The largest module is scan, with 200 files, and 2 files are entry points into the dependency graph.
How zero-breach-toolkit fits together
Input enters through the command line, where scan/zbtriage/__main__.py and scan/zbtriage/cli.py act as the entry points and cli.py parses options such as the phone folder and report file paths. The scan directory holds the core checking code, which reads local collections such as phone log exports, databases, copied files and live Windows records. scan/zbtriage/report.py is one of the central files involved in producing the output. The result is a verdict of either no known indicators found or something matched, together with the list of places that could not be checked. The build directory turns the indicator lists into a denylist, a MISP export and a STIX export, and build/bundle.py packages the toolkit into one runnable script. The tools directory contains helper scripts for release checks and test fixtures.
Largest modules
- scan: 200 files and 39,692 lines of code
- tools: 8 files and 1,364 lines of code
- build: 7 files and 1,270 lines of code
Languages
By file count: Python 214 files, Shell 1 file.
Documentation
Repowise documents zero-breach-toolkit in 106 pages generated from the source, 7 of them written explanations of the repository and its modules. Module guides include:
- build: Build Pipeline and Intel Export
- tools: Maintenance and Release Tooling
- scan: Scan Orchestration and Device Checks
- scan/zbtriage: Triage Module Suite
More on zero-breach-toolkit: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos