hdr-hdr10plus-tool
Pass
Audited by Gen Agent Trust Hub on Jun 27, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill's installation instructions include downloading and installing the
hdr10plus_toolfrom a public GitHub repository (https://github.com/quietvoid/hdr10plus_tool) usingcargo install. This is standard behavior for a utility that wraps a specific external binary. - [COMMAND_EXECUTION]: The Python script
scripts/hdr10plus.pyexecutes external tools (hdr10plus_tool,x265,ffmpeg, etc.) usingsubprocess.run(). It correctly uses list-based arguments andshlex.quote()for logging, which prevents shell command injection vulnerabilities. - [COMMAND_EXECUTION]: The
x265-encodesubcommand allows for an--extraparameter that accepts user-supplied strings which are split usingshlex.split()before being appended to the execution command. This allows passing additional flags to thex265binary safely without enabling shell execution. - [PROMPT_INJECTION]: The skill processes external video files and JSON metadata provided by the user, creating a surface for indirect prompt injection.
- Ingestion points: Path arguments for input video files and JSON configuration files provided via the CLI to
scripts/hdr10plus.py. - Boundary markers: None present; the script passes the input directly to the target binaries.
- Capability inventory: The skill can execute multiple external binaries with user-influenced arguments and write resulting files to the filesystem.
- Sanitization: The script uses
Pathobjects to handle file paths andshlex.split()to sanitize additional encoder flags, mitigating basic injection risks.
Audit Metadata