skills/huiali/rust-skills/rust-ffi/Gen Agent Trust Hub

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 CStr and CString for 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
Risk Level
SAFE
Analyzed
Sep 15, 2026, 07:35 AM