Security context

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

paritytech/smoldot
main @ 386a1f9
17
Fixes
0
CVEs
CRITICAL
Peak severity
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
src/verify/header_only.rs: most-fixed (3 issues). Treat as high-risk during review.
14 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.

Auth Bypass: Placeholder logic in the WebAssembly runtime executor mock originally accepted all Ed25519 and SR25519 cryptographic signatures, leading to a complete bypass of cryptographic verification.
Sandbox Escape: Reusing the Wasmtime Engine and Store across invocations without disabling post-MVP features or canonicalizing NaNs created vectors for sandbox escape and state contamination.
Auth Bypass: Flaws in mathematical formulas and missing threshold check controls allowed invalid or duplicate signatures to satisfy the justification verification logic.