What we check · GitHub
What we check in GitHub — and what we never read
ShieldFlow connects as a GitHub App you install on your organisation. GitHub shows you the exact permissions before you install, you pick the repositories, and every permission is read-only. You can see, change or remove the installation at any time under your organisation's Settings → GitHub Apps.
How results work
- Every failure names the exact thing — the repository, the account, the pull request — and gives the fix.
- If we can’t read something — a missing permission, more than we could read in one scan — the check says “can’t tell” and why. It never passes by default.
- Anything can be marked out of scope with a reason and a review date. The reason is kept as audit evidence.
- Checks marked “good to know” are shown but never raise an alert or hold back a framework.
People & access
- The organisation requires 2FA
Whoever can push to your repositories can ship to production; a stolen password alone shouldn't be enough.
GET /orgs/{org} (two_factor_requirement_enabled)
- Every member has 2FA
Each member without 2FA is one phished password away from your source code.
GET /orgs/{org}/members?filter=2fa_disabled
- Few organisation owners
Owners can change every setting, delete repositories and remove the protections below; three or fewer is the usual bar.
GET /orgs/{org}/members?role=admin
- Leavers are out of GitHub
A leaver still in the organisation can still read — and often push — your code.
GET /orgs/{org}/members · GraphQL organization.membersWithRole (login, name, public email)
- Every GitHub member is someone you know
A member nobody can name is a leaver nobody recorded, a contractor nobody tracked, or a shared account.
GET /orgs/{org}/members · GET /orgs/{org}/outside_collaborators
- Outside collaboratorsgood to know
Contractors added straight to a repository bypass your organisation's member settings; list them so someone owns the list.
GET /orgs/{org}/outside_collaborators
Change management
- Default branches require a reviewed pull request
Without it anyone with write access can push straight to production — the first thing an auditor tests for CC8.1.
GET /repos/{repo}/branches/{branch}/protection · GET /repos/{repo}/rules/branches/{branch}
- Every merged change was reviewed by someone else
Auditors sample merged pull requests; one merged without an independent approval is an exception in the report.
GraphQL repository.pullRequests(states: MERGED) with reviews(states: APPROVED)
- Force pushes blocked on default branchesgood to know
A force push can rewrite history that was already reviewed and deployed.
GET /repos/{repo}/branches/{branch}/protection · GET /repos/{repo}/rules/branches/{branch}
- Admins can't bypass branch protectiongood to know
Protection that admins can skip only protects you from people without admin rights.
GET /repos/{repo}/branches/{branch}/protection (enforce_admins)
Vulnerabilities
- Dependabot alerts are on for every repository
Dependabot is free and tells you when a library you ship has a known vulnerability — off means you don't hear about it.
GET /repos/{repo}/vulnerability-alerts
- Vulnerable dependencies fixed within the SLA
Auditors check that critical and high findings are fixed within your policy's window (7 and 30 days by default).
GET /orgs/{org}/dependabot/alerts?state=open&severity=critical,high · GET /repos/{repo}/dependabot/alerts
- No leaked secrets left open
A key committed to a repository should be treated as public; until it's revoked, anyone with the repo can use it.
GET /orgs/{org}/secret-scanning/alerts?state=open · GET /repos/{repo}/secret-scanning/alerts
- Code scanning findingsgood to know
If you run code scanning, its critical and high findings belong on the same list as everything else. Not required — it's a paid feature on private repositories.
GET /orgs/{org}/code-scanning/alerts?state=open
Repository hygiene
- No unintended public repositories
A repository made public by mistake publishes your code — and often configuration — to everyone.
GET /installation/repositories (private)
- Deploy keys are read-onlygood to know
A deploy key with write access is a long-lived credential that can push to the repository and never expires.
GET /repos/{repo}/keys
What we read
- Repository: Metadata — read
- Repository: Administration — read — branch protection, rulesets, Dependabot switch, deploy keys
- Repository: Pull requests — read — merged pull requests and their reviews
- Repository: Dependabot alerts — read
- Repository: Secret scanning alerts — read
- Repository: Code scanning alerts — read
- Organization: Members — read — owners, members, 2FA status
- Organization: Administration — read — whether 2FA is required
What we never read or do
- Source code — the App has no Contents permission, so it can't read a file.
- Write anything: no pushes, no comments, no issues, no settings changes.
- Secrets: secret-scanning alerts tell us where a secret leaked, never the secret itself (we drop it on arrival).
- Actions logs, packages, wikis or discussions.