redact-secret · Report · Detector
Travis CI API tokens
Format evidence
- gitleaks 8.30.1
- trufflehog 3.97.4
- Reference 1
- Twin source Authorization: token header, token from travis token · observed 2026-09-24 · the provider documents the API token as generated by the travis CLI (travis token, travis token --pro) and sent in an Authorization: token header to api.travis-ci.org / api.travis-ci.com; the example is masked (xxxxxxxxxxxx) and no length or alphabet is stated. Context twins keep the token and remove the same-line Travis context, or rename the key to a Travis identifier name
Registry detector travisci-api-token since redact-secret#523 (#773, registry pinned at 3144bb3); authored under #259 directly as a context-gated registry contract. Travis CI states no token shape. Both pinned peers corroborate a 22-character alphanumeric token gated on a travis keyword: gitleaks 8.30.1 travisci-access-token (a case-insensitive travis keyword before an assignment operator, then [a-z0-9]{22} under (?i)) and trufflehog 3.97.4 travisci (a travis prefix within its keyword window, then \b[a-zA-Z0-9_]{22}\b). The contract freezes their intersection, [A-Za-z0-9]{22}, recognised only beside a same-line travis keyword, so positives score as policy. It also requires at least one letter and one digit, matching the product grammar; about 2% of uniformly random 22-character tokens have no digit and fall outside that claim. The underscore trufflehog admits is not claimed, and the underscore twin records that peer difference. Travis build, job and repository ids are numeric and commit SHAs are 40 hex characters, so they are public-id controls. .travis.yml secure: values are RSA ciphertext and are encoded-value controls.
What the run recorded, by group
| Group | Fixtures | Leaked or false alarms | Near-twins | Outcomes | Other scanners, same cell |
|---|---|---|---|---|---|
| Must not flag · Tool-corroborated | 11 | False alarmsat most 25.9%0 of 11 controls flagged | 11 quiet · 0 flagged |
| |
| Must not flag · Project policy | 18 | False alarmsat most 17.6%0 of 18 controls flagged | 18 quiet · 0 flagged |
| |
| Project policy · Project policy | 19 | Secret spans left readableat most 16.8%0 of 19 spans | Near-twins told apartat least 77.2%13 of 13 pairs | 19 redacted · 0 too much · 0 partly exposed · 0 missed |
|
- Fixtures
- 48
- Left readable
- 0
- Redacted too much
- 0
- False alarms
- 0
Fixtures for this detector
| Fixture | Kind and evidence | redact-secret |
|---|---|---|
travisci-api-token-actions-envtravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-context-1-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-context-2-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-context-4-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-context-8-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-context-base-1travis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-context-base-2travis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-context-base-3travis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-context-base-4travis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-context-base-5travis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-context-base-6travis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-context-base-7travis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-context-base-8travis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-curl-authorizationtravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-dotenvtravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-exporttravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-identifier-key-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-json-configtravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-sync-logtravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-token-shape-baretravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-token-shape-quotedtravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-token-shape-unicode-crlftravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-travis-whoamitravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-travispy-clienttravis-ci · documented-format-literal | Project policyT3 · Project policy | Redacted |
travisci-api-token-underscore-body-twintravis-ci · wrong-alphabet | Must not flagT2 · Tool-corroborated · twin | Quiet |
travisci-api-token-actions-secret-referencetravis-ci · templated-reference | Must not flagT3 · Project policy | Quiet |
travisci-api-token-artifact-digest-encoded-valuetravis-ci · benign-encoded-value | Must not flagT2 · Tool-corroborated | Quiet |
travisci-api-token-build-env-public-idtravis-ci · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
travisci-api-token-build-url-public-idtravis-ci · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
travisci-api-token-commit-sha-public-idtravis-ci · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
travisci-api-token-context-3-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-context-5-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-context-6-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-context-7-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-docs-token-placeholdertravis-ci · documentation-placeholder | Must not flagT3 · Project policy | Quiet |
travisci-api-token-env-example-placeholdertravis-ci · documentation-placeholder | Must not flagT3 · Project policy | Quiet |
travisci-api-token-env-reference-referencetravis-ci · templated-reference | Must not flagT3 · Project policy | Quiet |
travisci-api-token-label-prosetravis-ci · benign-lookalike | Must not flagT3 · Project policy | Quiet |
travisci-api-token-letters-only-stage-near-misstravis-ci · format-near-miss | Must not flagT2 · Tool-corroborated | Quiet |
travisci-api-token-long-token-twintravis-ci · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
travisci-api-token-masktravis-ci · benign-lookalike | Must not flagT3 · Project policy | Quiet |
travisci-api-token-missing-keywordtravis-ci · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
travisci-api-token-no-travis-context-twintravis-ci · missing-context-marker | Must not flagT3 · Project policy · twin | Quiet |
travisci-api-token-referencetravis-ci · benign-lookalike | Must not flagT3 · Project policy | Quiet |
travisci-api-token-short-in-prose-near-misstravis-ci · format-near-miss | Must not flagT2 · Tool-corroborated | Quiet |
travisci-api-token-short-token-twintravis-ci · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
travisci-api-token-token-guidance-prosetravis-ci · prose-mention | Must not flagT3 · Project policy | Quiet |
travisci-api-token-travis-secure-encoded-valuetravis-ci · benign-encoded-value | Must not flagT2 · Tool-corroborated | Quiet |