desktop-brand-builder
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill clones the source code repository from the author's official GitHub repository (
github.com/QwenLM/qwen-code.git). This is a standard operation for building the application from source. - [COMMAND_EXECUTION]: The skill performs several command-line operations to prepare the environment and build the application, including
git clone,npm install, andnpx tauri build. These commands are executed within an isolated build directory. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied branding data (such as
brandId,logopath, andappName) which is interpolated into configuration and source files. - Ingestion points: User inputs for
brandId,logo,website,appName, andappIdvia the brand configuration. - Boundary markers: The
brand-create.mjsscript enforces regex validation for thebrandId(^[a-z][a-z0-9-]*$) and verifies that the providedlogopath exists and has a valid image extension. - Capability inventory: The skill can write to the local file system (
writeFileSync,copyFileSync) and execute shell commands viaspawnSyncandnpm. - Sanitization: The script performs manual HTML entity encoding for HTML templates and uses a combination of
JSON.stringifyand manual quote escaping for JavaScript string literals to prevent injection into the application's code. - [DYNAMIC_EXECUTION]: The skill generates a temporary
brand.jsonfile and executes a bundled Node.js script (brand-create.mjs) to dynamically patch thetauri.conf.jsonand bootstrap UI files based on user input. The script usesspawnSyncwith an argument array (rather than a shell string) to safely execute the Tauri CLI for icon generation, mitigating potential command injection from crafted file paths.
Audit Metadata