> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Leaked Credentials

Every secret Bijection issues has a fixed prefix and a fixed length. A secret
scanning provider can therefore recognize a Bijection secret that was
committed to a public repository and report it to Bijection, which revokes it.
GitHub's secret scanning partner program is the provider Bijection
implements. Bijection's enrollment with GitHub is pending, so GitHub may not
report Bijection secrets yet.

## What is recognized

| Secret | Looks like | What a report does |
| - | - | - |
| Team access token, personal token, deploy key, OAuth access token | `bb_` and 64 hex digits (a deploy key ends with one) | Revokes the token and the installation keys it issued |
| Signed-in session (CLI or console) access or refresh token | `bb_` and 64 hex digits | Ends that session and the team credentials it selected |
| CLI serialized token | 104 base64 characters starting `eyJ2MSI6ImJiX` | Revoked as the `bb_` token it carries |
| OAuth refresh token or authorization code | `bjor_` or `bjoc_` and 64 hex digits | Ends the [OAuth authorization](https://docs.bijection.com/development/platform-automation/oauth.md) and its access token |
| OAuth client secret | `bjos_` and 64 hex digits | Disables the secret; regenerate it in the console |
| Notification signing secret | `bjns_` and 64 hex digits | Removes the team's notification endpoint and fails its pending notices |

OAuth client IDs (`bjoa_…`) are public and are not reported. Installation admin
keys are short-lived and end when the credential that issued them is revoked.

## What happens on a report

Bijection looks up a reported secret only by the SHA-256 digest it already
stores. It never receives the secret into storage and never logs it. A live
secret is revoked at once, in the same transaction as an audit entry that
names the credential, application or team. The entry never contains the
secret. The team's [audit log](https://docs.bijection.com/operate/administration#audit-log) shows a
revoked token or deploy key as a token deletion performed by the system.
Reporting the same secret again changes nothing.

A revoked secret cannot be restored. Create a new token, deploy key or client
secret, or set the notification endpoint again, and remove the leaked value
from the repository and its history.

## Limits

* Only secrets issued by Bijection's hosted service are revoked. A secret from
  a self-hosted or local installation is reported as not recognized.
* The formats carry no checksum, so a provider may report strings that only
  look like Bijection secrets. Those are answered as false positives and
  change nothing.
* Bijection does not yet email the team when it revokes a reported secret.
  Watch the audit log.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.