TL;DR

  • 35 of 893 tested credentials still worked, across 33 Jamf Cloud tenants. The oldest had been public since 2018.
  • Two could run code and wipe entire fleets. One of them managed 17,067 Apple devices and minted bearer tokens valid for 31 years.
  • 21 were revoked over the following six weeks. 14 are still valid.

In October 2025, someone pushed a Jamf Pro API client ID and client secret to a public GitHub repository. Jamf Pro is the most widely used dedicated Apple device management platform, and that pair is a key to its management API. In October 2026, it still worked. It managed 17,067 Apple devices. The role behind it was called All Privileges Role, and its privilege list included Send Computer Remote Wipe Command. Whoever found that credential could have erased every one of them.

We found 34 more valid credentials. The oldest was a Jamf Pro user account that had been sitting in public for 2,897 days, just under eight years. That first credential is dead now. We told its owner, and it was dead three days later.

This did not begin as Jamf research. We were analyzing publicly leaked secrets for a customer and found credentials for an MDM platform. That's how MDM went onto our research list, and Jamf Pro was the first platform we looked at. We started with one question: how many organizations manage Apple fleets with Jamf Pro credentials sitting in public GitHub repositories or Docker Hub images?

What is Jamf Pro?

Jamf Pro enrolls Macs, iPhones, and iPads, pushes configuration profiles, installs packages, runs scripts as root, and holds FileVault recovery keys where escrow is enabled. In Jamf Cloud, administrators reach all of it through an API on a per-customer hostname, <tenant>.jamfcloud.com.

That API is the management plane for every device in the fleet. A credential to it exposes the fleet and, depending on the role attached to it, what runs on every Mac in the organization.

Jamf Pro accepts two kinds of API credentials. An OAuth API Client is a client_id and client_secret pair. A Basic auth account, the older of the two, is an ordinary Jamf Pro user account whose username and password are exchanged for a token. Both mint the same kind of bearer token, so authentication looks identical from outside.

How a leaked credential becomes fleet access

A Jamf credential alone tells you nothing about its own power. The token that opens that 17,067-device fleet looks exactly like the one that opens a two-device test tenant. The difference is in their scopes.

An OAuth access token is a JWT, and its decoded payload names the role the credential holds:

"scope": ["api-role:8"]

The token endpoint hands back the same scope as a space-separated string, so reading it does not even require decoding the token. The integer is not a severity level. It is a tenant-local role ID. One tenant's api-role:1 can be harmless; another tenant's api-role:1 can be powerful. To understand impact, you must map the role ID to that tenant's role definition.

Role metadata was readable for 3 of the 12 OAuth API Clients. Two of those three mapped to effective roles with confirmed destructive/admin-class privileges:

Effective role

Confirmed privilege categories

All Privileges Role

wipe, unmanage, lock, account/API-role admin, script/package write, profile/enrollment write, FileVault/recovery-key

JAMF_API_ADMIN

wipe, unmanage, lock, account/API-role admin, script/package write, profile/enrollment write, FileVault/recovery-key

Both of those credentials have since been revoked: a multinational technology and consulting company's fleet of 17,067 devices from the opening, and a healthcare provider's tenant of 636 Macs.

An unreadable role is an unknown role, not a limited one. Privileges stayed undetermined for the other nine OAuth clients and for all 23 Basic auth accounts, so two credentials with wipe rights is a floor over the three we could resolve, not a census of 35.

For 17 of the 23, the credential listed the tenant's scripts, policies, packages, configuration profiles, LDAP server configuration, and administrator accounts. Jamf Pro does not expose a user account's privileges the way it exposes an API client's scope, so that listing is what we have instead.

We listed those scripts; we did not open them. In Jamf, the privilege that returns the list is the privilege that returns the contents. And a Jamf administration script is exactly the kind of file these credentials leaked from.

Bearer token lifetime

A Jamf credential and the token it mints expire on different clocks, and only one of them is short.

Token lifetime

Credentials

59 seconds

8 OAuth

20 minutes

23 Basic auth

30 minutes

1 OAuth

60 minutes

2 OAuth

31.7 years

1 OAuth

The outlier is set to 999,999,999 seconds. Nobody chose thirty-one years; somebody likely filled a field with nines, and Jamf accepted it. Rotating a client_secret does not invalidate tokens already minted from it, so a token can outlive the rotation meant to kill it.

Basic auth has no such field: all 23 tenants issued a token on Jamf's documented 20-minute default. Rotation and expiry fail in opposite directions: rotation leaves already-minted tokens alive, and expiry leaves the secret or password, which mints a fresh token whenever anyone asks, for as long as the credential exists.

Finding Jamf credentials at scale

