h5i-dev/h5i
An Axum-based Rust web framework with Lean 4-verifiable application kernels that run on servers, bare-metal embedded devices, and GPUs, plus integrated security testing.
What it solves
Bugs in web applications are costly, and proving correctness manually is hard. h5i tackles this by letting developers write application logic separately as a verifiable kernel, then formally proving its properties with Lean 4. It also brings security testing into the same workflow, with built-in red-teaming, replay of HTTP requests, and sandboxed AI agents to help audit and test.
How it works
The framework is built around a kernel-based architecture. You write your application logic independently from infrastructure, and h5i can translate the Rust logic into Lean 4 using a tool called Aeneas. It even generates specifications and proofs for common patterns like database schemas, authorization, and storage operations. The same kernel can then be run on different execution environments: as a regular Axum server on CPUs, on bare-metal embedded devices with a no_std HTTP/1.1 server, or on GPUs with CPU fallback.
Alongside the framework, h5i ships a CLI for building, verifying, debugging, and security-testing. Commands let you extract Lean models, run proofs, mutate code to test proof sensitivity, and perform web security checks. You can use browser automation, recon crawling, and replay requests with modifications. There's also a sandbox system to run AI agents like Claude in isolated environments, and a local dashboard to watch sessions.
Who it’s for
Developers building Rust web applications who want verifiable correctness and integrated security tooling. It's also useful for security engineers who want to run red-teaming or security regression tests against any web target — the security tools are framework-independent, so you don't need to adopt h5i-app to use them.
Highlights
- Formally verifiable application kernels with automatic Lean 4 specification generation
- Run the same kernel on servers, embedded devices, and GPUs
- Integrated CLI for red-teaming, security testing, and proof mutating
- Sandboxed AI agents for security auditing, with browser automation and dashboard UI
Related
- Project
- Project
- Project
- Dispatch
- Project