dart-setup-ffi-assets
Warn
Audited by Gen Agent Trust Hub on Jun 12, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The documentation instructs users to execute
sudo apt install build-essentialon Linux systems, which requires administrative privileges to install the system-level C/C++ compiler toolchain. - [EXTERNAL_DOWNLOADS]: The skill provides a implementation pattern (Method 2) for downloading precompiled native library binaries (Dynamic Libraries) from a remote GitHub repository using
HttpClientat build time. - [REMOTE_CODE_EXECUTION]: Binaries fetched from external sources are registered as
CodeAssetobjects, which the Dart runtime then bundles and dynamically loads. Although the provided code includes MD5 integrity checks against a hardcoded lookup table, this pattern fundamentally facilitates the execution of remote native code. - [EXTERNAL_DOWNLOADS]: The skill guides the agent to add several Dart packages from the public
pub.devregistry, includingcode_assets,hooks,native_toolchain_c,record_use, andffigen.
Audit Metadata