dd-agent-install-linux

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFEREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONCREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill fetches and executes the Datadog Agent installation script from the official 'install.datadoghq.com' domain. This is the intended primary function for agent deployment.
  • [DYNAMIC_EXECUTION]: Downloads skill snapshots from the 'datadog-labs' GitHub repository to facilitate hand-offs between different agent skills. The skill name variable used in the download path is sanitized via regex before use.
  • [CREDENTIALS_UNSAFE]: Accesses local '.env' and '.env.local' files to load authentication tokens (DD_API_KEY and DD_APP_KEY). It uses shell built-ins to pass these keys via stdin to curl, preventing exposure in process listings (ps).
  • [COMMAND_EXECUTION]: Utilizes 'sudo' for system-level operations, including modifying configuration files in '/etc/datadog-agent/', restarting systemd services, and checking the agent status.
  • [INDIRECT_PROMPT_INJECTION]: Identified vulnerability surface where untrusted data could influence command execution.
  • Ingestion points: User-provided values for environment names ('DD_ENV') and host tags ('DD_HOST_TAGS') used during the direct install phase.
  • Boundary markers: Absent for the interpolation of tags and environment variables.
  • Capability inventory: Execution of shell scripts via 'bash -c' and 'curl | tar' operations.
  • Sanitization: The 'DD_SITE' variable is strictly validated against a whitelist of legitimate Datadog domains before being used in network requests.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 06:29 AM