← Lab /Security & privacy

Mjolnir discovers dozens of previously unknown RoT firmware and RTL bugs with high precision

The authors claim Mjolnir can automatically find and reproduce security-relevant vulnerabilities in root-of-trust firmware and RTL

Security & privacy arXiv 20 Nov 2026 Method Prototype evidence Threat model

Published as “Mjolnir: Finding and Reproducing Vulnerabilities in Root-of-Trust Firmware and RTL with Project-Grounded Agents”

Why it matters

The system can automatically surface real security bugs in critical RoT code, potentially reducing manual audit effort and improving firmware/hardware security before silicon release.

Summary

MJOLNIR automatically discovers and reproduces security-relevant bugs in root-of-trust firmware and RTL, confirming 64 previously unknown bugs across six open-source RoT projects. On Caliptra’s runtime firmware it achieves 83.3%-100% precision, reaching 100% precision with Gemini 3.8 Flash compared to 66.7%-78.6% for four single-agent baselines. It also finds 10 of 34 known bugs with Gemini 3.8 Flash and 17 with Gemini 4 Argon, outperforming the best baselines (7 and 12 respectively). The evidence is based on blind expert labeling and known-bug recall, but the review stage missed 8 of 18 known bugs and many findings appear only in a single scan, indicating some instability.

What they found 2

  1. Maintainers confirmed 64 previously unknown security-relevant bugs discovered by MJOLNIR.

    “maintainers have confirmed 64 of MJOLNIR’s findings as previously unknown security-relevant bugs: 37 across three models on Caliptra’s runtime firmware and 27 across single scans of the other five targets.”

  2. MJOLNIR achieved 100% precision on Caliptra runtime firmware with Gemini 3.8 Flash, far higher than baselines.

    “On Caliptra’s runtime firmware, it reaches 83.3%-100% precision across three models under blind expert labeling, including 100% on Gemini 3.8 Flash versus 66.7%-78.6% for four single-agent baselines on the same model.”

Caveats 3

  • Review stages wrongly dismissed 8 of the 18 known bugs, labeling them false positives or not exploitable.
  • Across five Flash runs, 16 of 25 location-matched issues appear in only one run, so repeated scans find more bugs than a single scan.
  • With Gemini 3.8 Flash, MJOLNIR’s review stages wrongly dismiss 8 of the 18 known bugs that its auditors find, labeling them false positives or not exploitable: 7 in initial review, which receive no PoC or further analysis, and 1 in final review.

What’s new here 4

  • Grounds each discovery, review, and PoC generation step in the project’s own threat model and design conventions.
  • Runs PoCs as native tests in the project’s build harness (Cargo, Bazel, Verilator) rather than in a generic sandbox.
  • Provides a multi-stage funnel (deduplication, skeptical adversarial review) that reduces false positives before execution.
  • Applies the same pipeline to both firmware (C/Rust) and SystemVerilog RTL without code changes.

Threat model stated by the source

Adversaryseeks to violate the guarantees that an RoT provides to the system above it
Capabilitycontrols every input that crosses the RoT’s external interfaces (mailbox commands, firmware images, fuse values, MCTP/PLDM messages, boot images, boot-services requests, ownership changes)
Assumescryptographic algorithms are secure; hardware outside each target behaves according to its specification; the code under analysis does not attempt to manipulate MJOLNIR (e.g., prompt injection)