Repository navigation
AlertLens v1.1.0
AlertLens explains security alerts in plain language and resists prompt injection hidden in logs. Code decides severity, every claim is checked against the alert, and actions need human approval.
Try the live demo (simulated models, synthetic data)
Run it
docker run --rm -p 127.0.0.1:8501:8501 -v alertlens-data:/data ghcr.io/lsudoko/alertlens:v1.1.0Then open http://localhost:8501. Or from source: make setup && make demo.
New in this release
- Type your own attack in the Red-Team Lab, on the simulated model or a real local one.
- "What the model tried" panel shows each raw model reply beside what code did with it.
- Injection classifier for reworded attacks, trained on an external dataset. It never trains on the held-out set.
- Better explanations from real models, after testing on llama3.2 through Ollama.
- Stricter verifier: rejects guessed attack stages and numbers that don't match the cited field.
- Public demo mode locks settings, feedback and retraining.
Measured results
Simulated model (2000 synthetic alerts, 267 injected and malicious):
| Metric | Result |
|---|---|
| Attack success, naive baseline | 100.0% |
| Attack success, AlertLens | 3.4% |
| Misses caused by the injection itself | 0.0% |
| Detection recall, held-out paraphrases (n=46) | 56.5%, up from 34.8% |
| False positives on clean alerts | 0.0% |
The naive figure is a labelled worst case from a simulated gullible model, not a measurement of a real LLM.
llama3.2, CPU only (the same 5 alerts, forced onto the LLM path; a small sample):
| Metric | Before | After |
|---|---|---|
| Mean grounding score | 0.267 | 0.64 |
| Alerts with invented action IDs | 5 | 0 |
Known limitations
- All data is synthetic, so scores will not carry over to a real SOC.
- The detector still misses many reworded attacks. The held-out score was checked twice during development, so it is not fully blind.
- Remediation is simulated, and AlertLens does not connect to a live SIEM.
See Known limitations and the changelog.