dotnet-testing-private-internal-testing

Pass

Audited by Gen Agent Trust Hub on Mar 12, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides C# code examples using the System.Reflection namespace to access and invoke private methods during unit tests. This is a standard technical procedure for testing legacy or complex codebases.
  • [EXTERNAL_DOWNLOADS]: The documentation recommends the use of the Meziantou.MSBuild.InternalsVisibleTo NuGet package. This is a well-known, open-source utility for managing assembly visibility in .NET, and its inclusion is relevant to the skill's purpose.
  • [SAFE]: The skill includes a long hexadecimal string in the InternalsVisibleTo examples. This string is the publicly documented public key for DynamicProxyGenAssembly2, which is required when using mocking libraries like NSubstitute with signed assemblies. This is not a sensitive credential.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 12, 2026, 12:15 AM