LLMs don't know what they don't know: adding threat intel to my AI security tool A developer built SOC-GPT, an AI alert triage system that uses multi-LLM consensus voting (a local Llama model plus Groq's gpt-oss-120b), and added an AbuseIPDB enrichment layer that runs before the LLMs see an alert. The enrichment step supplies IP reputation data such as abuse confidence scores, Tor exit-node status and report counts, which turned a hedged 'SUSPICIOUS' verdict at 70% confidence on an SSH brute-force alert into a confident, context-grounded assessment. The developer designed enrichment to fail safe, skip private IPs and return a typed dataclass so future VirusTotal and GeoIP sources can be added without breaking the pipeline. Earlier this week I shipped SOC-GPT, an AI alert triage system using multi-LLM consensus voting local Llama + Groq's gpt-oss-120b . On the sample alert suite it hit 6/6 verdict accuracy. I was happy. Until I actually read the reasoning the LLMs were writing. For an SSH brute-force alert from 185.220.101.34 , the AI's reasoning was something like: "Multiple failed SSH attempts from a single IP may indicate malicious intent, but could also be a legitimate user with a forgotten password. Recommend escalation." That hedge isn't the AI being dumb. It's the AI being honest about what it doesn't know. It can't magically know that 185.220.101.34 is a known Tor exit node that's been reported 368 times in the last 90 days with a 100/100 abuse confidence score. Nothing in the alert payload told it. So it did what any reasonable analyst would do with no context — it hedged. Common Crawl doesn't include real-time threat intelligence. Even the best prompt engineering in the world can't compensate for missing facts about an IP that first appeared on abuse feeds two weeks ago. So I added an enrichment layer — a step that runs BEFORE the LLM, pulling structured external context into the alert before the AI ever sees it. Alert arrives via webhook ↓ Enrichment service queries AbuseIPDB for source IP ↓ Enrichment data merged into alert dict ↓ LLMs analyze alert + enrichment context together ↓ Verdict + action AbuseIPDB's free tier gives 1,000 IP checks per day, no credit card required. It returns abuse confidence 0–100 , country, ISP, usage type datacenter / residential / Tor exit , and how many times the IP has been reported. The enrichment service is a dataclass plus one async method: @dataclass class EnrichmentData: abuse score: int | None = None country: str | None = None isp: str | None = None usage type: str | None = None total reports: int = 0 is tor: bool = False is whitelisted: bool = False source: str = "none" def summary self - str: if self.source == "none": return "No external enrichment data available." parts = if self.abuse score is not None: parts.append f"abuse confidence score={self.abuse score}/100" if self.is tor: parts.append "tor exit node=YES" ... return " | ".join parts class EnrichmentService: async def enrich self, alert json: dict - EnrichmentData: source ip = alert json.get "source ip" if not source ip or self. is private ip source ip : return EnrichmentData try: return await self. query abuseipdb source ip except Exception as e: logger.error "Enrichment failed: %s", e return EnrichmentData fail safe — never block triage Three design choices worth calling out: Fail safe. If AbuseIPDB is down or rate-limited, enrichment returns empty data instead of crashing. The LLMs still get the alert — just without the extra context. Enrichment should degrade, not break the pipeline. Skip private IPs. 10.x.x.x, 192.168.x.x, 172.16–31.x.x are internal. AbuseIPDB has no data on them and querying wastes quota. A simple prefix check handles it. Typed dataclass, not a nested dict. The result is a real object with real fields. When I add VirusTotal file hash reputation and GeoIP next, they slot into new fields without breaking anything downstream. Same alert. Same LLMs. Same prompt. Only the context changed. Before enrichment: "Multiple failed SSH attempts from a single IP may indicate malicious intent, but could also be a legitimate user. Recommend escalation for human review." Verdict: SUSPICIOUS · Confidence: 70% After enrichment: "The source IP 185.220.101.34 is a known Tor exit node 100/100 abuse confidence, 368 reports in 90 days , targeting the root account with 15 failed attempts in 60 seconds. This matches a classic credential-stuffing pattern. Immediate IP block recommended." Verdict: MALICIOUS · Confidence: 96% Night and day. Most "make your LLM smarter" advice is about better prompts, longer context, chain-of-thought, fine-tuning. All real techniques. But for any domain where the AI needs real-world data to reason correctly — security, finance, medical, legal — the biggest leverage usually isn't making the model cleverer. It's making sure the model has the facts. Context cleverness. Repo: github.com/0mer-byte/soc-gpt https://github.com/0mer-byte/soc-gpt About me: I'm a 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 anywhere in Northern Virginia. If you work 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.