figma-bridge-doctor

Warn

Audited by Gen Agent Trust Hub on Oct 8, 2026

Risk Level: MEDIUMPERSISTENCECOMMAND_EXECUTIONDYNAMIC_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PERSISTENCE]: The skill provides a template and instructions for installing a macOS LaunchAgent (com.figma-maxxing.bridge-watchdog.plist) to run the figma-watchdog.sh script persistently in the background. This process polls for a signal file to automate UI interactions in Figma Desktop.
  • [COMMAND_EXECUTION]: The skill utilizes several shell utilities (kill, pkill, osascript, lsof, pgrep) to manage Node.js bridge processes and perform UI automation through macOS System Events. This allows the skill to terminate specific servers and interact with the Figma application menu.
  • [DYNAMIC_EXECUTION]: The daemon.mjs script dynamically locates the figma-console-mcp package within the user's npm cache by searching for the highest version and executes its entry point using node:child_process.spawn. This behavior is used to maintain a stable connection for the bridge plugin.
  • [CREDENTIALS_UNSAFE]: The daemon.mjs script generates a random bearer token and writes it to a plaintext file at ~/.config/figma-maxxing/mcp-direct-*.token to authenticate communication with its local HTTP proxy. While the file is created with 0600 permissions to limit access to the owner, it represents a local credential storage mechanism.
  • [EXTERNAL_DOWNLOADS]: The documentation describes using npx to fetch the figma-console-mcp package from the official npm registry, which is a well-known service. This is used as a recovery step to fix corrupted local installations.
  • [INDIRECT_PROMPT_INJECTION]: The skill accepts user-supplied Figma URLs and aliases as input for opening files and resetting bridge connections, creating an attack surface for indirect injection via malicious project names or URLs.
  • Ingestion points: URL_ARG in figma-bridge-reset.sh and URL/Alias arguments in figma-add.sh and figma-open.sh.
  • Boundary markers: None present.
  • Capability inventory: UI automation (osascript), process termination (kill), and file system writes.
  • Sanitization: figma-add.sh uses regular expressions to validate that the provided input string conforms to expected Figma URL patterns before registration.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 8, 2026, 08:06 AM