Verification Facade: Masquerading Insecure Cryptographic Implementations as Verified Code
Shows that hax, a Rust-to-F* verification pipeline used for ML-DSA/ML-KEM work with Signal, can pass proofs while hiding semantic gaps; demonstrates five exploits.
Schemes: ML-DSA, ML-KEM, Ed25519, ChaCha20, hax
Findings (quotes checked against the source text)
-
Hax's Rust-to-F* translation can diverge from Rust semantics, so a verified proof may not cover the security property it appears to cover.
we identify three classes of semantic gap between the Rust source and the F* verification target: translation infidelity, where pipeline transformations distort security-relevant semantics
-
Five proof-of-concept exploits against ML-DSA, ML-KEM, Ed25519 and ChaCha20 pass compilation, functional tests and F* extraction with no warnings while hiding a security gap.
Every exploit meets a strict criterion: the Rust code compiles, passes functional tests, and extracts to F* without warnings, while harboring a security gap invisible to testing.
-
Unverifiable trust boundaries arise where operations are axiomatized without postconditions, and escape hatches can inject unproven facts into the verification context.
unverifiable trust boundaries, where operations are axiomatized without postconditions; and specification gaming, where escape hatches inject unproven facts into the verification context
-
The authors name the phenomenon a verification facade: verification that is performed but covers less than it appears to cover.
We call the resulting phenomenon a verification facade: verification that is performed but covers less than it appears to cover.
For builders
Do not treat a passing formal proof of a PQ implementation as evidence of its security; audit the extraction model and trust assumptions separately.
Limits
Abstract-only source (full text not read); the exploits are not reproduced here, and the findings target hax's current pipeline, not PQ schemes themselves.
Topics: implementation-sidechannel cryptanalysis sig-lattice kem standards-policy