# Leaked JFrog Identity Token? Revoke It and Audit Access

> JFrog identity token exposed on GitHub? Revoke it, check Artifactory and Xray activity and rotate CI credentials. Step-by-step guide.

Source: https://leakwatch.net/secrets/jfrog-identity-token

---

[LeakWatch](/)

[Product](/product)[Live feed](/leaks)[Guides](/secrets)[Blog](/blog)[Free scan](/)

1.  [Home](/)
2.  [Secrets](/secrets)
3.  JFrog Identity Token

Code & CI · Secret guide

# Leaked JFrog Identity Token: what to do in the first hour

High severityDetected onlyLast verified October 30, 2026 · 5 min read

A JFrog identity token authenticates a user or a service to the JFrog Platform, which includes Artifactory (binary repositories), Xray (security scanning) and related services. With it, whoever holds the value can act with the permissions of the account it was issued for: download private packages and container images, upload new artifacts, and, if the account is an administrator, change repositories and users. The main danger is a supply chain one. Build pipelines pull from these repositories, so a token that can write to them can plant code that your own servers will later run. Revoke the token first, then investigate what it did.

[Check your GitHub account for leaked secrets — free](/)

Provider

Jfrog

Severity

High

Impact

Source code and build access

Checked live by LeakWatch

No

## What a JFrog Identity Token looks like

Identity tokens and the older API keys are long strings of letters and digits with no fixed readable prefix that the detection rules rely on. The rules look at a run of 64 characters for an identity token, and a run of 73 characters for the API key variant, both assigned to a name that mentions the vendor:

```text
JFROG_TOKEN = "XXXXXXXXXXXXXXXX…"   64 letters and digits in a real value (masked)
```

Because the value has no recognizable prefix, the variable name is the clue: `JFROG_TOKEN`, `ARTIFACTORY_PASSWORD`, `JFROG_ACCESS_TOKEN`, or a similar name in a CI file. Do not confuse it with two siblings. The classic Artifactory API key starts with a fixed four-letter prefix and has its own guide, and the reference token, a shorter-lived pointer to a stored token, starts with another fixed prefix and has its own guide as well. A JWT-style access token is a long dotted string and is a different shape again. If the leaked file shows several of these, handle each one.

## How JFrog Identity Tokens get leaked

-   **Package manager configuration.** A `.npmrc`, `pip.conf`, `settings.xml`, `gradle.properties` or `.jfrog` configuration committed with the token used to reach a private repository.
-   **CI pipeline files.** A token written into a pipeline definition, or printed by a debug step that echoes the environment.
-   **Docker and Helm setup.** A registry login script for the JFrog container registry saved in a repository, or a Helm values file holding a pull secret.
-   **Build scripts.** Shell scripts that call the REST API with the token inline so that a deployment can upload build output.
-   **Shared snippets and tickets.** A curl command pasted into a chat, wiki page or issue to show a colleague how to download a package.

## What to do in the first hour

1.  **Identify the token.** Find the user or service it belongs to, and note which repositories and projects that account can reach. A token for an administrator is far more serious than one for a read-only service user.
2.  **Revoke it.** Sign in to your JFrog Platform (see the link below), open the administration area for access tokens and revoke the exposed one. Revoke before anything else.
3.  **Issue a replacement** with the narrowest scope and a short expiry, store it in your secret manager, and update the pipelines that used the old value.
4.  **Review the activity.** Look at the audit and access logs of the platform for the period since the exposure: logins, downloads of private packages, deployments and deletions. Pay attention to uploads of new versions of packages you publish, and to downloads from unfamiliar addresses.
5.  **Check what was created.** List the users, access tokens, repositories, permission targets and webhooks, and remove anything you did not set up.
6.  **Verify your artifacts.** If the token could write, compare recently published packages and images with your build records, and rebuild any that you cannot account for.
7.  **Clean up the code,** remove the value from the repository and from build logs. See [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github).

Not sure what else leaked from the same repository? [Run a free scan](/).

[Not sure what else leaked? Run a free scan.](/)

## Revoke it at JFrog

JFrog access tokens are managed from the administration area of your JFrog Platform, on your own instance or cloud subdomain, after you sign in with a user allowed to manage tokens. Open the section that lists access tokens, find the exposed one and revoke it. Users can also manage their own tokens from their profile. Revocation takes effect for new requests, but a person has not confirmed the exact menu wording for this guide, and the interface changes between versions, so if the page differs from this description, look for the section where tokens are listed, and follow the JFrog documentation for your version.

## How LeakWatch detects it

Two rules cover this family. The rule called Jfrog Identity Token looks for one of the words `jfrog`, `artifactory`, `bintray` or `xray` (in any letter case), then a short stretch of name characters, then an assignment sign such as `=`, `:` or `=>`, optional quotes or spaces, and finally exactly 64 letters and digits, followed by a quote, a space, a semicolon, a line break or the end of the text. The rule called Jfrog API Key works the same way but requires exactly 73 letters and digits. A value of another length, or one with no such word before the assignment, is not reported, and a plain secret pasted on its own line is missed. Both rules have a severity of **high**. This type is not checked live: LeakWatch does not send any request to JFrog with the value it found.

LeakWatch detects this format but does **not** check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.

## FAQ

Can an identity token be used to poison my builds?

If it has write access to a repository your builds pull from, yes. That is why you should compare recently published artifacts with your build records after revoking the token.

Does a token with an expiry date still need to be revoked?

Yes. Until the expiry date the token works for whoever holds it, so revoke it as soon as you know it was exposed, then issue a new one.

Is a token in a private repository safe?

Not necessarily. Collaborators, forks, build logs and cached copies can expose it. Replace it if the repository was ever public, or if you are unsure who can read it.

## Related

-   [Artifactory API Key](/secrets/artifactory-api-key)
-   [Artifactory Reference Token](/secrets/artifactory-reference-token)
-   [npm Access Token](/secrets/npm-access-token)
-   [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github)
-   [Which vendors leak most this week](/leaks/trends)
-   [All secret guides](/secrets)

[Get alerted next time a secret leaks — create a free account](/)

LeakWatch is not affiliated with Jfrog.

![Gabriel Diyan, founder of LeakWatch](/brand/Photo-Gabriel-Diyan.webp)

Gabriel Diyan (0xCr0c0)

Cybersecurity student, founder of LeakWatch. I built and run the scanner described here — the detection patterns, the false-positive classifier and the provider validators are mine. [More about who I am](/about).

[GitHub](https://github.com/Leakwatch-Scan) · [X](https://x.com/LeakwatchScan) · [LinkedIn](https://www.linkedin.com/in/gabriel-diyan-80a378375) · [GitHub (personal)](https://github.com/crocogab)

LeakWatch

Secrets leak into public commits every minute. This watches the forges for yours. Built and run by [Gabriel Diyan](/about), a cybersecurity student — [why LeakWatch exists](/about).

Scan

-   [Product](/product)
-   [Live feed](/leaks)
-   [Trends](/leaks/trends)
-   [API docs](/docs)
-   [CI/CD](/docs?tab=ci)

Read

-   [Blog](/blog)
-   [Secret guides](/secrets)
-   [Changelog](/changelog)
-   [About](/about)

Verify

-   [Security](/security)
-   [Privacy](/privacy)
-   [Terms](/terms)
-   [Legal](/legal)
-   [Contact](/contact)
-   [Status](https://status.leakwatch.net)

© 2026 LeakWatch

[GitHub](https://github.com/Leakwatch-Scan)[X](https://x.com/LeakwatchScan)
