AI
Everything on ghtier is also published as plain text and JSON, so an AI agent can read it and apply it to your own GitHub organization.
What an agent can read
- /llms.txtStart here. Index of everything below.
- /llms-full.txtThe whole site as one text file.
- /data/index.jsonManifest of the JSON exports.
- /data/permissions.jsonEvery GitHub permission at every level, with one global tier and the reason.
- /data/roles.jsonBuilt-in roles with the permissions they include and their inherited tier.
- /data/scopes.jsonClassic scopes with the permissions they reach, and token types.
- /data/keys-policies.jsonKeys, policies, grants and agents with their tier, attack path and Detect events.
- /data/changes.jsonWhat GitHub added, removed or changed, newest first.
- /data/act-on.jsonGitHub changes to act on, with the checklist items that fix them.
- /data/updates.jsonWhat changed on ghtier itself, newest first.
- /changes.xmlChanges to act on and the same history as an Atom feed.
- /data/findings.jsonStrange findings: where GitHub access works differently than expected, with sources.
- /data/graph.jsonEvery entry on the site and how they link, as one graph.
- /data/permission-model.jsonGrant mechanisms and the capability crosswalk across token types and roles.
- /data/landscape.jsonThreat landscape: incidents tagged with OWASP CI/CD, NIST SP 800-204D and OWASP open source risks, trends, gaps, control ranking.
- /data/incidents.jsonReal incidents and their attack paths.
- /data/checklist.jsonChecklist items with fix steps, plans, Detect events and automated checks.
- /data/assessment.schema.jsonFormat of an assessment result file.
- /data/assess-scores.jsonHow an assessment's posture and security scores are calculated.
- /data/inventory-kinds.jsonHow to check and fix each kind of row in an assessment's access inventory.
- /data/cloud-tiers.jsonHow the assessment tiers Azure roles, Entra roles and Graph permissions.
- /data/cloud-trust.schema.jsonFormat of the cloud trust file azure.mjs writes.
- /data/reach-rules.jsonThe rules behind each step of an attack path in an assessment.
- /data/ruleset-templates.jsonOrganization rulesets that carry out the checklist's ruleset steps.
- /data/tooling.jsonOpen-source security tools: how each works, rating, stars.
- /skills/ghtier-assess/SKILL.mdAgent skill: assess an org and plan fixes.
- /skills/ghtier-assess/assess.mjsThe read-only runner the skill uses.
- /skills/ghtier-assess/SHA256SUMSSHA-256 of the runner, its template and the data it reads, for --pin.
- /skills/ghtier-assess/reportPrintable report template the runner fills in.
- /skills/ghtier-whoami/SKILL.mdAgent skill: the GitHub credential in this session, its tier and risks.
- /skills/ghtier-whoami/whoami.mjsThe read-only runner the whoami skill uses.
- /skills/ghtier-whoami/SHA256SUMSSHA-256 of the whoami runner and the data it reads, for --pin.
Check your own organization
- Want your agent to review it first? Ask it to read HOW-IT-WORKS.md and run
node verify.mjs, which checks against the code that it only reads, sends nothing to ghtier, and keeps your token togh, without running anything. - Give your agent the skill, or ask it: "Assess my GitHub org with ghtier (ghtier.com/llms.txt)".
- It runs 25 read-only checks with your own
ghlogin, asks you about the rest, lists who holds Tier 0 and Tier 1 (owners, organization roles, Apps, runners, deploy keys), follows the attack paths in your org to Tier 0, and writesghtier-assessment-<org>.jsonplus a printableghtier-report-<org>.html. - You get a fix plan ordered by effort. Import the file on the Checklist to see the results there.
Check the credential in your session
Give your agent the whoami skill. It shows which GitHub credential the session uses (a gh login, a classic or fine-grained token, an App token), the account, its scopes or permissions and its tier on the repository you are in, its organization and your account. Then how that access escalates, the techniques it enables with incidents where they were used, what in the repository they would reach (the secrets and cloud logins its workflows use, the rules on its default branch), and the checklist items that cut them. The report links every entry to its page here.
It starts by asking which credentials to check: every GitHub credential on the computer (token variables, every gh login, the SSH key, and tokens in a password manager you name), this session only, or one token. It also asks how far to go, up to every organization and repository the credentials reach. Anything that reads a token runs in your own terminal, one token at a time, after it has shown every call. GitHub does not show a fine-grained token its own permissions, so the runner proves them with GET calls and gives a confirmed tier and the highest tier your role leaves possible. To settle the writes, --write-probes sends a short list of write requests built so they cannot succeed, shown to you first and only on your yes.
The checks only send GET requests and never change a setting. Besides the checks, the runner reads who you are (/user) and your role in the organization (/user/memberships/orgs/ORG). Your org data stays on your machine; ghtier has no backend and never sees it. To run it yourself without an agent, see Run an assessment.