How zulfctf/security-toolkit works
Security Toolkit provides two standalone defensive command-line utilities: a directory integrity baseline/checker and a failed-authentication log summarizer. The principal integrity workflow scans files, hashes them, records or loads a manifest, compares snapshots, and reports changes. The second utility reads JSON Lines, validates and aggregates failed logins by IP, then emits threshold alerts. Relationships reflect the sampled implementations and README; the tools are independent, and no connection between them is shown.
Main entry points: file_integrity.py Integrity CLI · auth_log_summary.py Auth Summary CLI
Components 12
File Integrity
- Integrity CLI
tools/file_integrity.py - Directory Scan
tools/file_integrity.py - SHA-256 Hashing
tools/file_integrity.py - Baseline Manifest
- Baseline Loading
tools/file_integrity.py - Snapshot Compare
tools/file_integrity.py - Change Report
tools/file_integrity.py
Auth Log Summary
- Auth Summary CLI
tools/auth_log_summary.py - JSONL Event File
- Event Summarizer
tools/auth_log_summary.py - Alert Output
tools/auth_log_summary.py
Other components
- Operator
Connections 11
- Operator → Integrity CLI: runs command
README.md - Integrity CLI → Directory Scan: scans directory
tools/file_integrity.py - Directory Scan → SHA-256 Hashing: hashes files
tools/file_integrity.py - Integrity CLI → Baseline Manifest: writes baseline
tools/file_integrity.py - Integrity CLI → Baseline Loading: loads baseline
tools/file_integrity.py - Integrity CLI → Snapshot Compare: compares snapshots
tools/file_integrity.py - Integrity CLI → Change Report: prints changes
tools/file_integrity.py - Operator → Auth Summary CLI: runs command
tools/auth_log_summary.py - Auth Summary CLI → JSONL Event File: reads events
tools/auth_log_summary.py - Auth Summary CLI → Event Summarizer: summarizes lines
tools/auth_log_summary.py - Auth Summary CLI → Alert Output: prints alerts
tools/auth_log_summary.py