Back to skill

Security audit

vertical-spacing

Security checks for vulnerabilities and agentic risk

Overview

This skill is a focused design-spacing helper that reads layout values and only writes to Figma or files when explicitly asked.

Before installing, expect this skill to inspect layout values in the current design context and provide spacing recommendations. If connected to Figma, it can modify selected frame spacing or text trim only after an explicit request, so review any proposed write before applying it.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 114)May include surrounding context.

md
When running with Figma access, work against the selected `FrameNode`:

- **Read:** `layoutMode` (must be `VERTICAL` or `HORIZONTAL` — if `NONE`, this isn't an Auto Layout frame and gap/padding don't apply the same way; report that first), `itemSpacing` (= `gap`), `paddingTop`/`paddingBottom`/`paddingLeft`/`paddingRight`.
- **Also read `leadingTrim`** on any child `TextNode`s — this is the input to Workflow step 3. Don't compute a spacing verdict for a frame containing text without checking it.
- **Paragraph/list frames:** read `TextNode.paragraphSpacing` and `TextNode.paragraphIndent` directly when the node is a body-copy text node with multiple paragraphs — Figma exposes these as native text-node properties, not just Auto Layout `itemSpacing`, so check which one the content actually uses before recommending a fix. For a native list inside one text node, the gap between items is `TextNode.listSpacing` (Workflow step 5, `List_Item_To_Item_Gap`), not `itemSpacing`.
- **Verdict:** if `itemSpacing`/padding aren't multiples of the confirmed `grid-base`, flag each offending value with the nearest clean multiple.
- **Bound values:** if `itemSpacing` or a padding is bound to a variable (`frameNode.boundVariables`), name the variable and the nearest on-grid variable in the report. Don't replace a binding with a raw number.

Static analysis

No suspicious patterns detected.