How interplains/zero-breach works
Zero Breach is a local, read-only AdFection/Candiru indicator scanner. Its main workflow loads indicators, orchestrates browser, file-hash and host checks under a no-network guard, collects graded findings and coverage gaps, then renders a human or JSON report. A separate updater can refresh indicators over HTTPS; it is deliberately outside the scanner’s no-network workflow. The graph reflects documented orchestration and sampled source references; unsampled implementation details and unshown relationships are omitted.
Main entry points: cli.py Scan orchestrator · browser.py Browser artifacts · hashscan.py File fingerprints · host.py Host artifacts
Components 16
Scan entry
- CLI launcher
scan/adint-scan.py - Scan orchestrator
scan/adint_scan/cli.py - Network guard
scan/adint_scan/netguard.py
Local checks
- Browser artifacts
scan/adint_scan/modules/browser.py - File fingerprints
scan/adint_scan/modules/hashscan.py - Host artifacts
scan/adint_scan/modules/host.py - Safe path checks
scan/adint_scan/localpaths.py
Evidence and reporting
- Indicator set
scan/adint_scan/iocs.py - Published indicators
iocs/adfection_iocs.txt - Scan context
scan/adint_scan/context.py - Graded results
scan/adint_scan/result.py - Report builder
scan/adint_scan/report.py - Human / JSON report
Indicator refresh
- IOC updater
scan/update-iocs.py
Other components
- User
- HTTPS indicator source
Connections 24
- User → CLI launcher: starts scan
README.md - CLI launcher → Scan orchestrator: calls
scan/adint-scan.py - User → Scan orchestrator: requests refresh
- Scan orchestrator → Indicator set: loads
scan/adint_scan/cli.py - Published indicators → Indicator set: provides data
README.md - Scan orchestrator → Network guard: runs guarded
scan/adint_scan/cli.py - Scan orchestrator → Scan context: creates
scan/adint_scan/cli.py - Scan orchestrator → Browser artifacts: dispatches
scan/adint_scan/cli.py - Scan orchestrator → File fingerprints: dispatches
scan/adint_scan/cli.py - Scan orchestrator → Host artifacts: dispatches
scan/adint_scan/cli.py - Browser artifacts → Scan context: reads
scan/adint_scan/modules/browser.py - File fingerprints → Scan context: reads
scan/adint_scan/modules/hashscan.py - Host artifacts → Scan context: reads
scan/adint_scan/modules/host.py - Browser artifacts → Safe path checks: checks paths
scan/adint_scan/modules/browser.py - File fingerprints → Safe path checks: checks paths
scan/adint_scan/modules/hashscan.py - Host artifacts → Safe path checks: checks paths
scan/adint_scan/modules/host.py - Browser artifacts → Graded results: records findings
scan/adint_scan/modules/browser.py - File fingerprints → Graded results: records findings
scan/adint_scan/modules/hashscan.py - Host artifacts → Graded results: records findings
scan/adint_scan/modules/host.py - Scan orchestrator → Report builder: builds report
scan/adint_scan/cli.py - Report builder → Graded results: summarizes
scan/adint_scan/report.py - Report builder → Human / JSON report: renders
- IOC updater → HTTPS indicator source: fetches indicators
scan/update-iocs.py - IOC updater → Published indicators: refreshes
README.md