dotnet-testing-private-internal-testing

Pass

Audited by Gen Agent Trust Hub on Mar 29, 2026

Risk Level: SAFE
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill references and recommends the installation of the "Meziantou.MSBuild.InternalsVisibleTo" NuGet package. It provides links to the official GitHub repository and documentation by Gérald Barré (meziantou.net), which is a well-known and reputable source in the .NET community for development tools.
  • [COMMAND_EXECUTION]: The documentation provides standard CLI commands such as "dotnet add package" to assist users in setting up the recommended unit testing dependencies. These commands are safe and standard practice for .NET development workflows.
  • [PROMPT_INJECTION]: The skill includes instructional triggers that activate its guidance when the user mentions specific .NET testing topics. These instructions are functionally constrained to the skill's educational purpose and do not attempt to bypass AI safety filters or exfiltrate context.
  • [SAFE]: The provided C# templates use standard testing patterns. The inclusion of a public key for "DynamicProxyGenAssembly2" is a standard requirement for using mocking frameworks like Moq or NSubstitute with internal types and is not a sensitive credential. All code samples, including the Reflection-based helper classes, are aligned with industry-standard practices for unit testing non-public members when refactoring is not immediately feasible.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 29, 2026, 05:29 AM