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, andxcrun. 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.ps1andshared-utils.ps1) located within the repository's.github/scriptsdirectory. 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.CLItool 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
ValidateSetattribute for parameters likeProjectandPlatform, ensuring that only predefined, safe values are processed by the execution logic.
Audit Metadata