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.cs using dotnet 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 using USER root and 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 the codebeltnet/ubuntu-testrunner repository.
  • [DATA_EXFILTRATION]: The skill intentionally accesses and copies the .git directory 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, .csproj files, and .sln files 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
Risk Level
MEDIUM
Analyzed
Sep 30, 2026, 04:36 PM