brand
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from project documentation that could potentially contain malicious instructions intended to influence the agent's behavior.
- Ingestion points:
scripts/inject-brand-context.cjsreadsdocs/brand-guidelines.mdto build the agent's system prompt context. - Boundary markers: Extracted content is prefixed with
BRAND CONTEXT:but lacks explicit delimiters or instructions for the agent to ignore embedded commands within that data. - Capability inventory: The skill scripts have the ability to write to the filesystem (
sync-brand-to-tokens.cjs) and execute external Node.js scripts. - Sanitization: The script uses regex to extract specific fields (e.g., hex colors), which provides partial mitigation but remains vulnerable in descriptive text sections.
- [DYNAMIC_EXECUTION]: The skill performs cross-skill script execution using relative filesystem paths.
- Evidence:
scripts/sync-brand-to-tokens.cjsusesexecFileSyncto execute a script located at a computed path in a siblingdesign-systemskill directory (../../design-system/scripts/generate-tokens.cjs). - [COMMAND_EXECUTION]: The test suite executes shell commands to verify functionality.
- Evidence:
scripts/tests/test_sync_brand_to_tokens.pyusessubprocess.runto call the Node.js interpreter for integration testing.
Audit Metadata