dcode-runner
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/run_dcode.pyexecutes thedcodeCLI and fallback runner scripts (e.g.,run_claude.py) usingsubprocess.run. The command is passed as an argument list, which effectively prevents shell injection attacks. - [INDIRECT_PROMPT_INJECTION]: The skill provides a surface for indirect prompt injection by reading workspace data via the
--prompt-fileand--session-fileflags and interpolating it into the prompt sent to thedcodeagent. * Ingestion points: File content is read from user-specified paths inscripts/run_dcode.py. * Boundary markers: There are no delimiters or system instructions used to isolate the ingested content from the rest of the prompt. * Capability inventory: The skill executes thedcodeCLI, which may have write access to the workspace depending on the configured role. * Sanitization: The skill does not sanitize or escape the content of the ingested files. - [DYNAMIC_EXECUTION]: The skill dynamically modifies the
sys.pathto load modules from local shared directories and resolves the paths of fallback runner scripts at runtime. It also allows the path of thedcodeexecutable to be customized via theDCODE_CLI_PATHenvironment variable.
Audit Metadata