dd-instrument-test-optimization
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill downloads official Datadog instrumentation components from trusted sources.
- Fetches the GitLab auto-instrumentation script from the official Datadog GitHub repository (
github.com/DataDog/test-optimization-gitlab-script). - Downloads the Datadog Java tracer JAR from the vendor's short-link domain (
dtdg.co/latest-java-tracer). - References the official Datadog CI CLI binary for environments without Node.js.
- [REMOTE_CODE_EXECUTION]: Provides instructions for executing remote scripts within CI pipelines, protected by integrity checks.
- Includes a
curl | sourcepattern for the GitLab CI script which is secured by a hardcoded SHA256 checksum verification before execution. - Configures the Java agent using the
-javaagentflag with a downloaded JAR file. - [COMMAND_EXECUTION]: Executes standard package manager commands and network requests for verification.
- Installs official packages using
npm,pip,go install,bundle, anddotnet tool. - Uses
curlto perform a search for test events against Datadog's API endpoints (e.g.,api.datadoghq.com) to verify the setup. - [INDIRECT_PROMPT_INJECTION]: The skill processes CI configuration files (YAML, Jenkinsfile, etc.) as input data.
- While it reads and modifies these files, it treats them as structured configuration data for instrumentation rather than executable instructions for the agent itself.
- [SAFE]: Implements proactive security measures.
- Explicitly warns against hardcoding
DD_API_KEYand directs users to use CI provider secret management. - Uses version-pinned actions (e.g.,
datadog/test-visibility-github-action@v3).
Audit Metadata