← Lab /Security & privacy

VeriChat autonomously detects and formally proves a hardware Trojan in an AES S-Box with 87.7% faithfulness

VeriChat can identify, simulate, and formally verify a covert key-leakage vulnerability in hardware designs via conversational interaction

Security & privacy arXiv 2 Jul 2026 Method Prototype evidence

Published as “VeriChat: An Agentic Conversational AI Assistant for Hardware Security Verification”

Why it matters

VeriChat provides hardware security engineers with a trustworthy, on-demand assistant that can both guide verification decisions and automatically run concrete EDA analyses, potentially accelerating pre-silicon security assessments.

Summary

VeriChat attains a Faithfulness score of 87.73% and a Counterfactual Robustness Rate of 92%, substantially outperforming eight leading proprietary chatbots and a Naive RAG baseline. It combines a multi-agent retrieval-augmented workflow with integrated open-source EDA tools to answer security-verification queries and execute syntax checking, synthesis, simulation, and formal verification on user RTL designs. Evaluations on a 150-query benchmark (crafted by 25 experts) show high Context Recall (76.40%) and Precision (89.85%) and strong user preference (Elo 2350). The paper does not provide an explicit limitations section.

What they found 2

  1. Strong counterfactual robustness

    “VeriChat achieved a Robustness Rate of 92%, while monolithic proprietary models proved highly vulnerable (Figure 7c).”

  2. Effective retrieval performance

    “VeriChat achieved a Context Recall of 76.40% and a Context Precision of 89.85%, far surpassing the Naive RAG baseline (23.00% and 20.31% respectively) As shown in Figure 7a.”

Caveats 1

  • During formal verification the system required multiple auto-retry attempts because the first assertion set "included overly broad assertions on internal Trojan signals (e.g., trojan_armed, trig_cnt) that trivially failed, and the second attempt retained an integrity check on data_out that also violated."

What’s new here 4

  • Introduces a multi-agent conversational framework (QUOA, HRA, GA) to reduce hallucinations via staged retrieval and verification.
  • Integrates open-source EDA tools (Icarus Verilog, Yosys, SymbiYosys) directly into the chat workflow for on-the-fly hardware analysis.
  • Builds a curated domain-specific knowledge base of 28,221 papers (≈61 GB) organized into 225 topic-specific vector stores.
  • Employs a hybrid retrieval strategy that fuses internal topic-partitioned vectors with real-time web search results.