Log inGet a Demo

figma-file-cleanup

High · Risk 70

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

High

targets Perception

1 finding
#1Potential for indirect prompt injection via Figmahighindirect prompt injection70% confidence

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

Medium

targets Action

4 findings
#1Over-privileged file system accessmediumdescription mismatch85% confidence

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
#2Persistent file system modificationmediumresource abuse90% confidence

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
#3Undeclared dependency installation instructionsmediumsupply chain80% confidenceline 54

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
#4Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

Hygiene

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.