redact-secret · Report · Detector
Google OAuth client secrets
Format evidence
- google/osv-scalibr (Google-authored, R2 not applied)
- noseyparker
- CredSweeper
- Reference 1
- Reference 2
- Reference 3
- Reference 4
- Reference 5
- Reference 6
- Reference 7
- Reference 8
- Reference 9
- Reference 10
- Reference 11
- Reference 12
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
| Group | Fixtures | Leaked or false alarms | Near-twins | Outcomes | Other scanners, same cell |
|---|---|---|---|---|---|
| Must not flag · Tool-corroborated | 14 | False alarmsat most 21.5%0 of 14 controls flagged | 14 quiet · 0 flagged |
| |
| Must not flag · Project policy | 10 | False alarmsat most 27.8%0 of 10 controls flagged | 10 quiet · 0 flagged |
| |
| Must redact · Tool-corroborated | 16 | Secret spans left readableat most 19.4%0 of 16 spans | Near-twins told apartat least 67.6%8 of 8 pairs | 16 redacted · 0 too much · 0 partly exposed · 0 missed |
|
- Fixtures
- 40
- Left readable
- 0
- Redacted too much
- 0
- False alarms
- 0
Fixtures for this detector
| Fixture | Kind and evidence | redact-secret |
|---|---|---|
google-oauth-client-secret-bare-prosegoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-bearer-headergoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-chat-pastegoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-dotenvgoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-exportgoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-flask-configgoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-json-api-keygoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-json-client-filegoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-json-tokengoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-json-web-client-filegoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-key-shape-baregoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-key-shape-quotedgoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-key-shape-unicode-crlfgoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-sdk-kwarggoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-token-curlgoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-x-api-key-headergoogle · documented-format-literal | Must redactT2 · Tool-corroborated | Redacted |
google-oauth-client-secret-actions-secret-referencegoogle · templated-reference | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-angle-placeholdergoogle · documentation-placeholder | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-body-27-twingoogle · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
google-oauth-client-secret-body-29-twingoogle · wrong-length | Must not flagT2 · Tool-corroborated · twin | Quiet |
google-oauth-client-secret-client-id-public-idgoogle · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
google-oauth-client-secret-consent-url-public-idgoogle · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
google-oauth-client-secret-console-guidance-prosegoogle · prose-mention | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-dot-in-body-twingoogle · wrong-alphabet | Must not flagT2 · Tool-corroborated · twin | Quiet |
google-oauth-client-secret-ellipsis-placeholdergoogle · documentation-placeholder | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-env-reference-referencegoogle · templated-reference | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-environ-lookup-referencegoogle · templated-reference | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-label-prosegoogle · benign-lookalike | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-leading-glue-twingoogle · boundary-violation | Must not flagT2 · Tool-corroborated · twin | Quiet |
google-oauth-client-secret-lowercase-prefix-twingoogle · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
google-oauth-client-secret-maskgoogle · benign-lookalike | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-prefix-onlygoogle · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
google-oauth-client-secret-prefix-without-hyphen-twingoogle · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
google-oauth-client-secret-project-id-public-idgoogle · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
google-oauth-client-secret-referencegoogle · benign-lookalike | Must not flagT3 · Project policy | Quiet |
google-oauth-client-secret-short-bodygoogle · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
google-oauth-client-secret-truncated-marker-twingoogle · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
google-oauth-client-secret-truncated-near-missgoogle · format-near-miss | Must not flagT2 · Tool-corroborated | Quiet |
google-oauth-client-secret-underscore-separator-twingoogle · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
google-oauth-client-secret-x-run-placeholdergoogle · documentation-placeholder | Must not flagT3 · Project policy | Quiet |