skills/dotnet/skills/dotnet-pinvoke/Gen Agent Trust Hub

dotnet-pinvoke

Pass

Audited by Gen Agent Trust Hub on Apr 21, 2026

Risk Level: SAFE
Full Analysis
  • Security Considerations for Native Interop: The skill provides instructions on how to call native code, which inherently involves managing memory and pointers. It correctly identifies risks like stack corruption and memory leaks, providing safe patterns like SafeHandle to mitigate them.
  • Reference to Trusted Packages: It suggests using Microsoft.Windows.CsWin32, an official Microsoft source generator, which is a recommended practice for Win32 interop.
  • No Malicious Patterns Detected: The skill does not contain any scripts or instructions that perform unauthorized network access, data exfiltration, or persistence.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 21, 2026, 04:14 PM