design-tokens

Pass

Audited by Gen Agent Trust Hub on Oct 22, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external files in the tokens/ directory and .claude/rules/ to guide its token generation process. This creates a surface where malformed or malicious design files could attempt to influence agent responses.
  • Ingestion points: tokens/*.json, .claude/rules/tokens-and-color.md, .claude/rules/typography-and-spacing.md.
  • Boundary markers: No specific delimiters or instructions are used to distinguish token data from agent instructions.
  • Capability inventory: Executes shell commands (ls) and Python scripts (contrast.py, validate_tokens.py).
  • Sanitization: Relies on a validation script (validate_tokens.py) which checks JSON validity and alias resolution, but does not explicitly filter for prompt injection patterns.
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands and Python scripts to verify the environment and validate token data.
  • Evidence: ls ${CLAUDE_SKILL_DIR}/../../../tokens, python3 ${CLAUDE_SKILL_DIR}/../../../scripts/contrast.py, and python3 ${CLAUDE_SKILL_DIR}/../../../scripts/validate_tokens.py.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 22, 2026, 04:52 PM