redact-secret · Report
Access token (EAAA)
EAAA + exactly 60 [A-Za-z0-9_-] (64 in all); Square disclaims length validation and its examples disagree (EAAl + 59 is unclaimed), so the claim rests on the open Q8 ruling.
Research record
No research record for this family
snapshot-2026.10.06.4 has no family record for square:access-token, so its review state, format revision and format facts are not recorded here.
Not recorded
Format
Format not recorded
No format contract is recorded for this family in the pinned release.
Not recordedBenchmark dossier notes
- Shape
EAAA+ exactly 60[A-Za-z0-9_-](64 in all).- Basis
- T1 by example under R5 (the docs page that defines the token); corroborated by trufflehog
square, gitleakssquare-access-tokenand a Veles request (T2). Square says "don't use token length for validation" and its ObtainToken reference showsEAAl+ 59 (63 in all), so the claim is conditional on ruling Q8 and the conflicting widths stay unclaimed. - Issuance
- recommended, not attempted: #584. The maintainer runs
npm run issuance:squareon one key he issues in the Square developer dashboard (structure only, then revokes it). The result is pending issuance by the maintainer. - Contract in core
- detector-families.md (the Beta.14 detector
square-token, redact-secret#1107, onmainand unreleased).
In this benchmark
No fixtures in this family yet
Nothing in the corpus targets it, so nothing is measured and no coverage is claimed.
Not measured
Looks like it, but isn't
- Collisions
- Meta
EAA…Graph tokens (far longer), lowercaseeaaa…Docker digests, Base64 runs ofA, and JWT-format Square tokens (jwtkeeps them).
Scanner rules for this family
| Scanner | Rule | What the rule matches |
|---|---|---|
| flare-redact · rules 1.6.1 | square_token | sq0 + three letters + - + 22-43, or EAAA + 60 [A-Za-z0-9_-]; the sq0i?? alternatives are public application ids |
| gitleaks · rules 8.30.1 | square-access-token | EAAA or sq0atp- + 22-60 [\w-], entropy 2 (a wider window than EAAA + 60; sq0atp- is a scanner-only form) |
| trufflehog · rules 3.97.4 | square | EAAA + 60 [a-zA-Z0-9\-_+=] after the word square |
No rule maps to this family in openredaction.
No fixtures in this family yet
Nothing in the corpus targets it, so nothing is measured and no coverage is claimed.
Not measured
Sources
Documentation and code
- developer.squareup.com/docs/oauth-api/receive-and-manage-tokens
- github.com/redact-secret/redact-secret/blob/fa955d28eed59c70a9c4380ed130d1b82d439cd9/docs/audits/evidence/1014/square.md
- developer.squareup.com/reference/square/o-auth-api/obtain-token
Research log
- redact-secret/redact-secret#1014Research issue
- redact-secret/redact-secret#1107Research issue
- redact-secret/redact-secret-benchmarks#583Research issue
- redact-secret/redact-secret-benchmarks#584Research issue
- Final evidence, pinned to a commit/redact-secret/redact-secret/blob/fa955d28eed59c70a9c4380ed130d1b82d439cd9/docs/audits/evidence/1014/square.md