brand-init
Warn
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions in
SKILL.mddirect the agent to run a shell command (bash scripts/brand.sh init ...) using user-provided values for--nameand--one-liner. This creates a command injection risk where a user could provide a string containing shell metacharacters (e.g.,;, backticks, or$()) to escape the provided quoting and execute unauthorized commands on the host system. - [COMMAND_EXECUTION]: The bundled script
scripts/brand.shperforms unsafe file manipulations. In itssetcommand, it uses thesedutility to update values (sed -E "s|^($key:).*|\\1 $value|") without sanitizing the$valueor$keyvariables. A malicious input containing theseddelimiter or other control characters could lead to arbitrary file modification or script execution within thesedcontext. - [COMMAND_EXECUTION]: The script lacks input validation for the
--outand--registerpaths, which are passed directly tomkdir -pand used for file redirections. These parameters could be manipulated to write files to unintended locations on the filesystem, bypassing the intended brand folder structure.
Audit Metadata