Youssef Jedidi
← All work

2026

Hackathon prototype · 2nd place, ConUHacks X 2026

D3CISION: Ranking security alerts

A hackathon team’s triage prototype that groups related security alerts and shows analysts which group to open first, and why.

Role
Team member: ML pipeline and story views
Status
Hackathon prototype · 2nd place, ConUHacks X 2026
D3CISION analyst dashboard with ranked investigation stories and visible model drivers
Analyst dashboard. Ranked stories and their model drivers, on the challenge’s synthetic data.

Background

In a flat alert queue, analysts can’t see which events belong together or why one ranks first, so time goes to the wrong alerts.

My role

I wrote the Python pipeline (cleaning, the event model, SHAP explanations, grouping and story ranking) and the dashboard’s story views. Teammates built the app shell, storage and chat.

PIPELINE · run_pipeline.pymy codeshared with team00_clean.pyCleanparse timestampsseverity → 0–401_train_model.pyTrainXGBoost, 300 treesclass-weighted labels02_score_events.pyScore eventsprobability per eventSHAP: top 3 drivers03_story_grouping.pyGroup into storiesNetworkX, rules R1–R3connected components04_story_scoring.pyRank storiesscore = peak eventconfidence: heuristicmy-app/DashboardNext.js, shared buildactions simulatedInput: two challenge CSVs: 556 labeled events to train XGBoost and 344 unlabeled SOC events.Dashboard (mine): story stack, deep-dive view with audio briefing (DeepDiveModal.tsx), and shared (simulated) response state.Dashboard (teammates): app shell, storage and chat. Isolate and block actions are simulated.

My code: five Python stages

  1. Clean timestamps, severity 0–4
  2. Train XGBoost on 556 labeled events
  3. Score events probability, SHAP top 3 drivers
  4. Group into stories NetworkX, rules R1–R3
  5. Rank stories score = peak event
Next.js dashboard, sharedMine: story views, deep-dive with audio briefing. Team: app shell, storage, chat. Actions simulated.
Figure 1. Pipeline and ownership split. I wrote all five stages of run_pipeline.py plus the dashboard’s story views and simulated response state; teammates built the app shell, storage and chat.

Why a story takes its highest event score

A story takes the score of its strongest event, so one serious event isn’t diluted by the routine ones linked to it. Analysts review the ranking; response actions are only simulated.

pandas cleans the logs, XGBoost scores each event and SHAP names its top drivers, NetworkX links related events into stories, and a Next.js dashboard ranks them.

Python · pandas · XGBoost · SHAP · Next.js · TypeScript · React

EXAMPLE · STORY S087, USER a.chenR1 · 13 minR1 · 41 minEVT-00188 · 00:34:28Phish.DetectedLAP-004 · Mediumscore 0.44EVT-00192 · 00:47:47Signin.SuccessCorpNet · Infoscore 0.51EVT-00202 · 01:29:33TLS.SNI.MismatchWS-123 · Mediumpeak eventscore 0.6755 min apart, no direct edge: joined through EVT-00192STORY SCORE · RANKINGStory S087 · 0.67from peak event EVT-00202Peak event’s SHAP drivers explain the rankSEPARATE HEURISTICConfidence · 0.85Computed after penaltiesEDGE RULES · WITHIN 45 MIN03_story_grouping.pyR1same userlinks all three events in S087R2same external IP, plus a sharedhost, source or event typeR3same host and same source IPUnknown or blank values never link.Each connected component is a story,so events can join through a third.

Story S087 · user a.chenscore

  1. 00:34:28Phish.Detected0.44
  2. R1 · 13 min

    00:47:47Signin.Success0.51
  3. R1 · 41 min

    01:29:33TLS.SNI.Mismatch0.67
Score 0.67ranking · peak event
Confidence 0.85separate heuristic
Edge rules · within 45 min
R1
same user; links all three events in S087
R2
same external IP, plus a shared host, source or event type
R3
same host and same source IP

Unknown or blank values never link. Each connected component is a story.

Figure 2. Story S087: two edges under 45 minutes join events 55 minutes apart. Real output on the challenge’s synthetic dataset 1. Ranking uses the peak event’s score (0.67); confidence (0.85) is shown separately as a heuristic after penalties.

Where it stands

Our team placed second in the D3 Security Challenge at ConUHacks X 2026.

Built during the hackathon and never connected to a live SIEM or EDR. Its reported metrics include training rows, and the model files aren’t in the repository.

Links