dotnet-remote-testing
Warn
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes the C# script
scripts/remote-test.csusingdotnet run --file. This script serves as an orchestration layer that executes Docker commands, manages source staging, and runs build/test phases. - [DYNAMIC_EXECUTION]: The runner script dynamically generates a Dockerfile at runtime to add missing tooling (like
git) to the resolved base image. This involves usingUSER rootand executing system package managers (apt-get,apk,dnf, etc.) within the container context. - [EXTERNAL_DOWNLOADS]: The skill fetches configuration and metadata from external sources:
- Fetches .NET release index from Microsoft's official GitHub repository (
raw.githubusercontent.com/dotnet/core/...). - Fetches image tag metadata from Docker Hub (
hub.docker.com) for thecodebeltnet/ubuntu-testrunnerrepository. - [DATA_EXFILTRATION]: The skill intentionally accesses and copies the
.gitdirectory from the repository root into a staged workspace for the container. While used for versioning tools (MinVer, Nerdbank.GitVersioning), this involves reading sensitive repository metadata. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits an attack surface for indirect prompt injection:
- Ingestion points: Reads
testenvironments.json,.csprojfiles, and.slnfiles to determine test environments and parameters. - Boundary markers: Uses specific exit codes (0-16) to communicate state, but lacks explicit sanitization instructions for the agent when processing user-provided project paths or environment names.
- Capability inventory: The skill has the ability to write to the filesystem (staging), execute Docker commands, and make network requests.
- Sanitization: The skill relies on the bundled C# runner to handle execution logic, but the agent is instructed to pass user-supplied paths and environment names directly to the script.
Audit Metadata