dcg

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The validation script scripts/validate-dcg.sh contains a printed recommendation for a curl | bash installation command that downloads an install script from the author's GitHub repository. Additionally, the dcg update command documented in references/COMMANDS.md describes a self-update mechanism that downloads and installs binary updates from the vendor's infrastructure.
  • [COMMAND_EXECUTION]: The skill facilitates interaction with the dcg CLI binary to perform health checks (dcg doctor), dry-run command evaluations (dcg test), and rule explanations (dcg explain).
  • [PERSISTENCE]: Documentation in references/CONFIG.md and references/TROUBLESHOOTING.md describes the registration of a PreToolUse hook within the agent's configuration files (e.g., ~/.config/claude-code/settings.json) to enable intercepting shell commands before execution.
  • [INDIRECT_PROMPT_INJECTION]: The skill acts as a security enforcement layer to prevent accidental or malicious execution of destructive commands that may be embedded in untrusted data, using a modular rule pack system and AST-based scanning for heredocs and inline scripts.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 09:51 AM