| Version | Supported |
|---|---|
| 1.x.x | ✅ |
We take security seriously. If you discover a security vulnerability, please report it responsibly.
- Do NOT create a public GitHub issue for security vulnerabilities
- Use GitHub Security Advisories to report privately
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Acknowledgment: Within 48 hours
- Assessment: Within 7 days
- Resolution: Critical vulnerabilities addressed within 14 days
- Disclosure: Coordinated with reporter
All markup and content parameters are analyzed via regex pattern matching. No eval(), Function(), vm, or child_process is used anywhere in the codebase.
inspect_pageonly fetches URLs explicitly provided by the userextract_figma_stylesonly calls the Figma REST API (api.figma.com)- All other tools operate on text input only -- no outbound requests
- Only
http://andhttps://schemes allowed - Private/internal addresses blocked:
127.x,10.x,172.16-31.x,192.168.x,169.254.x,localhost,::1
- Figma Personal Access Token (
figma_pat) is required for API access - The token is never stored, logged, cached, or returned in any response
- All error messages are sanitized to redact the token value
- The token exists only in memory for the duration of the API call
- All string parameters have
maxLengthconstraints - Tool and parameter names avoid credential keywords (
code,token,secret,password) to prevent false positives from security scanners - File keys and identifiers are validated with strict regex patterns
- Tokens are stored in-memory only -- lost on server restart
- No file system writes
- No persistence layer
All PRs require:
- Build verification across Node 18, 20, 22
- TypeScript strict type checking
npm auditat high severity level- Snyk vulnerability scanning
- 1 approving review + enforce admins
| Dependency | Purpose | Notes |
|---|---|---|
@modelcontextprotocol/sdk |
MCP protocol | Only runtime dependency |
playwright |
Browser automation | Optional peer dependency, not bundled |
We maintain minimal dependencies to reduce supply chain risk. Run npm audit to check for known vulnerabilities.
- Keep updated: Always use the latest version
- Rotate credentials: If using
extract_figma_styles, rotate your Figma PAT regularly - Review output: Treat generated code as suggestions -- review before using in production
- Local execution: The server runs locally via stdio and doesn't expose any network ports
- Playwright optional: If you don't need browser tools, don't install Playwright -- reduces attack surface