TraceLens is a defensive cybersecurity CLI that turns mixed CSV/JSONL logs into a ranked triage summary.
It is intentionally safe: it does not scan networks, attack targets, validate credentials, or contact external services. It only analyzes local telemetry.
- Repeated failed authentication from the same IP.
- Successful login after a burst of failures.
- Denied firewall bursts against many destination ports.
- DNS requests for suspicious-looking domains.
- Large outbound transfers to uncommon destinations.
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e . pytest
tracelens scan samples
pytestSOC work is often about turning noisy events into useful questions. TraceLens shows that flow:
- normalize events,
- group related activity,
- score risk,
- explain the evidence,
- recommend the next analyst action.
[HIGH] Login success after failures
user=alice src_ip=203.0.113.66 risk=82
Five failures followed by a successful login.