dotnet-native-interop
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides documentation on standard .NET APIs (
LibraryImport,DllImport,NativeLibrary) used for native library interop. The examples provided are for common libraries likekernel32.dllandsqlite3, which are standard in developer documentation. - [COMMAND_EXECUTION]: The skill documents the use of
NativeLibrary.LoadandNativeLibrary.GetExport. While these APIs allow for the dynamic loading and execution of native functions, they are presented within the context of legitimate software development for resolving cross-platform dependencies. - [INDIRECT_PROMPT_INJECTION]: The skill defines patterns for code generation. It mitigates potential risks by explicitly warning against common pitfalls, such as improper string marshalling, GC collection of delegates, and incorrect data type mappings (e.g., C#
longvs C++long).
Audit Metadata