Found via code audit.
1. FFI panic = UB (HIGH) - Mutex .unwrap() in FFI-exported functions. Panic across FFI boundary is undefined behavior in Rust. Fix: Use .lock().unwrap_or_else(|e| e.into_inner()) or catch_unwind.
2. Unsafe transmute (HIGH) - Transmute in engine core without size/alignment validation.
Found via code audit.
1. FFI panic = UB (HIGH) - Mutex
.unwrap()in FFI-exported functions. Panic across FFI boundary is undefined behavior in Rust. Fix: Use.lock().unwrap_or_else(|e| e.into_inner())or catch_unwind.2. Unsafe transmute (HIGH) - Transmute in engine core without size/alignment validation.