desktop-brand-builder
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes multiple shell commands to orchestrate the build process, including
git cloneto retrieve source code,bun installto manage dependencies, and various build commands likeelectron:dist:macto package the final application. - [EXTERNAL_DOWNLOADS]: The skill downloads the
qwen-codeproject from the vendor's official GitHub repository (github.com/QwenLM/qwen-code.git) to serve as the base for the branded build. - [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided fields such as
appName,appId, andcopyrightfor use in code generation. These inputs are interpolated into thebranding.tsfile of the target project. While basic character escaping is implemented, this pattern creates a theoretical surface for injection if the inputs are not carefully reviewed. - Ingestion points: User-supplied branding configuration fields in
brand.json(appName, appId, website, copyright). - Boundary markers: The script uses a helper function
tsStringto enclose the generated values in single quotes and escape existing single quotes and backslashes. - Capability inventory: The skill possesses the ability to perform file system writes and execute shell commands via
Bun.spawn. - Sanitization: The
brandIdis strictly validated using a regular expression, and branding fields undergo basic character escaping before being written to the application's source code. - [DYNAMIC_EXECUTION]: The bundled build script uses
createRequireto dynamically resolve and load thesharpimage processing library from the project's local dependency directory. It also usesBun.spawnto execute system-level icon generation utilities likeiconutilandxcrun actool.
Audit Metadata