ghtier

Methodology

How ghtier is made: how tiers are set, where the data comes from, what it does not cover, and how to report an error or reuse it.

How tiers are set

Everything that grants access in GitHub gets one tier on one scale, so a Tier 0 permission, role, scope or key gives the same level of control. The tier is about what an attacker could change with it; a Tier 3 read can still expose private code or data.

  • T0Control-plane equivalent. Full compromise of an org, enterprise, or app identity, or of every repository in it.
  • T1Management/pipeline plane. Control over deployments, CI/CD, or secrets.
  • T2User/workload plane. Real but bounded risk: standard collaboration, or stopping work by cutting spend or licenses.
  • T3No control. Reading, or changes that touch no access, code, credentials or availability. Reading can still expose private code or data.

The rules:

  • Start from the plane: control plane Tier 0, management plane Tier 1, data plane Tier 2 for write.
  • Go up a tier when one documented step reaches a higher one, and name that step in the reason. Workflows: write is on the data plane, but a workflow can ask for its repository's secrets, so it is Tier 1.
  • Reading is Tier 3, unless what is read is itself a credential, such as a leaked secret in a secret scanning alert. When a read exposes private code or sensitive data, the reason says what.
  • Go down when the permission cannot change anything that matters for security, such as stars, follows or a profile picture, and say so.
  • Tiers are about impact, not about read or write. A write that can stop work, such as cutting spend or removing licenses, is at least Tier 2.
  • Breadth counts for roles: admin on every repository in an organization is Tier 0, because it reaches every repository's visibility, secrets and protections at once.

Roles and classic scopes inherit the highest tier among the permissions they include, unless a reason is written down for setting them by hand. Every tier links to the reason behind it.

Each permission also sits on a plane (control, management, data). The plane says what it touches; the tier says how much damage misuse can do. The two are separate, so a data plane permission can still be high tier.

What it covers

ghtier maps the documented ways GitHub grants access (permissions, built-in roles, classic scopes, named keys and policies, and token types). Out of scope:

  • Other code hosts, such as GitLab or Bitbucket
  • Package registries other than npm
  • Cloud roles trusted through OIDC, beyond the GitHub side of the trust
  • Credentials in IDEs and on developer machines

Where the data comes from

  • Generated from GitHub. The lists of permissions, role tables, custom role permissions, classic scopes and audit log events are read from GitHub's own documentation data for GitHub.com, Enterprise Cloud and Enterprise Server. A daily job refreshes them, and every change shows on What changed in GitHub.
  • Written by hand, with a source. Tiers and their reasons, role and scope mappings, keys and policies, checklist advice, incidents, attack paths and Strange findings. Each links to the GitHub documentation, changelog or incident report it is based on, and the weekly job checks that those links still work.
  • Judgement. Choosing a tier is a reading of the documentation, not something GitHub publishes. The reason is always written next to the tier, so you can disagree with it.

What changed on ghtier itself is on Updates.

What it builds on

Tiering privileged access is not new. ghtier applies the same thinking, used for Active Directory and Entra ID, to GitHub.

  • AzTier (Emilien Socchi): Tiers Azure roles, Entra ID roles and Microsoft Graph permissions by the attack paths they open. ghtier does the same for GitHub, and checks its own cloud tiers against AzTier every week.
  • Tier Zero table (SpecterOps): A per-asset Tier Zero table for Active Directory and Entra ID; ghtier does the same for GitHub access.
  • Enterprise access model (Microsoft): The control, management and data/workload planes ghtier's tiers start from, and the AD tier model before it.
  • What is Tier Zero (SpecterOps): The idea of Tier 0 as everything with control over the environment, or control over what controls it.
  • EntraOps (Thomas Naunheim): Classifies Entra ID roles and role actions into enterprise access model tiers, the closest model to ghtier's.
  • GitHub extension for BloodHound (SpecterOps): Maps your own organization as an attack graph. ghtier explains why an edge is dangerous; BloodHound finds it in your org.
  • Open Source Project Security Baseline (OpenSSF): A baseline with three maturity levels for open source projects.

How attack paths in your org are computed

  • The optional assessment reads who has what in one organization and joins it into chains: a person or a credential, then each grant that leads further, until a Tier 0 role, permission or repository you mark critical.
  • Each step is one rule with a source a reader can check: GitHub's documentation, a strange finding, or a judgement that says so. A step the token could not confirm is assumed and marked, never dropped.
  • "Can reach" means possible with the access held today. A fix counts as removing reach only when there is no other way.
  • The rules and the details are on Run an assessment.

What it does not cover

  • Claims are not re-tested on every plan and version. Enterprise Server versions in particular can differ.
  • GitHub's documentation can lag behind the product. When the two disagree, the product wins.
  • Access granted outside GitHub, such as cloud roles trusted through OIDC, is only covered where it starts in GitHub.
  • ghtier never connects to your GitHub. The optional assessment runs on your own machine, with your own login.

Report an error

Found something wrong or out of date? Email bendik@o3c.no with the page, what is wrong, and the source that shows it. The "Found an error?" link at the bottom of every page fills in the page for you. We aim to reply within two weeks. Fixes are listed on Updates.

Reuse and license

The text and data are under CC BY 4.0: use, share and adapt them, also commercially, as long as you credit ghtier and link to the source. Generated data is derived from GitHub's documentation (github/docs), © GitHub, licensed CC BY 4.0. The code, including the assessment runner, is under the MIT License:

MIT License

Copyright (c) 2026 Bendik Schartum Thorbjørnsen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The data is published as JSON under /data (see AI for the full list). Every file carries schemaVersion, now 5, and edition, now 2026-Q4. New fields keep the version; a renamed or removed field, or a changed meaning, raises it and is announced on Updates.

How to cite

Bendik Schartum Thorbjørnsen. ghtier: GitHub access tiers and security baseline, edition 2026-Q4. ghtier.com, accessed <date>.

ghtier publishes a new edition each quarter, after the threat landscape is reviewed. This one, ghtier 2026-Q4, was reviewed on 11 October 2026; the next review is due 15 January 2027. The site and the data always show the current edition, so cite the edition with the date you read it.

Independence

  • ghtier is an independent, community project. It is not affiliated with, endorsed by or sponsored by GitHub, Inc.
  • Everything here is for information only and comes with no warranty. Tiers and mappings are the authors' own reading of GitHub's documentation; check GitHub's docs before changing anything in your organization.
  • ghtier never connects to your GitHub account. The optional assessment runs on your own machine, with your own login.

Privacy

  • ghtier counts page views with Vercel Web Analytics, to see which pages people use.
  • It uses no third-party cookies and does not tie a page view to you or your IP address. Visits are told apart by a hash of the request, which is discarded after 24 hours.
  • Settings you change on the site (theme, filters, checklist answers, an imported assessment) stay in your browser and are never sent anywhere.

How Vercel handles the data: Vercel Web Analytics privacy. Questions go to bendik@o3c.no.