We extracted 893 candidate credentials from public GitHub commits and Docker Hub image layers for 236 distinct Jamf Cloud tenants. In our October 2026 validation pass, 35 still issued a bearer token across 33 distinct Jamf Cloud tenants. Twelve were OAuth API Clients, and 23 were Basic auth accounts; 32 came from commits and three from Docker image layers. Those 32 sit in 31 distinct files, because one file carried two. Two tenants had leaked two working credentials each, which is why 35 keys cover 33 tenants.

Most of those credentials returned at least aggregate device inventory. Across the 31 tenants where we could read it, 41,102 computers and 10,312 mobile devices were visible, 51,414 Apple devices in all.

Devices visible to each of the 33 leaked credentials, on a log scale. Nineteen of the 33 tenants had revoked by 25 November 2026; fourteen credentials were still live.
Devices visible to each of the 33 leaked credentials, on a log scale. Nineteen of the 33 tenants had revoked by 25 November 2026; fourteen credentials were still live.

How we validated

Validation stopped at token issuance, inventory count endpoints, and the role-metadata reads behind the privilege findings. No destructive or state-changing endpoint was called, and nothing was created, modified or deleted in any tenant. We re-tested each credential every week or two to establish whether it had been revoked, which is the measurement the last section of this post rests on, and re-testing stopped at publication.

We have no evidence that anyone else used these credentials, and no way to obtain any.

Where the credentials actually sat

Nineteen of the 31 files behind the GitHub-backed credentials were administrator task scripts, and the names say what they do: create_API_Role.sh, Asset Tag Naming UUID.sh, api-CreateDefaultComputerPrestage.sh, GetAssignedUser.sh, JamfMigration.sh. These are the everyday automations an MDM admin writes. The other twelve files were three config files, three pieces of application source, two sets of plaintext notes, a workflow export, a Terraform file, and two backups.

Those two backups are worth mentioning. One was a .env.backup, the other a Bitwarden vault export committed whole. We know how long each had been sitting there because the commit carries a date: fourteen months for the first, two years and ten months for the second. Both still issued a token when we tested them, and both still do today. Neither is a file anyone edits, reviews, or thinks about again, which is exactly why the credential inside stayed alive.

Nothing on Jamf's side ages a credential out either — the oldest we tested had been public for close to eight years and still minted tokens — which is the same property that makes leaked GitHub App private keys so durable.

By language, shell dominates: 15 of the 31 files, counting the four with no extension at all as what they are.

Python accounts for four, among them fetch_jamf_computers.py and one called Jamf Pro API Basic Commands Reference.py. The tail is the more interesting part. Two Swift files come from two separate apps built against the Jamf API (ManagedConfig.swift, AuthTokenViewModel.swift), and there is a Terraform main.tf, a PowerShell script, a Node module, a config.ini belonging to a card-reader utility, a README.md, and a .txt of notes. The last four are machine-readable config, two in JSON and two in dotenv format.

The credential is usually in the curl call

Fifteen of the 31 files call the Jamf API with curl, and in 13 of them the credential rides in the invocation itself. Eleven pass a base64 Basic blob to -H "Authorization: Basic ...". Two use curl -u user:password directly. The remaining two read it from a variable set earlier in the same file.

Three leaks, three different problems

We are not naming any affected organization. What follows are three of the 33 tenants, described by what the credential reached and what happened after we made contact.

A 17,067-device fleet

This is the credential from the opening. An OAuth API Client pushed to a public GitHub repository in October 2025, still issuing tokens twelve months later.

Its scope was api-role:8. In that tenant, role 8 was All Privileges Role, and its privilege list included Send Computer Remote Wipe Command, Send Computer Unmanage Command, script and package write, and FileVault recovery-key access. Jamf runs scripts as root on the devices a policy targets, and this role carried policy write as well, so script write here amounts to code execution across the enrolled fleet: 17,067 Macs. The token it minted expired 31.7 years out.

The repository had already been taken down by the time we looked, which changed nothing: the credential still authenticated. We reached the organization on 12 October 2026, and the credential was revoked by 15 October, our first re-test after disclosure.

A healthcare provider

636 Macs, and a second OAuth client mapped to a role called JAMF_API_ADMIN, carrying the same seven privilege classes as the first.

Two things make this worse than the device count suggests. FileVault recovery-key access on a healthcare fleet is the decryption key for every encrypted disk in it. And account administration lets a leaked credential mint further credentials, so revoking the one we found would not necessarily have closed the door behind it.

Disclosed on the same day as the first, and also revoked by 15 October.

A credential baked into a public container image

Not every leak is a commit. Three of the 35 came from Docker Hub image layers, where the credential sits inside a published, pullable image rather than in any repository's history.

One was a Basic auth account named admin, on a tenant managing 405 Macs and 149 mobile devices. The image carrying it was still anonymously pullable when we tested.

This one took the longest to fix: disclosed in October, revoked on 3 November, three weeks after the others. A container image has no commit to revert and no history to rewrite. The credential lives in a content-addressed layer, and the only remedies are rebuilding the image and rotating the credential.

