csharp-scripts
Pass
Audited by Gen Agent Trust Hub on May 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- Command Execution: The skill facilitates the execution of C# code through the
dotnetCLI (e.g.,dotnet hello.cs). This is the primary function of the skill, allowing users to run single-file programs. It also uses standard system commands likechmod +xto enable script execution on Unix-like systems. - External Package Management: The skill supports the
#:packagedirective, which enables the installation of NuGet packages. This involves downloading dependencies from the official NuGet registry, a standard and expected practice for .NET development. - Trusted Documentation: The skill references official Microsoft documentation (learn.microsoft.com) for technical guidance, ensuring that the instructions align with established best practices for the .NET ecosystem.
- Temporary File Usage: For environments using older SDKs, the skill suggests using a temporary directory (
/tmp/csharp-script), which is a standard approach for isolating experimental code from the main file system.
Audit Metadata