Skip to content
Benchmarks

redact-secret · Report

Project API key (tgp_v1_)

tgp_v1_ + 43 base64url characters; a deprecated legacy key population has an undocumented format and is not claimed.

  • Together AI
  • Detectors: together-ai-api-key
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT2 · Tool-corroborated
  • Dossier researched2026-09-29
Registry detector together-ai-api-key since redact-secret#867 (registry pinned at cfe2aec); graduated from a Beta.10 arrival family (#384, research #783), contract in benchmarks/lib/beta8/384d.ts. T2; no pinned scanner has a Together rule (betterleaks only, a gitleaks lineage). The arrival id together-api-key was renamed to the detector id.

Research record

From credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0. It describes the research on the format, not what any scanner or the product does, and not a support status.
  • Review stateDraft, not reviewed
  • Format revision1 · current
  • ResearchResearched
  • Researched2026-09-29

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-09-29 by automation, project maintainer. Project-maintained review is not independent validation. The family record at this release.

Format

Provider format research from credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0.

What it looks like

Descriptive pattern
^tgp_v1_[A-Za-z0-9_-]{43}$

Parts are shown as recorded. Evidence classes belong to the facts below; no class is assigned to a part.

Format facts

Open questions

No open question is recorded for this revision.

Benchmark dossier notes

