Kar AlertTriage

Sovereign AI-Security · built by Kar

Turn a flood of security alerts into a short, ranked list of incidents.

Your SIEM, EDR or IDS raises thousands of alerts a day, and most are routine. AlertTriage collapses the repeats, sets the routine noise aside, links the rest into incidents, and ranks them. Each incident comes with the rules that formed it and the arithmetic of its score. It runs on your own machine, and no AI model judges anything.

2,600,263real alerts it was measured on
8 of 8scenarios with an attack incident as the first group
81–100%of attack-time alerts in the top 10 groups
7–10%by the same measure for a severity-sorted queue

Measured on the public AIT Alert Data Set: one scenario to develop the method, then seven it had never seen, run once. The results, including where it does worse, are below.

Start here

  1. Run the demo. Press "Run the demo" below to triage 7,960 real alerts from the data set, and see the attack come out on top.
  2. Try your own export. Choose a file of your own alerts (Wazuh, Suricata eve.json, Elastic/ECS, or CSV). It is read in your browser and is not uploaded.
  3. Use it day to day. Run the command line on your exports: node bin/triage.mjs alerts.json. It needs Node 18 or later and no install.

Try it

Your file never leaves this browser: this page's security policy lets it fetch only its own files, and it sends nothing anywhere. Very large exports (hundreds of MB) are better run with the command line.

Nothing triaged yet.

How it works

Five fixed steps. The same alerts always give the same list.

The triage pipeline Alerts are normalised, repeats collapse into bursts, routine rules are set aside, the rest link into incidents by shared host or address, and each group is scored by the rarity and severity of its rules. 1 · NormaliseWazuh, Suricata,ECS or CSV intoone shape 2 · Burstssame rule, host andaddresses within5 minutes = one 3 · Routine asidea rule in a quarterof the hours (overa day or more) 4 · Incidentslink bursts sharinga host or addresswithin 30 minutes 5 · Score, rankΣ rarity × (1 +level ÷ 15), overdistinct rules rarity = ln(all bursts ÷ bursts of that rule): a rule that fires all day counts for little

Why this order: an attack is usually a short run of unusual alerts on a few connected machines. Routine activity, such as mail logins, antivirus updates or package downloads, fires all day on many machines. Rarity weights the first up and the second down. Linking by shared host or address keeps the steps of one attack together.

Measured, with the failures

The data: the public AIT Alert Data Set (Landauer, Skopik and Wurzenberger, CC BY 4.0). It holds Wazuh and Suricata alerts from eight runs of a multi-step attack (scans, web attacks, cracking, a reverse shell, privilege escalation, DNS exfiltration) inside days of normal activity. An alert counts as attack-time if it falls inside one of the data set's labelled attack windows.

The method was fixed first. It was developed on one scenario (russellmitchell, the smallest). The kernel and the metrics were then committed (5cc52e6), and only after that were the seven others run, once (b996c20). The comparison is a severity-sorted queue, one group per rule ranked by its highest level, which is what many analysts start from.

ScenarioAlertsGroupsRank of the first attack groupAttack-time alerts in top 10Attack phases in top 10Top 10 that are attack
Loading the committed results…

Each measure cell reads AlertTriage / severity queue: "1 / 3" means AlertTriage's first group is an attack, and the queue's first attack group is third. Green marks the better of the two, red the worse.

Where it wins

In every scenario the first group is an attack, against rank 2 to 4 for the severity queue. The top ten groups hold 81–100% of all attack-time alerts, against 7–10%. It finds more of the attack's phases in the top ten in all eight scenarios.

Where it loses

"Top 10 that are attack" is lower (10–20%, against 20–50%). That is the cost of its design. One attack becomes one incident, so the other top slots go to the next most unusual activity, which is usually benign. The severity queue spreads one attack across several rule groups and so scores higher on this measure.

What it misses

DNS exfiltration is missed in all eight scenarios. The data set's paper says that while it runs, an alert flags it in only two of them: in harrison and santos, Suricata marks the attacker's .biz domain. Version 1 reads those alerts and still ranks them below its top 10. In the other six, the traces are AMiner alerts raised after the exfiltration stops, outside the labelled attack time. The first network scans leave very few alerts and are also missed. Some scenarios also miss the web shell, the reverse shell or the cracking.

Caveat: the labels are by time. A routine event that happens inside an attack window counts as attack-time, so the attack-time measures can flatter both methods equally. One change was made after the test run. On an export covering less than 24 hours, no rule is set aside as routine any more, because over a few hours of an attack every rule would qualify. Every scenario covers several days, so re-running all eight with the change gives identical results, which is recorded in commit 03a3111. To re-run everything yourself: download ait_ads.zip and labels.csv from Zenodo, then run node tools/measure.mjs ait_ads.zip labels.csv russellmitchell fox harrison santos shaw wardbeck wheeler wilson.

The blueprint

triage.mjs

The whole method in one dependency-free file: normalise, bursts, routine noise, incidents, score. Its tests are themselves tested: a mutation gate breaks the code on purpose, one operator at a time, and every break must be caught. This page runs it byte for byte.

bin/triage.mjs

The command line: JSON lines (streamed, so large exports are fine), a JSON array, or CSV. It prints the ranked list, or JSON with --json. Options: --burst-gap, --incident-gap, --background-share.

tools/measure.mjs and results/

The measurement exactly as run, and its output for all eight scenarios. Anyone can re-run it and compare.

For your business

In one breath: your analysts start the day with a short ranked list of incidents, each one explained, instead of a queue of thousands of alerts. The attack is at the top, and the routine noise is set aside but still there if they need it.

Security operations lead

The first thing on the list is the most unusual connected activity, with every rule that formed it and the reason for its score. Analysts can check each ranking themselves, and nothing is a black box.

CISO

A triage step that is deterministic and measured on public data, with its failures published. It runs on your own machines, so your alert data, which describes your network, never leaves them.

Finance

MIT licence: no licence fee, and no per-seat, per-event or per-gigabyte charge. It adds no cloud bill, because it runs where your exports already are. We print no saving in money, because it depends on your alert volume and your team, which we have not measured.

IT and engineering

One file and a command line, Node 18 or later, no install. It reads Wazuh, Suricata, Elastic/ECS and CSV exports. Schedule it after your SIEM export, or open this page and drop a file in.

Against what you pay now

Correlation features in commercial SIEM and SOAR platforms are usually sold by data volume or seat, and run on the vendor's terms. This is a file you own and can read. Use it alongside your SIEM, as a second opinion on the queue, not instead of it.

The board

Lower risk of the real incident being buried. Low cost: no new service, nothing to renew. A clear limit: it ranks what your tools already raise, and finds nothing they miss. Reversible: stop running it and nothing else changes.

Security and data protection

No network calls and no AI-model calls. The page's security policy blocks it from contacting any other server, and the command line reads only the file you give it. Alerts can contain personal data such as usernames and IP addresses. That data stays on the machine you run it on, which keeps your existing processing within your own controls.

Deployment and roll-out

Week 1: run it daily on yesterday's export, beside your existing queue, and compare. Week 2: if it surfaces incidents sooner, make its list the morning starting point. The defaults (5-minute bursts, 30-minute incident links, routine at a quarter of the hours) can be adjusted, and each change is in plain sight.

Ownership, support and exit

MIT, © Simon Gant: yours to keep and change. Supplier: AI Native Solutions. Support and liability are agreed in each deployment's agreement. There is no service to cancel: it keeps working with nothing of ours behind it.

Limits, answered straight