skills/dotnet/maui/run-device-tests/Gen Agent Trust Hub

run-device-tests

Pass

Audited by Gen Agent Trust Hub on May 16, 2026

Risk Level: SAFE
Full Analysis
  • Command Execution: The skill executes standard development tools including dotnet, xharness, and xcrun. These tools are used to compile code and manage test execution on simulators and emulators. The script uses PowerShell's array-based argument passing, which is a secure method for executing external commands.
  • Local Script Integration: It relies on local utility scripts (e.g., Start-Emulator.ps1 and shared-utils.ps1) located within the repository's .github/scripts directory. This modular approach is common in CI/CD and automation workflows for managing environment setup.
  • Standard Tooling and Registries: The skill references the installation of the Microsoft.DotNet.XHarness.CLI tool via the official .NET global tool registry. This is the recommended method for obtaining this tool in the .NET ecosystem.
  • Input Validation: The main script uses PowerShell's ValidateSet attribute for parameters like Project and Platform, ensuring that only predefined, safe values are processed by the execution logic.
Audit Metadata
Risk Level
SAFE
Analyzed
May 16, 2026, 02:33 AM