How m1cckey/pyprojects works
This repository is a collection of three small security utilities rather than one integrated application. AuditDeps checks pinned Python dependencies against OSV and reports vulnerability findings; LogWatch parses access logs, detects suspicious activity, and presents statistics; JWTinspector decodes JWT parts and includes a header check. The sampled source shows AuditDeps’ runtime orchestration and much of LogWatch’s detection/reporting flow. JWTinspector’s excerpt ends during header analysis, so its caller and further behavior are not mapped.
Main entry points: LogWatch.py Analysis coordinator · AuditDeps.py Audit scanner · JWTinspector.py JWT decoder
Components 25
Dependency auditing
- Audit CLI
AuditDeps/AuditDeps.py - Audit scanner
AuditDeps/AuditDeps.py - Requirements input
- Package parser
AuditDeps/AuditDeps.py - JSON cache
- OSV service
- Vulnerability analysis
AuditDeps/AuditDeps.py - Audit report
AuditDeps/AuditDeps.py
Access-log analysis
- LogWatch CLI
LogWatch/LogWatch.py - Analysis coordinator
LogWatch/LogWatch.py - Access log
- Log parser
LogWatch/LogWatch.py - SQL detection
LogWatch/LogWatch.py - User-agent detection
LogWatch/LogWatch.py - Brute-force detection
LogWatch/LogWatch.py - Scanning detection
LogWatch/LogWatch.py - XSS detection
LogWatch/LogWatch.py - Error-spike detection
LogWatch/LogWatch.py - Statistics report
LogWatch/LogWatch.py - Chart views
LogWatch/LogWatch.py
JWT inspection
- JWT decoder
JWTinspector/JWTinspector.py - Header analysis
JWTinspector/JWTinspector.py
Other components
- Operator
- Log operator
- JWT analyst
Connections 28
- Operator → Audit CLI: runs
AuditDeps/AuditDeps.py - Audit CLI → Audit scanner: creates
AuditDeps/AuditDeps.py - Audit CLI → Requirements input: selects
AuditDeps/AuditDeps.py - Audit CLI → Audit scanner: loads cache
AuditDeps/AuditDeps.py - Audit CLI → Audit scanner: starts scan
AuditDeps/AuditDeps.py - Audit CLI → Audit scanner: writes cache
AuditDeps/AuditDeps.py - Audit scanner → JSON cache: reads and writes
AuditDeps/AuditDeps.py - Audit scanner → Package parser: parses requirements
AuditDeps/AuditDeps.py - Package parser → Requirements input: reads
AuditDeps/AuditDeps.py - Audit scanner → OSV service: queries
AuditDeps/AuditDeps.py - Audit scanner → Vulnerability analysis: analyzes findings
AuditDeps/AuditDeps.py - Audit scanner → Audit report: prints results
AuditDeps/AuditDeps.py - Vulnerability analysis → Audit report: formats findings
AuditDeps/AuditDeps.py - Log operator → LogWatch CLI: runs
LogWatch/LogWatch.py - LogWatch CLI → Analysis coordinator: creates
LogWatch/LogWatch.py - LogWatch CLI → Analysis coordinator: shows statistics
LogWatch/LogWatch.py - Analysis coordinator → Access log: selects
LogWatch/LogWatch.py - Analysis coordinator → Log parser: parses
LogWatch/LogWatch.py - Log parser → Access log: reads
LogWatch/LogWatch.py - Analysis coordinator → SQL detection: checks parsed logs
LogWatch/LogWatch.py - Analysis coordinator → User-agent detection: checks parsed logs
LogWatch/LogWatch.py - Analysis coordinator → Brute-force detection: checks parsed logs
LogWatch/LogWatch.py - Analysis coordinator → Scanning detection: checks parsed logs
LogWatch/LogWatch.py - Analysis coordinator → XSS detection: checks parsed logs
LogWatch/LogWatch.py - Analysis coordinator → Error-spike detection: checks parsed logs
LogWatch/LogWatch.py - Analysis coordinator → Statistics report: builds statistics
LogWatch/LogWatch.py - LogWatch CLI → Statistics report: displays
LogWatch/LogWatch.py - JWT analyst → JWT decoder: uses