skills/dotnet/skills/csharp-scripts/Gen Agent Trust Hub

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 dotnet CLI (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 like chmod +x to enable script execution on Unix-like systems.
  • External Package Management: The skill supports the #:package directive, 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
Risk Level
SAFE
Analyzed
May 11, 2026, 12:38 PM
Security Audit — agent-trust-hub — csharp-scripts