Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

0xmiden/miden-vm
next @ 473c5f0
23
Fixes
0
CVEs
HIGH
Peak severity
47.4%
Coverage
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
crates/assembly-syntax/src/library/mod.rs: most-fixed (3 issues). Treat as high-risk during review.
15 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Cryptographic Vulnerability: Zero-constraints on auxiliary-bus boundaries could be bypassed or canceled in the recursive verifier due to enforcement at dependent polynomial powers, leading to proof soundness failures. Fixing this required enforcing these boundaries at independent polynomial powers.
Cryptographic Verification: Detached pre-hash usage in signature verification allowed decoupling signature verification from the actual target message. Cryptographic integrity was established by strictly binding the EdDSA verification to the signed message directly.
Auth Bypass: Malicious libraries could bypass procedure invocation constraints by exporting uncallable procedure roots. Mitigations required adding explicit validation of procedure roots on library deserialization.