csharp-scripts
Pass
Audited by Gen Agent Trust Hub on Mar 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill relies on the
dotnetCLI to compile, run, and manage packages for C# script files. It also utilizes system commands likechmodto modify file permissions for execution on Unix-like systems andmkdirfor temporary project creation. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) because it ingests C# code or natural language intent to generate and execute scripts. If the agent is directed to process untrusted data (e.g., from a website or a PR) that contains malicious instructions, it may execute them as part of the script generation process.
- Ingestion points: The skill takes 'C# code or intent' as a primary input, which is then written to a
.csfile as shown in Step 2 of the workflow. - Boundary markers: The instructions do not specify any boundary markers or 'ignore embedded instructions' warnings for the input code.
- Capability inventory: The skill uses
dotnetfor script execution and package management,chmodfor changing file permissions, andmkdir/rmfor filesystem operations. - Sanitization: There is no mention of sanitizing or validating the input code or intent before it is written to the filesystem and executed via the .NET SDK.
Audit Metadata