figma-integration
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands and a Python validation script (
validate_tokens.py) to verify the environment and validate design tokens. These commands use relative paths to access files at the project root level. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes untrusted data from design tokens and workflow files, which creates a potential surface for indirect prompt injection if those files are compromised.
- Ingestion points: Reads content from
${CLAUDE_SKILL_DIR}/../../../tokens/theming.json,${CLAUDE_SKILL_DIR}/../../../workflows/figma-integration.md, and other token JSON files. - Boundary markers: The instructions do not specify the use of delimiters or warnings to ignore instructions embedded within the design tokens or documentation files.
- Capability inventory: The skill has the capability to execute shell commands and run Python scripts based on the state of the ingested data.
- Sanitization: No explicit sanitization or validation of the content of the external files is performed before the data is used to influence the agent's behavior.
Audit Metadata