brand-design-md
Warn
Audited by Gen Agent Trust Hub on Apr 19, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill uses
npx getdesign@latestin both theSKILL.mdinstructions and thescripts/getdesign-helper.mjsscript to dynamically download and execute code from the NPM registry at runtime. This introduces a supply chain risk as the agent executes unversioned remote code. - [COMMAND_EXECUTION]: The
scripts/getdesign-helper.mjshelper script usesexecFileSyncto run shell commands. On Windows, it invokescmd.exewith a manually constructed command string. The quoting logic inbuildWindowsCommanduses backslash-escaping for double quotes (\"), which may not be robust against all command injection vectors in the Windows shell environment, especially since the inputslugis not strictly validated before being passed to the shell. - [EXTERNAL_DOWNLOADS]: The skill fetches external content (design specifications) from the
getdesign.mdcatalog via thegetdesigntool. This involves network operations to retrieve markdown files that are then processed by the agent. - [PROMPT_INJECTION]: The skill creates an indirect prompt injection surface. It ingests untrusted markdown data from remote design specifications and uses that content to guide its code generation process. Maliciously crafted design files in the upstream catalog could contain instructions designed to influence the agent's output or behavior during the UI generation phase.
- Ingestion points: Remote
DESIGN.mdfiles fetched vianpx getdesign add. (scripts/getdesign-helper.mjs) - Boundary markers: Absent. The design content is read and directly used to extract design tokens without explicit delimiters or warnings to ignore embedded instructions.
- Capability inventory: The agent has the capability to write files and execute shell commands (
Bashtool) which could be targeted by a successful injection. - Sanitization: No sanitization or validation of the fetched design content is performed before the agent processes it.
Audit Metadata