# facebookexperimental/MIRAI

Rust mid-level IR Abstract Interpreter

Repository: https://github.com/facebookexperimental/MIRAI
Canonical: https://ross.abutalabs.com/products/facebookexperimental-mirai
Language: Rust
License: MIT
License Family: permissive
Archived: true
Last push: 2024-08-22T01:00:21+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2857, "days_push": 742, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1011, forks 82 (observed 2026-08-28T04:03:13.164677+00:00)

## What it is
MIRAI is an abstract interpreter for Rust's mid-level intermediate representation (MIR) that performs static analysis to detect potential bugs and vulnerabilities in Rust code. Originally a Facebook project, it is now orphaned with ongoing maintenance happening at a fork (endorlabs/MIRAI).

## Use cases
- statically analyze Rust code for bugs before runtime
- detect potential panics and undefined behavior in Rust programs
- verify safety properties of Rust functions via abstract interpretation
- integrate formal static checks into Rust CI pipelines
- find unreachable code and suspicious patterns in MIR

## When to choose
- you want abstract-interpretation-based static analysis for Rust source code
- you need to catch runtime panics and contract violations at compile time
- you are researching Rust MIR-level program analysis

## When to avoid
- you need actively maintained tooling - prefer the endorlabs/MIRAI fork or alternatives like Prusti or Miri
- you need dynamic testing or fuzzing rather than static analysis
- you analyze languages other than Rust

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: linter, security, testing
- domain: developer-tools, security, programming-languages
- platform: rust, cli, windows
- tags: rust, abstract-interpretation, mir, static-analysis, bug-finding, orphaned, linux, macos

## Member repositories
- facebookexperimental/MIRAI (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:13.164677+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:50.487450+00:00, confidence not recorded.
  - readme: https://github.com/facebookexperimental/MIRAI (fetched 2026-08-28T04:03:13.164677+00:00, sha f255ed16065d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
