learning-from-corrections

Pass

Audited by Gen Agent Trust Hub on Apr 30, 2026

Risk Level: SAFEREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill utilizes figma_execute and use_figma to run dynamically generated JavaScript code within the Figma Plugin environment. While this is the intended method for node tree extraction, it involves runtime code generation and execution to interface with the external Figma tool.
  • [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it reads and processes data (such as layer names and property values) from an external Figma file. This data is used to inform the classification of "learnings" and to update local configuration files and code recipes.
  • Ingestion points: Figma node tree extracted via the Plugin API (Step 2), containing user-controlled or attacker-controlled layer properties.
  • Boundary markers: No explicit delimiters or instructions are used to sanitize or isolate the data extracted from Figma during the classification and patching steps.
  • Capability inventory: The skill can execute code in Figma and write to sensitive local files, including knowledge-base/learnings.json, active CSpec files, and repository "recipes".
  • Sanitization: No validation or sanitization of the Figma node data is performed before it is used to modify the local knowledge base or patch local code files.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 30, 2026, 08:01 AM