I'm 17, a high school senior, and spent the last few days building SOC-GPT — an AI-powered SIEM alert triage platform that runs on my laptop. The goal was to see if I could build something a real Tier-1 SOC team could actually use, on hardware I already owned, with zero cloud budget.

It mostly works. 6/6 verdict accuracy on my test alert suite.

But getting there required confronting a much bigger problem than "can I write Python" — one I think anyone building LLM-powered tools needs to understand before they ship.

The moment that changed the project

I had my local Llama 3.2 3B wired up to a FastAPI webhook. Everything looked great until I fed it this alert:

{ "rule_description": "ClamAV detected malware - Trojan.CryptoLocker", "severity": 15, "agent_name": "finance-ws-07", "raw_log": "clamd: /home/user/Downloads/invoice.pdf.exe: Win.Trojan.CryptoLocker-9872 FOUND", "notes": "Executable disguised as PDF. ClamAV signature match for known ransomware family." } 

Llama's response:

Verdict: BENIGN Confidence: 80% Action: AUTO-CLOSE (logged for review, no action) 

An active ransomware infection on a finance workstation. ClamAV had already matched the signature. The model confidently waved it through.

If this were production, the alert would have been silently archived. The ransomware would run. The company would be having a very bad day.

The temptation to fix the wrong thing

My first instinct was "let me improve the prompt." Longer system message. More detailed instructions. Few-shot examples.

That's the wrong fix.

You cannot prompt-engineer your way out of fundamental model limitations when the downside is catastrophic. A 3B-parameter model will always sometimes be confidently wrong. No amount of prompt tweaking turns a 3B model into GPT-4. And even GPT-4 sometimes gets security questions wrong.

The real fix is architectural: stop trusting the AI alone.

Fix #1: Multi-LLM consensus voting

I added a second LLM — Groq's openai/gpt-oss-120b, which is free and runs in the cloud at sub-second speeds. The consensus engine runs both models on the same alert in parallel, then votes.

async def analyze_alert(self, alert_json: dict) -> TriageDecision: results = await asyncio.gather( *[p.analyze_alert(alert_json) for p in self.providers], return_exceptions=True, ) counts = Counter(d.verdict for _, d in decisions) top = counts.most_common() if len(top) == 1 and top[0][1] == len(decisions): agreement = "UNANIMOUS" winner = top[0][0] elif top[0][1] > top[1][1]: agreement = "MAJORITY" winner = top[0][0] else: # Tie — pick more conservative verdict agreement = "SPLIT" tied = [v for v, c in top if c == top[0][1]] winner = max(tied, key=lambda v: VERDICT_SEVERITY.get(v, 0)) 

One critical design decision: conservative tie-breaking. If two models disagree 1-1 between benign and malicious, malicious wins. I'd rather have a human review a false positive than silently miss a real attack.

I fired the CryptoLocker alert at the consensus engine. Groq's larger model called it MALICIOUS at 96% confidence. The vote overrode Llama's bad call. The alert escalated.

That solved that specific case. But what if next time both models are wrong?

Fix #2: Deterministic safety rail

Here's the key insight: there's a whole class of alerts where I never want an AI deciding "benign," no matter how confident it is. If a rule contains "ransomware" or "trojan" or "privilege escalation," a human needs to look at it. Period.

This is not a thing to debate with an LLM. It's a rule.

CRITICAL_KEYWORDS = { "malware", "trojan", "ransomware", "rootkit", "backdoor", "exploit", "cve-", "rce", "reverse shell", "privilege escalation", "sudo to root", "data exfiltration", "credential dump", "mimikatz", "lateral movement", "c2", "command and control", } def route_decision(decision, rule_description: str = "") -> str: # SAFETY RAIL: critical keywords cannot be auto-closed critical_match = _has_critical_keyword(rule_description) if critical_match and decision.verdict == "benign": return f"ESCALATE [OVERRIDE: '{critical_match}' detected despite LLM benign verdict]" # ... rest of normal routing 

If both LLMs somehow miss a ransomware alert, this rule catches it. It's boring. It's deterministic. It can't be confidently wrong because it isn't making a judgment — it's enforcing a boundary.

The result

Running my 6-alert test suite through the new system:

Alert Single LLM Consensus + Safety Rail
Benign web traffic BENIGN ✓ BENIGN ✓
Data exfiltration SUSPICIOUS MALICIOUS → AUTO-BLOCK ✓
Failed backup BENIGN ✓ BENIGN ✓
CryptoLocker ransomware BENIGN (catastrophic miss) MALICIOUS → AUTO-BLOCK ✓
Privilege escalation SUSPICIOUS MALICIOUS → AUTO-BLOCK ✓
SSH brute force SUSPICIOUS MALICIOUS → AUTO-BLOCK ✓

From 2/6 correct to 6/6. The catastrophic miss is gone.

The lesson I keep coming back to

LLMs are powerful. They can also be confidently wrong in ways that destroy systems. The fix isn't "use a better model" — the fix is architectural:

  1. Don't trust a single AI for consequential decisions. Run multiple models and vote.
  2. Put deterministic rules around the AI, not just inside the prompt. Rules are boring but they don't hallucinate.
  3. Default to the cautious action on disagreement. Human review is cheap. A missed ransomware alert isn't.

This isn't SOC-specific. It's true for anything where "confidently wrong" is worse than "cautiously slow" — medical triage, financial decisions, content moderation, legal review.

The industry is learning this right now. I'm 17 — I don't have insight nobody else has. But building SOC-GPT made me understand it in a way no class could have.

The project

Repo: github.com/0mer-byte/soc-gpt

Stack: Python 3.12 · FastAPI · Pydantic · SQLite · Ollama (local Llama 3.2 3B) · Groq API (gpt-oss-120b) · Chart.js dashboard · pytest + GitHub Actions CI.

About me: Senior at Rock Ridge HS in Ashburn, VA. Taking CompTIA Security+ in December. Competing in CyberPatriot. Looking for data center / SOC internships for summer 2027 in Northern Virginia — if you're at AWS, Oracle Cloud, Equinix, Digital Realty, QTS, CoreSite, Vantage, HITT, M.C. Dean, or anywhere in the NoVA ecosystem, I'd love to connect.