Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
sway-lib-std: most-fixed (14 issues). Treat as high-risk during review.
20 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: Flaws in the resolution of transaction senders and message recipients in functions like caller_address and msg_sender allowed identity spoofing and bypass of access control checks. This represents the most critical recurring risk in standard library integrations.
Bad Code Generation: Optimization passes in sway-ir (like memcpyopt) incorrectly optimized memory operations by failing to detect when pointers escaped or when FuelVM instructions invalidated available copies, leading to silent memory corruption and bad code generation.
Memory Corruption: Low-level memory copy operations (mcp) and dynamic buffer resizing during ABI encoding did not consistently enforce safety bounds, risking out-of-bounds heap writes and heap overflows during complex serialization operations.