From the provider dossier, as written. The evidence level above says how well the format is backed; a fact the dossier does not record is not shown.
Shape
prefix tgp_v1_ followed by 43 characters of [A-Za-z0-9_-] (50 in all), lowercase prefix, with identifier boundaries on both sides. A tgp_v2_ prefix is only a scanner negative; no source says a v2 exists. Recognised bare or in any context.
Basis
T2. No provider page or staff statement states the prefix, length or alphabet; the docs establish only issuance, the TOGETHER_API_KEY variable and the legacy population. The exact width rests on three peer rules from three owners: betterleaks; Kingfisher's native rule, added 2025-08-27 and replaced by a betterleaks alias only on 2026-08-21, so its own lineage (the earlier "Kingfisher only aliases it" was wrong; corrected by redact-secret#1013); and CredSweeper (2026-05-11). Four full-length samples from a public code search agree (#783). Together's own CLI redactor in together-py (2026-04-27) confirms the tgp_ prefix and a [A-Za-z0-9_-] body with no length. No pinned scanner has a Together rule.
Issuance
not attempted. The #783 checklist covers prefix, total length (expected 50), alphabet, project and expiry variants, and the legacy key.
Contract in core
detector-families.md, section Together AI and Tavily (#867). Legacy keys are not claimed.

In this benchmark

Fixture rows on the current run. Counts are for redact-secret in published · redact-secret 0.1.0-beta.14 mode.
Fixtures
56
Left readable
0
Redacted too much
0
False alarms
0

56 fixtures: 22 expect a redaction, 34 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T2Tool-corroborated44000
T3Project policy12000

Every scanner on the same fixtures

In run order. Counts are what each scanner recorded on this family's fixtures, whichever rules it has; a scanner with no rule for the family has nothing to report on it.

Counts per scanner on this family's fixtures
ScannerFixturesLeft readableToo muchFalse alarms
flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engineNo rule maps to it562020
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it56803
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped56000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it562200

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
No provider source states the length; three peer lineages and four samples back it, provider code backs prefix and alphabet only. Corroboration 4/4/1 against the 3/3/2 needed until Q-TG is ruled; otherwise one issued project key (checklist in #783).

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
tgp appears only in unrelated project names. The TOGETHER_BASE_URL variable, model names and 64-hex digests are benign. A pleno-dlp rule for a bare 64-hex Together key is a sibling shape, not a corroboration of this one.

Scanner rules for this family

Mapped by hand (reviewed 2026-09-30) from each scanner's pinned rule file, never from what a scanner found on the fixtures.

No peer rule maps to this family

None of the reviewed peer scanners has a rule that can match a credential of this family.

None mapped

56 of 56 rows

Fixtures in this family

56 rows, redact-secret's outcome on each. Rows that need a look come first (0), then the rest in corpus order. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in Project API key (tgp_v1_)
FixtureKind and evidenceredact-secret
together-ai-api-key-actions-envtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-chat-backtickstogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-cli-flagtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-compose-envtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-curl-bearertogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-docs-ellipsis-placeholder-documentation-placeholdertogether · documentation-placeholderMust not flagT3 · Project policyQuiet
together-ai-api-key-dotenvtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-exporttogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-files-upload-historytogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-js-clienttogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-json-configtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-key-shape-baretogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-key-shape-quotedtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-key-shape-unicode-crlftogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-openai-client-reprtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-openai-sdk-base-urltogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-pasted-keytogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-plus-in-body-twintogether · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
together-ai-api-key-python-environtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-python-togethertogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-router-logtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-tool-calltogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-uppercase-prefix-twintogether · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
together-ai-api-key-vercel-ai-sdktogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-yaml-configtogether · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
together-ai-api-key-actions-secret-referencetogether · templated-referenceMust not flagT3 · Project policyQuiet
together-ai-api-key-base-url-and-model-public-idtogether · public-identifierMust not flagT2 · Tool-corroboratedQuiet
together-ai-api-key-base-url-readme-prosetogether · prose-mentionMust not flagT3 · Project policyQuiet
together-ai-api-key-base64url-blob-encoded-valuetogether · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
together-ai-api-key-docs-ellipsis-placeholdertogether · documentation-placeholderMust not flagT3 · Project policyQuiet
together-ai-api-key-docs-key-placeholdertogether · documentation-placeholderMust not flagT3 · Project policyQuiet
together-ai-api-key-doppler-ref-referencetogether · templated-referenceMust not flagT3 · Project policyQuiet
together-ai-api-key-dot-in-body-twintogether · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
together-ai-api-key-embedded-leading-twintogether · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
together-ai-api-key-env-reference-referencetogether · templated-referenceMust not flagT3 · Project policyQuiet
together-ai-api-key-finetune-job-listing-public-idtogether · public-identifierMust not flagT2 · Tool-corroboratedQuiet
together-ai-api-key-hex-digest-encoded-valuetogether · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
together-ai-api-key-hyphen-delimiters-twintogether · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
together-ai-api-key-hyphen-separators-twintogether · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
together-ai-api-key-label-prosetogether · benign-lookalikeMust not flagT3 · Project policyQuiet
together-ai-api-key-long-body-twintogether · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
together-ai-api-key-long-body-twin-wrong-lengthtogether · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
together-ai-api-key-masktogether · benign-lookalikeMust not flagT3 · Project policyQuiet
together-ai-api-key-masked-display-public-idtogether · public-identifierMust not flagT2 · Tool-corroboratedQuiet
together-ai-api-key-prefix-guidance-prosetogether · prose-mentionMust not flagT3 · Project policyQuiet
together-ai-api-key-prefix-onlytogether · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
together-ai-api-key-prefix-only-near-misstogether · format-near-missMust not flagT2 · Tool-corroboratedQuiet
together-ai-api-key-referencetogether · benign-lookalikeMust not flagT3 · Project policyQuiet
together-ai-api-key-response-object-id-public-idtogether · public-identifierMust not flagT2 · Tool-corroboratedQuiet
together-ai-api-key-short-bodytogether · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet

Sources

Researched 2026-09-29.

Documentation and code

  • docs.together.ai/docs/api-keys-authentication
  • github.com/betterleaks/betterleaks/blob/main/cmd/generate/config/rules/togetherai.go
  • github.com/betterleaks/betterleaks/blob/6cf4f1a29160b68be7c6390599b9b773234e5a43/cmd/generate/config/rules/togetherai.go
  • github.com/mongodb/kingfisher/blob/82d050530cdef9af070b8f9a75701c9c27a948c3/crates/kingfisher-rules/data/rules/togetherai.yml#L8
  • github.com/Samsung/CredSweeper/blob/f21ab2f2553eea288a72273b9658cd297ab1d11f/credsweeper/rules/config.yaml#L1814-L1827
  • github.com/togethercomputer/together-py/blob/9c9c34e47686344b996eaf19a7c470f72dcdecd6/src/together/lib/cli/_track_cli.py#L205

Research log