rust-ffi
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a comprehensive guide for Rust FFI interop. It correctly emphasizes memory safety, panic containment using
catch_unwind, and the use of standard tooling like Miri and Valgrind to detect undefined behavior. - [SAFE]: Code examples demonstrate correct usage of
CStrandCStringfor string handling, which is a common source of memory issues in FFI. - [SAFE]: The documentation includes localized versions (Chinese and English) that are consistent with the technical content.
- [SAFE]: External tool references (bindgen, cbindgen, PyO3, jni, napi-rs, cxx) are standard, well-known libraries and utilities in the Rust ecosystem.
Audit Metadata