Figma Personal Access Token
Detects Figma personal access tokens (figd_ prefix) and OAuth user tokens (figu_ prefix) followed by 40 to 48 URL-safe characters. A leaked token grants REST API access to unreleased product designs, FigJam architecture boards, design tokens, and organization member metadata.
- Type
- regex
- Engine
- boost_regex
- Confidence
- high
- Confidence justification
- High confidence: Figma personal access tokens use the vendor-specific figd_ prefix (and figu_ for OAuth tokens) with high-entropy 40-48 character bodies, attested by Figma developer docs, GitHub secret scanning, and gitleaks.
- Jurisdictions
- global
- Regulations
- Criminal Code Act 1995 (Cth)
- Frameworks
- CIS Controls, ISO 27001, NIST CSF, SOC 2
- Data categories
- credentials, security
- Scope
- narrow
- Risk rating
- 8
- Platform compatibility
- Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, CrowdStrike DLP: Unsupported, Palo Alto: Unsupported, Netskope: Unsupported
Pattern
(?-i)(?<![A-Za-z0-9_-])(fig[du]_[A-Za-z0-9_-]{40,48})(?![A-Za-z0-9_-])
Corroborative evidence keywords
figma, FIGMA_TOKEN, X-Figma-Token, api.figma.com, api key, api_key, apikey, access key, access token, auth token, authorization, bearer, conn str, connection string, connectionstring, cookie, credential, database, host, [object Object] (+37 more)
Proximity: 300 characters
Should not match
FIGMA_TOKEN=figd_shorttoken12345— Token body shorter than 40 charactersFIGMA_TOKEN=FIGD_shorttoken12345— Uppercase FIGD_ prefix and short body rejectedPass your personal access token in the X-Figma-Token header.— Documentation prose without a token valuetemplate example placeholder record identifier— Template/sample context should be excluded even when anchor words are present
Known false positives
- Expired Figma personal access tokens in design-system CI workflows. Mitigation: Check token expiration and scopes in Figma Account Settings.
- Placeholder figd_ strings in plugin SDK examples. Mitigation: Excluded on every tier by template-exclusion.
References
- Figma REST API Access Tokens documentation (figd_ personal access tokens and X-Figma-Token)
- Supported secret scanning patterns - GitHub Docs (Figma Personal Access Token)