Your leaked credential is someone else's fleet

Twenty-one of the 35 credentials are now revoked. Fourteen still work.

Which ones survived is not random. Before any of this, we had sorted the 33 tenants by how reachable they were. Some had a security.txt, a vulnerability disclosure page, or a named security contact. Some were reachable in principle and we still did not write: a marketing inbox or a compliance hotline is not meant for security disclosures. For the last eight we found no usable contact at all, and four of those we could not attribute to an organization.

The three groups did not behave alike. Of the thirteen tenants we contacted, twelve revoked. Of the twelve where a contact existed but we judged it unsuitable, six revoked without ever hearing from us. Of the eight we could not reach, one revoked.

We cannot prove we caused any particular revocation, and the middle group shows why: half of them fixed it with no contact from us. But the gradient runs with how reachable the owner was, not with how much the credential could reach. Seven of the eight tenants with no usable contact still have a working credential to their Apple fleet, and we have no way to tell them.

If you run a Jamf tenant, the useful steps are narrow. Treat a short token lifetime as no protection at all; what matters is the credential, not the token. Check whether any API role in your tenant grants script write, account administration or FileVault recovery. And publish a security.txt, so that the next person who finds your credential has somewhere to send it. None of this is news to Jamf, whose own guidance on protecting the MDM management plane already argues for narrowly scoped API roles and automation clients that carry no destructive privileges.

Monitor your public leaks

FAQ

What can an attacker do with a leaked Jamf Pro API credential?

It depends on the role attached to the credential, and it can go as far as wiping every managed device. In GitGuardian's research, two of the three OAuth API clients with readable roles carried wipe, unmanage, lock, account and API-role administration, script and package write, profile and enrollment write, and FileVault recovery-key privileges.

Jamf Pro runs scripts as root on the devices a policy targets. A role with script write and policy write therefore amounts to code execution across the enrolled fleet, which was 17,067 Macs in one case.

How long does a Jamf Pro bearer token last?

Tokens minted from a Basic auth account last 20 minutes by default, and all 23 Basic auth accounts in the study used that default. For OAuth API clients the lifetime is set per client: the 12 tested ranged from 59 seconds to 999,999,999 seconds, or 31.7 years.

A short token lifetime does not protect a leaked credential. The client secret or password can mint a fresh token for as long as the credential exists.

Does rotating a Jamf Pro client secret revoke tokens that were already issued?

No. According to GitGuardian's research, rotating a client_secret does not invalidate tokens already minted from it, so a long-lived token can outlive the rotation meant to kill it.

Rotation and expiry fail in opposite directions. Rotation leaves existing tokens alive, and expiry leaves the secret or password able to mint new ones.

How can you tell what a leaked Jamf Pro credential has access to?

For an OAuth API client, read the scope in the access token or in the token endpoint response. It names a role such as api-role:8, which is a tenant-local role ID and not a severity level, so it has to be mapped to that tenant's role definition.

An unreadable role is an unknown role, not a limited one. Jamf Pro does not expose a Basic auth user account's privileges the same way, so what the account can list, such as scripts, policies, and administrator accounts, is the only outside signal.

Where do Jamf Pro credentials leak most often?

Mostly in everyday administrator scripts. Of the 31 public GitHub files behind valid credentials, 19 were admin task scripts, and 15 of the 31 were shell. Fifteen files called the Jamf API with curl, and 13 of those carried the credential in the curl command itself, usually as a base64 Basic authorization header.

The rest sat in config files, application source, plaintext notes, a Terraform file, and two backups, including a committed Bitwarden vault export. Three more valid credentials came from public Docker Hub image layers.

Does deleting the repository or image fix a leaked Jamf Pro credential?

No. Removing the file does not revoke the credential. In one case the public repository had already been taken down, and the credential inside still authenticated to a 17,067-device fleet a year after it was pushed.

Container images are harder still. A credential in a Docker image sits in a content-addressed layer with no commit to revert, so the only remedies are rebuilding the image and rotating the credential.

Hunting Leaked PyPI Tokens: 62 Live, 125 Packages Exposed
We found 62 live PyPI tokens leaking on public sources, enough to push malicious code to 125 packages with 25,000 monthly downloads. We reported them to PyPI, which revoked every one. Here's how we decoded the macaroons and checked which still worked.
2,622 Valid Certificates Exposed: A Google-GitGuardian Study Maps Private Key Leaks to Real-World Risk
GitGuardian partnered with Google to answer: what happens when private keys leak? Using Certificate Transparency, we mapped about 1M leaked keys to 140k certificates. Result: 2,622 were valid as of September 2025, exposing major organizations. Our disclosure campaign achieved 97% remediation.
High-Impact Leak: Which Compromised Credentials Matter
Validation-only triage misses 46% of critical secrets because they can’t be verified automatically. Here’s how to rank compromised credentials by what they can actually reach, and which leaks need containing the same day.