Airtable Personal Access Token
Detects Airtable personal access tokens, which consist of pat followed by a 14-character alphanumeric token ID, a literal dot, and a 64-character lowercase hexadecimal secret (82 characters total). Airtable bases frequently hold CRM, HR, operational, and customer PII records.
- Type
- regex
- Engine
- boost_regex
- Confidence
- high
- Confidence justification
- High confidence: Airtable personal access tokens follow a rigid 82-character structure (pat + 14 base62 ID + . + 64 lowercase hex) documented by Airtable and pinned identically by GitHub secret scanning, gitleaks, and TruffleHog.
- 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._-])(pat[A-Za-z0-9]{14}\.[0-9a-f]{64})(?![A-Za-z0-9._-])
Corroborative evidence keywords
airtable, AIRTABLE_API_KEY, AIRTABLE_PAT, api.airtable.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
AIRTABLE_PAT=pat000000000.shorthex— Token ID and secret segments shorter than required 14+64 lengthAIRTABLE_PAT=pat00000000000000.ZZZZZZZZZZZZZZZZ— Non-hex secret segment rejectedMigrate legacy key* credentials to Airtable personal access tokens.— 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
- Revoked Airtable PATs retained in historical automation scripts. Mitigation: Check token status via Airtable Builder Hub -> Personal access tokens.
- Synthetic 82-character example tokens in Airtable API guides. Mitigation: Excluded on every tier by template-exclusion.
References
- Airtable Web API Personal Access Tokens guide (pat<14>.<64 hex> format)
- gitleaks airtable-person-access-token rule