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 like kernel32.dll and sqlite3, which are standard in developer documentation.
  • [COMMAND_EXECUTION]: The skill documents the use of NativeLibrary.Load and NativeLibrary.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# long vs C++ long).
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 17, 2026, 07:31 AM
Security Audit — agent-trust-hub — dotnet-native-interop