← Mark Lu / Projects
Threat-Intel RAG

Ask MITRE ATT&CK.
Every sentence cited.

Every answer comes from 2,091 ATT&CK passages, and every sentence shows where it came from. When the passages can't back an answer, it tells you instead of guessing. Ask in English or Chinese.

Built on MITRE ATT&CK v19.2. Check any answer on attack.mitre.org ↗

Checking the live system

It's live, so feel free to try a prompt injection. Questions are logged without IP addresses.

2Recorded examplesReal evaluation questions from the recorded run. Each one tests a specific risk; pick one to see how the system handled it.
3How it works
  1. Understand the question. Revoked technique IDs are rewritten to their replacements; named IDs and the intent (what is it, detect, mitigate) are found.
  2. Retrieve. BM25 keyword search and multilingual dense search (bge-m3) each return 50 passages.
  3. Merge. Reciprocal Rank Fusion, with passages of a named technique first; the top 5 go to the model.
  4. Relevance gate. If even the best passage is far from the question, refuse without calling the model.
  5. Answer. The model returns claims as JSON, each citing passage IDs, or says the passages don't answer it.
  6. Citation check. Claims citing a passage that wasn't retrieved are dropped.
4Evaluation78 hand-written questions and 70 attacks per configuration. Full log on GitHub.

Retrieval is the bottleneck: answers cited the right passage exactly as often as retrieval found it. Faithfulness is judged per sentence by a model from a different family and checked against blind human labels. Read the evaluation log.