Skip to content
Benchmarks

redact-secret · Report · Detector

Google OAuth client secrets

  • 40 fixtures
  • Format evidence: T2 · Tool-corroborated
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14

Format evidence

Registry family (#1012 READY-T2; product redact-secret#1029, a registry detector since the 4fb7882 pin). The client secret of a Google OAuth client: with the public client id it completes authorization-code exchanges and refreshes tokens as that client. Installed-app secrets are treated by Google as non-confidential and web-app secrets as confidential; both share the prefix and the redaction default. T2: three dated references from three owners in two classes (Google's own osv-scalibr rule, provider-authored code, narrowed to exactly 28 in Google's commit; noseyparker; CredSweeper) state GOCSPX- + exactly 28 [A-Za-z0-9_-]; R2 would make the Google rule T1 but is not applied. Google publishes no format, and since mid-2025 the console shows only the last four characters. Google-owned repositories that commit installed-app secrets of the same width are issued values and are not counted. Excluded: unprefixed pre-GOCSPX secrets (context only), the public client id (<digits>-<id>.apps.googleusercontent.com), and the ya29. access and 1// refresh tokens, which are BLOCKED in the research record.

What the run recorded, by group

Detector views overlap, so their groups are never summed across detectors. Other scanners are reference values on the same inputs, in run order.
Groups of Google OAuth client secrets fixtures
GroupFixturesLeaked or false alarmsNear-twinsOutcomesOther scanners, same cell
Must not flag · Tool-corroborated14False alarmsat most 21.5%0 of 14 controls flagged14 quiet · 0 flagged
  • flare-redact at most 21.5%
  • gitleaks at most 21.5%
  • trufflehog at most 21.5%
Must not flag · Project policy10False alarmsat most 27.8%0 of 10 controls flagged10 quiet · 0 flagged
  • flare-redact at most 27.8%
  • gitleaks at most 27.8%
  • trufflehog at most 27.8%
Must redact · Tool-corroborated16Secret spans left readableat most 19.4%0 of 16 spansNear-twins told apartat least 67.6%8 of 8 pairs16 redacted · 0 too much · 0 partly exposed · 0 missed
  • flare-redact at most 98.9%
  • gitleaks at most 66.8%
  • trufflehog at most 100.0%
40 of 40 rows
Fixtures
40
Left readable
0
Redacted too much
0
False alarms
0

Fixtures for this detector

40 fixtures. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in Google OAuth client secrets
FixtureKind and evidenceredact-secret
google-oauth-client-secret-bare-prosegoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-bearer-headergoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-chat-pastegoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-dotenvgoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-exportgoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-flask-configgoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-json-api-keygoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-json-client-filegoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-json-tokengoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-json-web-client-filegoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-key-shape-baregoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-key-shape-quotedgoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-key-shape-unicode-crlfgoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-sdk-kwarggoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-token-curlgoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-x-api-key-headergoogle · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
google-oauth-client-secret-actions-secret-referencegoogle · templated-referenceMust not flagT3 · Project policyQuiet
google-oauth-client-secret-angle-placeholdergoogle · documentation-placeholderMust not flagT3 · Project policyQuiet
google-oauth-client-secret-body-27-twingoogle · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
google-oauth-client-secret-body-29-twingoogle · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
google-oauth-client-secret-client-id-public-idgoogle · public-identifierMust not flagT2 · Tool-corroboratedQuiet
google-oauth-client-secret-consent-url-public-idgoogle · public-identifierMust not flagT2 · Tool-corroboratedQuiet
google-oauth-client-secret-console-guidance-prosegoogle · prose-mentionMust not flagT3 · Project policyQuiet
google-oauth-client-secret-dot-in-body-twingoogle · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
google-oauth-client-secret-ellipsis-placeholdergoogle · documentation-placeholderMust not flagT3 · Project policyQuiet
google-oauth-client-secret-env-reference-referencegoogle · templated-referenceMust not flagT3 · Project policyQuiet
google-oauth-client-secret-environ-lookup-referencegoogle · templated-referenceMust not flagT3 · Project policyQuiet
google-oauth-client-secret-label-prosegoogle · benign-lookalikeMust not flagT3 · Project policyQuiet
google-oauth-client-secret-leading-glue-twingoogle · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
google-oauth-client-secret-lowercase-prefix-twingoogle · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
google-oauth-client-secret-maskgoogle · benign-lookalikeMust not flagT3 · Project policyQuiet
google-oauth-client-secret-prefix-onlygoogle · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
google-oauth-client-secret-prefix-without-hyphen-twingoogle · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
google-oauth-client-secret-project-id-public-idgoogle · public-identifierMust not flagT2 · Tool-corroboratedQuiet
google-oauth-client-secret-referencegoogle · benign-lookalikeMust not flagT3 · Project policyQuiet
google-oauth-client-secret-short-bodygoogle · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
google-oauth-client-secret-truncated-marker-twingoogle · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
google-oauth-client-secret-truncated-near-missgoogle · format-near-missMust not flagT2 · Tool-corroboratedQuiet
google-oauth-client-secret-underscore-separator-twingoogle · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
google-oauth-client-secret-x-run-placeholdergoogle · documentation-placeholderMust not flagT3 · Project policyQuiet