he-video
Warn
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/record-browser-evidence.shexhibits a shell injection vulnerability by passing the$sessionvariable directly into an array that is later executed. If a user provides a session name containing shell metacharacters (e.g.,; rm -rf /), it could lead to arbitrary command execution. - [REMOTE_CODE_EXECUTION]: The skill's primary function involves executing a
--flow-scriptprovided by the user. While intended for local files, therecord-browser-evidence.shscript executes these files usingpython3,bash, or direct execution based on the file extension. This pattern facilitates the execution of arbitrary code if an attacker can influence the script path or content. - [COMMAND_EXECUTION]: The skill uses a dynamic runbook selection mechanism (
bash scripts/runbooks/select-runbooks.sh --skill he-video) which executes external shell scripts to determine further actions. This creates a dependency on external script logic that could be manipulated to alter the agent's behavior. - [COMMAND_EXECUTION]: In
scripts/promote-browser-evidence.sh, the script useslsandsorton file paths constructed from user-provided--slugand--scenarioarguments. While partially mitigated byset -u, these variables are used to construct paths and find files, which can be exploited for path traversal or unexpected file access if not strictly validated.
Audit Metadata