Back to work

Threat-intelligence database

OPTIC / OPTICLab

A threat-intelligence database for AI agents. OPTIC reads 3,637 reports from six security vendors, stores the actors, malware and techniques they describe, and keeps the sentence behind every finding. Agents query it through OPTIC's own MCP server.

Screenshots

opticlab.net homepage headed Threat-intel database for AI agents, above an agent session where the OPTIC MCP server answers who_uses for PlugX with a quote from a Sophos report and its link
The opticlab.net homepage. An agent session asks the OPTIC MCP server who uses PlugX and gets back a vendor quote and link.
OPTIC against web search on 15 questions. Bar charts show total tokens per round, 5.4 million for OPTIC against 11.4 million for web search, and tool calls per round, 63 against 311. A split bar shows 160 supported links found only by OPTIC, 153 by both, and 50 only by web search
The benchmark section of the homepage. Two agents answered the same 15 questions, one through OPTIC and one through web search.
OPTIC UNC3886 threat model page with an executive summary on Juniper routers, Fortinet appliances and VMware ESXi and vCenter, a note that it was checked against the OPTIC database on Nov 30, 2026, and tags for 13 source articles and 1,658 source-pack artifacts
The UNC3886 threat model, one of five reports published on opticlab.net.
OPTIC architecture diagram
Vendor reports go through extraction into PostgreSQL. The public site and the MCP server both read from that database.

Problem

Threat reports name actors, malware, infrastructure and techniques, and say how they connect. An analyst who wants that structure has to read each long report and rebuild it by hand. OPTIC stores the structure in a database and keeps the source sentence for every finding.

Solution

OPTIC collects reports from six vendors: Unit 42, Sophos, Cisco Talos, Google/Mandiant, Microsoft Security and CrowdStrike. Code first finds what it can match exactly, such as ATT&CK technique IDs, CVE numbers, file hashes and known names. GLM 5.3 Flash then reads each report and returns the actors, malware, victims, techniques and relationships, with a quote for each item. Code checks every model answer against the report text before anything reaches PostgreSQL.

Data Flow

OPTIC extraction flow diagram
Report text becomes extraction JSON, then mention and relationship tables. Each finding keeps its source quote, and agents query the tables through MCP.

Design Decisions

Source Sentence for Every Finding

Every finding keeps the sentence it came from, so a reader can check a claim against the vendor's own words, date and link.

Provenance Labels

Each finding is labeled explicit, derived or inferred. 115,329 findings are stated in the report. 32,174 are inferred, mostly ATT&CK mappings of described behavior, and a reader should check them before relying on them.

Code Checks Every Model Step

Every name the model returns must appear in the report as the report spells it, and every quote must be real report text. If any model call fails, the whole extraction fails, so OPTIC never stores a half-finished one.

Open Snapshot

The PostgreSQL schema and a March 2026 database snapshot are on GitHub. The application code and MCP server are being prepared for open-source release.

Current Corpus

On November 30, 2026, OPTIC held 3,637 reports. Unit 42 published 978 of them, Sophos 787, Cisco Talos 666, Google/Mandiant 448, Microsoft Security 406 and CrowdStrike 352. The reports yield 164,721 findings, and 164,704 of them keep their source sentence.

The corpus also holds 34,729 relationships, 2,579 actors, 7,351 malware families, 3,315 CVEs and 782 ATT&CK technique IDs. The whole corpus was re-extracted with the current pipeline from November 23 to 28, 2026.

Benchmark Against Web Search

Two agents answered the same 15 pre-registered questions in five rounds. Each question asked which threat actors use a given tool or malware family. One agent queried OPTIC through its MCP tools, and the other searched the web. Both ran Claude Opus 5.5, and a separate checker judged every citation without knowing which side submitted it.

OPTIC used 5.4 million tokens against 11.4 million and made 63 tool calls against 311. It found 313 supported actor-to-tool links against 203. Its precision was 94.8% against 92.7% for web search, or 89.1% under the strictest reading. OPTIC was slower, at 37 minutes against 29.

Most of the token gap comes from web search re-reading the pages it fetched. Counting fresh tokens alone, OPTIC used 15% fewer. One question, about certutil, accounts for 27 of OPTIC's 110 extra links.

Published Analysis

Most readers will never query a database, so opticlab.net also publishes long-form reports written from the corpus. Five are live. Two are threat models for UNC3886 and UNC6201, groups the source reporting links to China. The others cover the Canvas extortion case, Pakistan-linked operations and Iran-linked operations. Each report links its source articles. The threat models mark which findings the sources state directly, which are modeled, and which are left out.

Measuring Extraction Quality

OPTIC picked its extraction model with a reviewed answer key of 36 articles, six from each vendor. In the clean run, Claude Haiku 5.5 scored 89.4 article-level F1 and GLM 5.3 Flash scored 88.4. On the 24 articles never used for tuning, both scored 88.0. Two runs of the same Haiku setup differed by 6 points on the tuning articles, which is more than the gap between the models. Haiku cost about six times as much, so OPTIC uses GLM 5.3 Flash.

Inferred ATT&CK mappings were the weakest data. In a hand-graded sample of 80, 41% were correct. On November 29, 2026, Claude Sonnet checked all 54,892 inferred mappings against their quotes, and OPTIC removed 22,735 of them. Across two runs, 83 to 86% of the remaining mappings are correct. Claude Opus graded that sample, so the figure may overstate the check.

GLM 5.3 Flash also missed actor-to-software links in sentences that list several tools. A Claude Sonnet link pass over every threat report added 2,995 links for about $295 at list price.

Analyst Tools Over MCP

OPTIC's MCP server is read-only and has five tools. actor_brief profiles one actor across vendors. who_uses lists the actors that use a malware family, tool, service or CVE. whats_new lists reports since a date. claim_evidence returns every quoted statement that links two named things. report_counts counts the reports per year or quarter that mention a set of names. Every answer cites vendor, date and URL.

Vendors track the same actor under different names. OPTIC joins those names into one cluster only when a curated alias or a quoted statement supports it. One APT29 brief condensed 41 reports, about 215,000 tokens, into about 1,150 tokens. On November 25, 2026, the repository passed 703 automated tests.

OPTIC actor_brief answer for APT29 listing the group's names at each vendor, report coverage by vendor, attribution with a source quote and link from each of four vendors, tools and malware, targeted sectors and countries, identity notes, and the latest reports
An actor_brief answer the local MCP server returned on 2026-11-25, rendered for this page. It drew on 47 reports from 4 vendors and quotes each vendor's attribution.