The skill lacks necessary tool constraints, performs unauthorized file system access, and encourages insecure execution of arbitrary code, creating significant risks for prompt injection and persistent data exfiltration.
Findings (6)
Content Injection
Hightargets Perception
The skill processes data from Figma files (e.g., node names, variable names, library metadata) and uses them to generate reports and action plans. If an attacker controls the Figma file content, they could inject malicious instructions into the agent's reasoning process.
const nodes = page.findAll(n => n.boundVariables != null ...);
Behavioural Control
Mediumtargets Action
The skill manifest lacks an 'allowed-tools' declaration, but the instructions require read/write access to the user's home directory (~/Downloads) and project root, which exceeds the scope of a Figma-specific cleanup tool.
Write a comprehensive markdown report to the project directory: [project-root]/figma-cleanup-audit.md
The skill instructs the agent to maintain a persistent 'cleanup tracker' file in the user's home directory (~/Downloads/design-system-cleanup.md), which persists state across sessions and could be used to track user activity or design system metadata.
Maintain a persistent cleanup tracker file at ~/Downloads/design-system-cleanup.md
The instructions guide the user to run 'npx figma-console-mcp' to fetch packages. This encourages the execution of arbitrary code from the npm registry without version pinning or integrity verification.
run `npx figma-console-mcp` once to fetch the package
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.