brand
Pass
Audited by Gen Agent Trust Hub on Sep 1, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The
scripts/inject-brand-context.cjsutility extracts brand voice and rules fromdocs/brand-guidelines.mdand formats them into a 'BRAND CONTEXT' block for injection into the agent's prompt. This creates a vulnerability where malicious instructions in the guidelines file could manipulate agent behavior. - Ingestion points:
docs/brand-guidelines.mdis processed byscripts/inject-brand-context.cjs. - Boundary markers: Although the output is structured with headers, it lacks explicit safety delimiters to prevent the LLM from obeying instructions found within the data.
- Capability inventory: The skill has the ability to write files to the
assets/directory and execute shell commands through thesync-brand-to-tokens.cjsscript. - Sanitization: There is no sanitization or validation of the text extracted from the markdown file.
- [COMMAND_EXECUTION]: The script
scripts/sync-brand-to-tokens.cjsexecutes an external Node.js script located at.claude/skills/design-system/scripts/generate-tokens.cjsusingexecFileSync. Additionally,scripts/extract-colors.cjsprovides instructions for running a Python script from theai-multimodalskill directory. These patterns introduce dependencies on code execution from paths outside the skill's own directory.
Audit Metadata