brand

Warn

Audited by Gen Agent Trust Hub on Nov 29, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local Node.js scripts (e.g., scripts/inject-brand-context.cjs, scripts/validate-asset.cjs) to perform brand management tasks. These scripts are bundled within the skill and take user-provided arguments such as file paths.
  • [DYNAMIC_EXECUTION]: The skill implements a routing pattern that parses a subcommand from user input and dynamically constructs a file path to load (references/{subcommand}.md). Loading instructions or data from computed paths based on untrusted input is a risk factor, as it could be exploited via path traversal to access or execute unintended files if the agent's file access is not strictly jailed.
  • [INDIRECT_PROMPT_INJECTION]: The skill has a vulnerability surface for indirect prompt injection because it ingests data from external sources and assets to "inject brand context into prompts". Malicious instructions hidden in guidelines or asset metadata could hijack the agent's context.
  • Ingestion points: docs/brand-guidelines.md, assets/design-tokens.json, and the user-specified <asset-path> in validate-asset.cjs.
  • Boundary markers: No explicit XML-style delimiters or clear "ignore embedded instruction" markers are defined for the injected content.
  • Capability inventory: Direct command execution via node for multiple scripts, and file system access across docs/, assets/, and references/ directories.
  • Sanitization: The instructions do not specify any sanitization or validation of the content extracted from the guidelines before it is added to the prompt context.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 29, 2026, 12:56 AM