Skip to content
Benchmarks

redact-secret · Report

API key secret (4b1d)

4b1d + exactly 38 [A-Za-z0-9] (42 in all), T1 as of 2025-04-16 (R3, provider staff); the key ID (Basic-auth username) is not claimed. The at-least-one-uppercase guard is product policy, not a provider fact.

  • ClickHouse Cloud
  • Detectors: clickhouse-cloud-api-secret
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-28
Beta.12 arrival family clickhouse-cloud-api-secret (#464, product redact-secret#971), contract in benchmarks/lib/beta8/464b.ts from the #860 handoff clickhouse-cloud.md. T1 as of 2025-04-16; gitleaks 8.30.1 clickhouse-cloud-api-secret-key (entropy 3) is mapped to this family, trufflehog 3.97.4 has no rule. Since the 4fb7882 re-pin the product detector is in the pinned registry, so the row maps to it.

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-28

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-09-28 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
^4b1d[A-Za-z0-9]{38}$

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 4b1d, then exactly 38 alphanumeric characters [A-Za-z0-9] (42 in total), mixed case; no separator or checksum. The key ID (Basic-auth username) is not claimed.
Basis
prefix T1 under R3 (a ClickHouse employee wrote in gitleaks PR #1826, merged 2025-04-16: "we specifically choose a prefix (4b1d...)"), body and alphabet T1 under R2 and R3 (the same author's rule 4b1d[A-Za-z0-9]{38}, corroborated by provider-owned Terraform examples since 2023-05 and a 2024 unit-test fixture, all 42 bytes). T1 as of 2025-04-16.
Issuance
not attempted; the one contradiction (a 2023 knowledge-base example of 39 bytes) is older than the staff statement, so R3 date order sets it aside.
Contract in core
detector-families.md (no row until the Beta.12 detector, redact-secret#971, is merged).

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
45
Left readable
0
Redacted too much
0
False alarms
0

45 fixtures: 19 expect a redaction, 26 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented19000
T2Tool-corroborated18000
T3Project policy8000

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 it451811
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it45002
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped45000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it451900

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
the uppercase guard is project policy (false-negative cost about 1e-9), not a provider fact; secrets supplied through the API's hashData have no fixed shape and are an accepted false negative.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
4b1d is valid hex, so the leading boundary is load-bearing; the product adds an at-least-one-uppercase guard as policy (removes hex digests starting 4b1d), which is not a provider fact. UUIDs containing -4b1d- are not keys.

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.
Peer scanner rules that target this family
ScannerRuleWhat the rule matches
gitleaks · rules 8.30.1clickhouse-cloud-api-secret-key4b1d + 38 alphanumerics

No rule maps to this family in flare-redact, openredaction, trufflehog.

45 of 45 rows

Fixtures in this family

45 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 API key secret (4b1d)
FixtureKind and evidenceredact-secret
clickhouse-cloud-api-secret-actions-envclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-bare-proseclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-bearer-headerclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-chat-pasteclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-compose-envclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-curl-user-literalclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-curl-user-varclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-dotenvclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-dotenv-key-id-pairclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-exportclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-json-api-keyclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-json-tokenclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-key-guidance-proseclickhouse-cloud · prose-mentionMust not flagT3 · Project policyQuiet
clickhouse-cloud-api-secret-key-shape-bareclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-key-shape-quotedclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-key-shape-unicode-crlfclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-python-requests-authclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-sdk-kwargclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-terraform-token-secretclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-trailing-hyphen-twinclickhouse-cloud · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-trailing-underscore-twinclickhouse-cloud · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-x-api-key-headerclickhouse-cloud · documented-format-literalMust redactT1 · Provider-documentedRedacted
clickhouse-cloud-api-secret-actions-secret-referenceclickhouse-cloud · templated-referenceMust not flagT3 · Project policyQuiet
clickhouse-cloud-api-secret-base64-run-mid-encoded-valueclickhouse-cloud · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
clickhouse-cloud-api-secret-body-37-twinclickhouse-cloud · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-body-39-twinclickhouse-cloud · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-docs-placeholders-placeholderclickhouse-cloud · documentation-placeholderMust not flagT3 · Project policyQuiet
clickhouse-cloud-api-secret-ellipsis-placeholderclickhouse-cloud · documentation-placeholderMust not flagT3 · Project policyQuiet
clickhouse-cloud-api-secret-env-reference-referenceclickhouse-cloud · templated-referenceMust not flagT3 · Project policyQuiet
clickhouse-cloud-api-secret-hyphen-in-body-twinclickhouse-cloud · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-key-id-alone-public-idclickhouse-cloud · public-identifierMust not flagT2 · Tool-corroboratedQuiet
clickhouse-cloud-api-secret-knowledge-base-39-byte-total-twinclickhouse-cloud · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-label-proseclickhouse-cloud · benign-lookalikeMust not flagT3 · Project policyQuiet
clickhouse-cloud-api-secret-leading-glue-twinclickhouse-cloud · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-leading-underscore-twinclickhouse-cloud · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-maskclickhouse-cloud · benign-lookalikeMust not flagT3 · Project policyQuiet
clickhouse-cloud-api-secret-prefix-onlyclickhouse-cloud · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
clickhouse-cloud-api-secret-referenceclickhouse-cloud · benign-lookalikeMust not flagT3 · Project policyQuiet
clickhouse-cloud-api-secret-sha1-digest-4b1d-encoded-valueclickhouse-cloud · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
clickhouse-cloud-api-secret-sha256-digest-4b1d-encoded-valueclickhouse-cloud · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
clickhouse-cloud-api-secret-short-bodyclickhouse-cloud · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
clickhouse-cloud-api-secret-truncated-near-missclickhouse-cloud · format-near-missMust not flagT2 · Tool-corroboratedQuiet
clickhouse-cloud-api-secret-uppercase-prefix-twinclickhouse-cloud · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
clickhouse-cloud-api-secret-uuid-with-4b1d-public-idclickhouse-cloud · public-identifierMust not flagT2 · Tool-corroboratedQuiet
clickhouse-cloud-api-secret-wrong-prefix-4b1c-twinclickhouse-cloud · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet

Sources

Researched 2026-09-28.

Documentation and code

  • github.com/gitleaks/gitleaks/pull/1826
  • github.com/redact-secret/redact-secret/blob/8b6a5fde52ecb4dfce13f09c7a947062d21483c7/docs/audits/evidence/860/clickhouse-cloud.md
  • github.com/redact-secret/redact-secret/blob/8b6a5fde52ecb4dfce13f09c7a947062d21483c7/docs/audits/evidence/860/issuance-research/clickhouse-cloud.md

Research log