Security context

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

multiversx/mx-sdk-rs
master @ 8c371f3
44
Fixes
0
CVEs
HIGH
Peak severity
56.3%
Coverage
Highlights
Auth Bypass: 11 prior fixes. Scrutinize any change in this area.
elrond-wasm: most-fixed (6 issues). Treat as high-risk during review.
34 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.

Cryptography: Signature verification APIs previously returned simple booleans on mismatch or deserialization errors instead of triggering immediate transaction abortion, leading to silent authentication bypasses. Enforcing immediate panic or VM abort on verification failure is critical.
Access Control: Token mappers lacked proper validation of transient pending states during initialization, allowing double-issuance of tokens or unauthorized overwriting of storage keys. Tracking transition states explicitly prevents re-entrancy and state corruption during token deployment.
Auth Bypass: The presence of dangerous VM APIs that allowed execution of transactions on a destination context on behalf of the original caller presented severe privilege escalation vectors, requiring their complete removal from the framework.