Domain Security Audit: github.com
Written by a language model from live data and public sources. Information only, not investment, medical or legal advice.
Overall grade: A (96/100)
---
OVERALL GRADE: A: Composite 96/100
Bottom line: github.com presents a mature, well-maintained security and deliverability posture. Email authentication is complete and enforcing: SPF, DMARC, and DKIM all pass, DMARC is already at `p=quarantine` with `sp=reject` for subdomains, and six DKIM selectors are published and valid - the domain is actively protected against spoofing rather than merely instrumented for it. Web security headers score 88/100 with HSTS (preload-eligible), a strict `default-src 'none'` CSP, `X-Frame-Options: deny`, `X-Content-Type-Options: nosniff`, and a Referrer-Policy all present. TLS terminates on a trusted Sectigo-issued certificate negotiating TLSv1.3. The remaining gaps are narrow and low-urgency: a missing Permissions-Policy header, no DNSSEC signing, no MTA-STS or TLS-RPT for inbound SMTP hardening, and a certificate that has 49 days left and should be on a tracked renewal path.
Scope of this grade: The composite 96/100 covers only the three dimensions actually probed - email authentication, web security headers, and TLS certificate. DNS posture items (DNSSEC, CAA, MTA-STS, TLS-RPT, BIMI) are reported for context but are not part of the score. The grade does not cover any probe that could not be completed, and it is not a statement about application-layer security, source code, access control, or operational practices at GitHub.
---
EMAIL AUTHENTICATION: 100/100 (pass)
SPF: present and valid. The policy ends in a softfail-all (`~all`), which instructs receivers to accept-but-mark mail from unlisted senders rather than reject it. This is the conventional, safe choice for a large domain with many sending services, and because DMARC is set to `p=quarantine`, the harder enforcement decision is being made at the DMARC layer where it belongs. One operational caution: the record consumes 10 DNS lookups counted recursively through include/redirect, which is exactly at the RFC 7208 limit of 10. The record is valid today, but there is zero headroom - any new `include:` added by a sending team will push the record to `permerror`, at which point SPF stops evaluating and mail that relies on SPF alone for DMARC alignment begins failing authentication and landing in spam.
DMARC: present and enforcing. The published record is:
```
v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:dmarc@github.com; ruf=mailto:dmarc@github.com; fo=1
```
Tags actually configured: `p=quarantine`, `sp=reject`, `pct=100`, `rua`, `ruf`, `fo=1`. This is strong - full enforcement at 100% of mail, a stricter `reject` policy explicitly applied to subdomains, and both aggregate (`rua`) and forensic/failure (`ruf`) reporting enabled with `fo=1` so reports are generated on any authentication failure. The reporting address `dmarc@github.com` is confirmed as an address this domain already publishes, and mail for the domain is received at Microsoft 365, so the reporting loop is live rather than pointing into a void.
Three tags are not present in the record, so their defaults apply - these are defaults, not choices the domain made:
- `aspf` is not set, so SPF alignment defaults to relaxed (`r`) - organizational-domain match rather than exact.
- `adkim` is not set, so DKIM alignment also defaults to relaxed (`r`).
- `ri` is not set, so the aggregate report interval defaults to 86400 seconds (daily).
Relaxed alignment is the correct default for a domain sending from multiple subdomains and third-party platforms; tightening to `s` would be a deliberate hardening step only after report data confirms nothing breaks.
DKIM: six valid selectors. `selector1` (1024-bit), `google` (2048-bit), `k1` (1024-bit), `k2` (2048-bit), `s1` (2048-bit), and `s2` (2048-bit) are all published and valid. Multiple selectors indicate several distinct sending platforms are signing correctly - which is what keeps DMARC passing even when SPF fails over a forwarding hop. The two 1024-bit keys (`selector1`, `k1`) are the weakest link: 1024-bit RSA is below current guidance and some receivers treat it with reduced trust.
MX: pass. One record, `github-com.mail.protection.outlook.com`, consistent with inbound mail at Microsoft 365.
Deliverability impact: this configuration is why github.com mail reaches inboxes. SPF, DKIM, and DMARC all pass and align, so receiving mail systems have an authenticated, policy-backed identity to trust, and look-alike spoofs are quarantined or rejected per policy. The deliverability risks here are not present-tense failures - they are the SPF lookup ceiling and the 1024-bit keys, both of which degrade authentication silently when crossed.
---
WEB SECURITY HEADERS: 88/100
Measured on an HTTP 200 response from github.com.
Present:
- HSTS - `max-age=31536000; includeSubdomains; preload`. One year, subdomains covered, preload-flagged. This is the correct full-strength configuration.
- CSP - a strict policy, not a permissive one: `default-src 'none'` denies everything by default and allowlists are narrow and explicit (`base-uri 'self'`, scoped `child-src` and `connect-src` entries). This is a genuine pass, not a partial one.
- X-Frame-Options - `deny`. Clickjacking and UI-redress framing are blocked.
- X-Content-Type-Options - `nosniff`. MIME-type confusion attacks are blocked.
- Referrer-Policy - `origin-when-cross-origin, strict-origin-when-cross-origin`. Path and query strings are not leaked to third parties.
Missing:
- Permissions-Policy - absent. Without it, powerful browser features (camera, microphone, geolocation, payment, USB, sensors) are not explicitly denied to the page or to any embedded frame. The practical risk is that a compromised or malicious third-party script or iframe can request a permission prompt under the site's own origin, lending the request the site's credibility. This is the only scored header gap.
Cross-origin isolation headers (COOP, CORP, COEP) are optional and advisory, and are not part of the score. They matter only for a site that specifically needs cross-origin isolation - for example to enable `SharedArrayBuffer` or high-resolution timers - and `COEP: require-corp` will break third-party assets that do not opt in. No action is required unless cross-origin isolation becomes a product requirement.
Informational: the `Server` header names the platform (github.com). This is informational only - the platform is already visible from DNS, and an edge-injected header generally cannot be stripped by the application. No `X-Powered-By` header was observed, so there is no removable version disclosure to address.
www / apex twin: `www.github.com` is reachable (HTTP 200) and correctly redirects to `github.com`, with HSTS present on both hosts. No twin-host discrepancy - this is a clean result.
---
TLS CERTIFICATE
- Chain trusted: YES
- Covers github.com: yes (2 SANs)
- Issuer: Sectigo Limited
- Subject: github.com
- Valid to: 2026-11-29T23:59:59Z - 49 days remaining
- Negotiated: TLSv1.3 / TLS_AES_128_GCM_SHA256
The certificate is valid, trusted, correctly scoped, and negotiating the current TLS version with a modern AEAD cipher suite. 49 days is not an emergency, but it is inside the window where renewal should already be scheduled and monitored. For a commercially-issued (non-automated) certificate, confirm now that the renewal order and the deployment step are both owned and calendared; an expiry on a domain with HSTS `preload` is a hard outage with no clickthrough, because browsers will refuse the connection outright rather than warn.
CAA is already published and is aligned with this certificate: `issue` for digicert.com, globalsign.com, letsencrypt.org, and sectigo.com, plus `issuewild` for digicert.com, letsencrypt.org, and sectigo.com. The issuing CA (Sectigo) is authorized, and the allowlist is broad enough to cover CA rotation. No change needed.
---
PRIORITIZED FIXES
1. Schedule and verify the TLS certificate renewal (49 days remaining).
Confirm the Sectigo renewal is ordered and that deployment to the edge is owned by a named team. Add monitoring that alerts at 30, 14, and 7 days. Because HSTS is published with `preload`, expiry produces an unbypassable connection failure, not a warning.
2. Reclaim SPF DNS-lookup headroom - the record is at the RFC 7208 limit of 10.
Audit the `include:` chain and remove or consolidate unused sending services; where a provider publishes stable IP ranges, replace an `include:` with explicit `ip4:`/`ip6:` mechanisms to drop a lookup. Enforce a change-control rule that no new `include:` is added without first removing one. Validate with an SPF checker after each edit and confirm the count stays at or below 10 - crossing it produces `permerror`, SPF stops evaluating, and DMARC-dependent mail starts failing.
3. Add a Permissions-Policy header (the only scored header gap).
Deny features the site does not use. A conservative starting value:
```
Permissions-Policy: geolocation=(), camera=(), microphone=(), payment=(), usb=(), magnetometer=(), gyroscope=(), accelerometer=()
```
Roll out on a non-production host first and confirm no product feature depends on a denied capability before enabling site-wide.
4. Rotate the two 1024-bit DKIM keys to 2048-bit.
`selector1` and `k1` are 1024-bit. Generate 2048-bit keypairs at the relevant sending platforms, publish the new public keys at new selector names (for example `selector3`, `k3`), switch signing to the new selectors, confirm DKIM still passes in DMARC aggregate reports, then retire the old selector TXT records. Publishing under new selectors rather than overwriting avoids a signing gap mid-rotation.
5. Publish MTA-STS and TLS-RPT to harden inbound SMTP.
Neither is currently published. MTA-STS prevents downgrade and MX-substitution attacks on mail sent *to* github.com; TLS-RPT gives you reporting on inbound TLS failures. Start in testing mode so nothing is enforced while you validate:
- Host a policy file at `https://mta-sts.github.com/.well-known/mta-sts.txt` containing `version: STSv1`, `mode: testing`, `mx: github-com.mail.protection.outlook.com`, `max_age: 86400`.
- Publish TXT at `_mta-sts.github.com`: `v=STSv1; id=20260101000000;`
- For TLS-RPT, publish TXT at `_smtp._tls.github.com`. The `rua` here must point at a mailbox that exists - `dmarc@github.com` is a confirmed published reporting address and is a reasonable target, or create a dedicated mailbox first (for example `tlsrpt@github.com`), then publish. Do not publish an address that has not been created; reports sent to a dead mailbox are silently discarded.
- Only after reviewing TLS-RPT data with no failures should you move MTA-STS from `mode: testing` to `mode: enforce`.
6. Consider tightening DMARC alignment and escalating subdomain-inherited policy - only after reviewing report data.
DMARC is already enforcing at `p=quarantine` with `sp=reject`. Two optional hardening steps, both gated on aggregate report review: move `p=quarantine` to `p=reject` to match the subdomain policy, and set `aspf=s`/`adkim=s` for strict alignment. Both can break legitimate mail from third-party senders, so review at least 30 days of `rua` data at `dmarc@github.com` to confirm no legitimate stream depends on relaxed alignment or on quarantine-rather-than-reject before changing either.
7. DNSSEC - verify which DNS panel manages the zone before attempting anything.
The zone is not currently signed. Support here is unknown and must be checked in your DNS host's panel first: the `nsone.net` nameservers serve both NS1 Managed DNS (which offers DNSSEC) and Netlify DNS (which does not), so you must confirm which product manages this zone. Additionally, the zone is served by two DNS providers - NS1 and Amazon Route 53 - and DNSSEC across a multi-provider setup requires coordinated key management at both; this is a non-trivial project, not a single record addition. Treat it as a planned initiative, not a quick fix.
8. BIMI - optional, brand-presentation only.
Not published. BIMI requires a Verified Mark Certificate and an SVG logo, and delivers inbox logo display rather than security hardening. The DMARC enforcement prerequisite (`p=quarantine` or stronger) is already met, so this is available if brand presentation in the inbox is a marketing priority. It carries no security weight and should not displace items 1-5.
No action needed on CAA - a correct, CA-rotation-tolerant allowlist is already published and authorizes the current Sectigo certificate.
Watch github.com and get a fresh brief the moment it changes
Domain security monitor, $5 a month. We re-check it for you on a schedule and email you a new cited report when something moves. Cancel any time, no account needed.