扫描报告
5 /100
figma-agent
Unified Figma skill for OpenClaw. Reads design context via Figma Remote MCP and routes write/edit/create operations through Claude Code ACP sessions.
Figma Agent is a well-documented, transparent skill that bootstraps Figma MCP tokens by scanning known credential stores. All behavior—network calls, filesystem reads, token refresh, and config writing—is explicitly declared in SKILL.md with zero obfuscation or hidden functionality.
可以安装
Approve for use. No security concerns identified. The credential-scanning behavior is declared, scoped, and serves a legitimate bootstrap purpose.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 提示 | Credential file scanning for token bootstrap | scripts/token-scanner.mjs:23 |
| 提示 | OAuth token refresh via Figma API | scripts/bootstrap-token.mjs:32 |
| 提示 | No dependencies | package.json:1 |
| 提示 | Config write only to OpenClaw locations | scripts/bootstrap-token.mjs:75 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | READ | ✓ 一致 | SKILL.md: requires env FIGMA_MCP_TOKEN; token-scanner.mjs:23-89 reads ~/.claude/… |
| 网络访问 | READ | READ | ✓ 一致 | SKILL.md: talks to mcp.figma.com/mcp via Remote MCP; bootstrap-token.mjs:30-52 r… |
| 命令执行 | NONE | NONE | — | No shell invocation found. All scripts are pure Node.js ESM modules with no subp… |
| 环境变量 | READ | READ | ✓ 一致 | SKILL.md requires env FIGMA_MCP_TOKEN; figma-mcp-cli.mjs reads FIGMA_MCP_TOKEN f… |
| 技能调用 | ADMIN | ADMIN | ✓ 一致 | SKILL.md declares full Figma read/write capabilities; write path routes through … |
| 剪贴板 | NONE | NONE | — | No clipboard access found |
| 浏览器 | NONE | NONE | — | No browser access; generate_figma_design HTML capture limitation documented in S… |
| 数据库 | NONE | NONE | — | No database access found |
13 项发现
中危 外部 URL 外部 URL
https://keepachangelog.com/ CHANGELOG.md:5 中危 外部 URL 外部 URL
https://semver.org/ CHANGELOG.md:5 中危 外部 URL 外部 URL
https://mcp.figma.com/mcp README.md:5 中危 外部 URL 外部 URL
https://img.shields.io/badge/License-MIT-green.svg README.md:9 中危 外部 URL 外部 URL
https://img.shields.io/badge/version-v0.1.0-blue.svg README.md:10 中危 外部 URL 外部 URL
https://clawhub.ai README.md:11 中危 外部 URL 外部 URL
https://img.shields.io/badge/ClawHub-skill-purple.svg README.md:11 中危 外部 URL 外部 URL
https://nodejs.org README.md:57 中危 外部 URL 外部 URL
https://help.figma.com/hc/en-us/articles/32132100833559 README.md:58 中危 外部 URL 外部 URL
https://developers.figma.com/docs/figma-mcp-server/write-to-canvas/ README.md:168 中危 外部 URL 外部 URL
https://api.figma.com/v1/oauth/token scripts/bootstrap-token.mjs:32 中危 外部 URL 外部 URL
https://figma.com/mcp scripts/figma-mcp.mjs:179 提示 邮箱 邮箱地址
[email protected] package.json:6 目录结构
9 文件 · 34.4 KB · 946 行 Markdown 4f · 477L
JavaScript 4f · 451L
JSON 1f · 18L
├─
▾
references
│ └─
figma-api.md
Markdown
├─
▾
scripts
│ ├─
bootstrap-token.mjs
⚠
JavaScript
│ ├─
figma-mcp-cli.mjs
JavaScript
│ ├─
figma-mcp.mjs
JavaScript
│ └─
token-scanner.mjs
⚠
JavaScript
├─
CHANGELOG.md
Markdown
├─
package.json
JSON
├─
README.md
Markdown
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
(none) | N/A | npm | 否 | No dependencies declared in package.json — uses only built-in Node.js modules (fs, os, path, fetch) |
安全亮点
✓ Zero dependencies — no supply chain risk
✓ All filesystem reads are explicitly declared in SKILL.md under Token management
✓ All network calls go to known Figma API endpoints (api.figma.com, mcp.figma.com)
✓ No obfuscation, base64, eval, or dynamic code execution
✓ No shell execution, subprocess, or remote script execution
✓ Token scanning is scope-limited to Figma tokens only (key includes 'figma' check)
✓ writeWithCheckpoint() safety pattern documented for write operations
✓ DRY_RUN flag provides safe preview before writes
✓ Clean separation: token-scanner.mjs handles file I/O, bootstrap-token.mjs handles network
✓ No hidden instructions in HTML comments or string literals
✓ AllowedTools mapping: Read→filesystem:READ, WebFetch→network:READ — matches inferred usage