# BeaverCheck Audit Report — https://code.org

**Date:** April 22, 2026  
**URL:** https://code.org  
**Overall Grade:** C (75/100)  
**Report:** https://beavercheck.com/results/74ed30f4-ce92-4f0d-b7d9-412c4803ce41

## Top Findings

1. **[CRITICAL]** Content-Security-Policy header is missing — Security > Security Headers
2. **[CRITICAL]** Cookie 'language_' is missing the Secure flag — Security > Cookie Security
3. **[CRITICAL]** No Content-Security-Policy header found — Security > Content Security Policy
4. **[WARNING]** 103 HTTP requests — consider bundling or reducing — Performance > Page Weight Budget
5. **[WARNING]** 28 third-party resources (46% of weight) — Performance > Page Weight Inventory

---

## Lighthouse Scores

| Category | Score |
|----------|-------|
| Performance | 31 |
| Accessibility | 95 |
| Best Practices | 96 |
| SEO | 100 |

---

## Security

### Security Headers (F — 25/100)

*2 of 10 headers properly configured*

- **[WARNING]** HSTS is missing includeSubDomains — Without includeSubDomains, subdomains can still be accessed over HTTP.
- **[WARNING]** X-Content-Type-Options header is missing — This header prevents MIME-type sniffing, which can lead to XSS attacks. Set it to 'nosniff'.
- **[WARNING]** X-Frame-Options header is missing — This header prevents clickjacking by controlling who can embed your page in a frame. Set it to DENY or SAMEORIGIN.
- **[WARNING]** Referrer-Policy header is missing — Controls how much referrer information is sent with requests. Set to 'strict-origin-when-cross-origin' or stricter.
- **[WARNING]** Permissions-Policy header is missing — Controls which browser features (camera, microphone, geolocation) are allowed. Set it to restrict unused features.
- **[CRITICAL]** Content-Security-Policy header is missing — CSP is the most important header for preventing XSS attacks. See the CSP section for detailed analysis.
- **[WARNING]** Cross-Origin-Opener-Policy header is missing — COOP isolates your browsing context, preventing cross-origin side-channel attacks. Set to 'same-origin'.
- **[WARNING]** Cross-Origin-Embedder-Policy header is missing — COEP prevents loading cross-origin resources without explicit permission. Required for SharedArrayBuffer and high-resolution timers.
- **[PASS]** X-Powered-By header is not present
- **[PASS]** Server header is present without version info

### Content Security Policy (F — 0/100)

*No enforcing CSP policy found*

- **[CRITICAL]** No Content-Security-Policy header found — CSP is the most effective defense against XSS attacks. Add a Content-Security-Policy header to restrict resource loading.

### TLS & Certificates (A+ — 100/100)

*TLS 1.3, 7 checks passed*

- **[PASS]** TLS 1.3 is used
- **[PASS]** Strong cipher suite is used
- **[INFO]** HTTP/2 is not negotiated — HTTP/2 provides multiplexing and header compression for better performance.
- **[PASS]** Certificate is valid (expires in 197 days)
- **[PASS]** Certificate chain has 3 certificates
- **[PASS]** Certificate uses modern signature algorithm
- **[PASS]** Certificate covers 5 domain(s)
- **[PASS]** Certificate is issued by a trusted CA

### Cookie Security (B — 75/100)

*1 cookies analyzed, 0 checks passed*

- **[CRITICAL]** Cookie 'language_' is missing the Secure flag — Without the Secure flag, this cookie can be sent over unencrypted HTTP, exposing it to interception.
- **[WARNING]** Cookie 'language_' is missing the HttpOnly flag — Without HttpOnly, this cookie can be accessed by JavaScript, making it vulnerable to XSS-based theft.
- **[WARNING]** Cookie 'language_' has no SameSite attribute — Without an explicit SameSite attribute, browser default behavior varies. Set SameSite=Lax or Strict.

---

## Advanced Security

### Subresource Integrity (F — 20/100)

*0 of 2 external resources have SRI*

- **[WARNING]** External script from cdn.cookielaw.org lacks integrity attribute — Without SRI, if this CDN is compromised, attackers could inject malicious code.
- **[WARNING]** External script from cdn.cookielaw.org lacks integrity attribute — Without SRI, if this CDN is compromised, attackers could inject malicious code.

### JS Library Vulnerabilities (A+ — 100/100)

*No known vulnerabilities*

- **[PASS]** No known JavaScript library vulnerabilities detected

### Information Leakage (A+ — 100/100)

*No exposures*

- **[INFO]** No security.txt found — Consider adding a security.txt at /.well-known/security.txt.
- **[PASS]** No sensitive files exposed

### Email Security (A — 85/100)

*DMARC: quarantine*

- **[PASS]** DMARC policy is quarantine — good protection

### Permissions-Policy (D — 40/100)

*No header set*

- **[WARNING]** No Permissions-Policy header — Consider adding a Permissions-Policy header to restrict browser feature access from embedded content.

### CORS Configuration (B — 80/100)

*No CORS headers*

- **[PASS]** No CORS headers present — secure default

---

## Performance

### Page Weight Budget (C — 66/100)

*1.7 MB transferred, 103 requests*

- **[INFO]** Page weighs 5.5 MB (1.7 MB transferred)
- **[WARNING]** JavaScript is 725 KB — consider code splitting or lazy loading — Large JavaScript bundles delay interactivity. Split code by route or defer non-critical scripts.
- **[INFO]** Fonts are 396 KB — consider subsetting or using system fonts — Subset fonts to include only used characters, or switch to system font stacks.
- **[INFO]** CSS is 268 KB — consider purging unused styles — Remove unused CSS rules with tools like PurgeCSS to reduce stylesheet size.
- **[WARNING]** 103 HTTP requests — consider bundling or reducing — Each request adds latency. Bundle small files, use sprites, or eliminate unnecessary requests.
- **[INFO]** Estimated 0.35 g CO2 per page load

### Third-Party Impact (B — 70/100)

*46% third-party, 0 ms blocking*

- **[INFO]** Third-party code accounts for 46% of page weight (795.1 KiB of 1.7 MiB)
- **[PASS]** Third-party blocking time is low (0 ms)

### Text Compression (A+ — 100/100)

*All text resources are compressed*

- **[PASS]** All text resources are compressed

### Image Optimization (B — 75/100)

*9 images, 0 KB saveable*

- **[WARNING]** https://code.org/_next/static/media/powered-by-aws... is missing width/height — may cause layout shift — Set explicit width and height to prevent CLS.

### JS Execution Cost (F — 20/100)

*4727ms total JS execution*

- **[WARNING]** https://code.org/_next/static/chunks/1902-09bbc013...: 1798ms CPU time
- **[WARNING]** https://code.org/en-US: 845ms CPU time
- **[WARNING]** Unattributable: 485ms CPU time
- **[WARNING]** https://code.org/_next/static/chunks/4445.c2d7ef35...: 413ms CPU time
- **[WARNING]** https://www.googletagmanager.com/gtag/js?id=G-L9HT...: 322ms CPU time
- **[INFO]** Third-party scripts: 807ms (17% of total)

### Font Loading (A+ — 100/100)

*4 fonts (396 KB)*

- **[INFO]** 4 font(s) use font-display: swap (FOUT risk but functional)

### JS Bundles (C — 60/100)

*41 scripts, 161 KB unused*

- **[WARNING]** https://www.googletagmanager.com/gtag/js?id=G-L9HT...: 68 KB unused (38%) — Consider code splitting or tree shaking to reduce unused code.
- **[WARNING]** https://code.org/_next/static/chunks/326-7f1023f63...: 35 KB unused (52%) — Consider code splitting or tree shaking to reduce unused code.
- **[WARNING]** https://code.org/_next/static/chunks/5670-318ba52a...: 34 KB unused (60%) — Consider code splitting or tree shaking to reduce unused code.
- **[WARNING]** https://code.org/_next/static/chunks/app/%5Bbrand%...: 24 KB unused (36%) — Consider code splitting or tree shaking to reduce unused code.
- **[INFO]** Total unused JavaScript: 161 KB

### Resource Caching (A+ — 100/100)

*All resources properly cached*

- **[PASS]** No caching issues found

### Critical Rendering Path (A+ — 100/100)

*No render-blocking resources*

- **[PASS]** No render-blocking resources detected

### Resource Hints (A+ — 100/100)

*8 hints, 0 missing preconnects*

- **[PASS]** Page uses 8 resource hint(s)

### Page Weight Inventory (D — 45/100)

*103 resources · 1.7 MB · 161 KB savings available*

- **[WARNING]** Page weight 687 KB over 1MB target
- **[INFO]** ~161 KB of savings available
- **[WARNING]** 28 third-party resources (46% of weight)
- **[INFO]** 1 resources over 200KB

### Render-Blocking Resources (A+ — 100/100)

*No render-blocking resources detected*

- **[PASS]** No render-blocking resources detected in <head>

### Third-Party Resources (A+ — 100/100)

*No third-party resources detected*


---

## Content Quality

### Links (A+ — 100/100)

*179 links checked, 179 healthy, 0 broken*

- **[PASS]** 179 of 179 links are healthy

### Mixed Content (A+ — 100/100)

*No mixed content detected — all resources use HTTPS.*

- **[PASS]** No mixed content detected — all resources use HTTPS

### Open Graph (A — 95/100)

*Open Graph tags are well configured for social sharing.*

- **[INFO]** Missing og:site_name — The og:site_name tag displays the website name in social previews.

### Structured Data (A+ — 100/100)

*1 JSON-LD block(s) found — structured data is well configured.*

- **[PASS]** Custom type "EducationalOrganization" — unable to validate specific properties

---

## Infrastructure

### DNS Records (A+ — 100/100)

*4 A records, 41 ms lookup*

- **[PASS]** Resolves to 4 IPv4 address(es)
- **[INFO]** No IPv6 (AAAA) records
- **[PASS]** 4 nameserver(s) configured
- **[PASS]** 5 mail exchanger(s) configured
- **[INFO]** CAA records not checked — CAA record lookup requires a specialized DNS resolver. This check will be available in a future update.
- **[PASS]** SPF record present in TXT
- **[PASS]** DNS resolution time: 41 ms

### Redirect Chain (A — 90/100)

*1 redirect(s), 214 ms total*

- **[PASS]** Single redirect

### IPv6 Readiness (C — 60/100)

*No IPv6 support*

- **[INFO]** No IPv6 (AAAA) records found — IPv6 support is increasingly important for global accessibility. About 40% of internet users have IPv6 connectivity.

### Crawlability (B — 75/100)

*robots.txt present, sitemap with 2229 URLs*

- **[PASS]** robots.txt is present
- **[PASS]** sitemap.xml is present
- **[WARNING]** sitemap.xml contains invalid XML — Search engines may not be able to parse the sitemap. Fix XML validation errors.
- **[PASS]** sitemap.xml contains 2229 entries
- **[INFO]** robots.txt does not reference a sitemap — Add a 'Sitemap:' directive to robots.txt so search engines can discover your sitemap.

### URL Variants (A+ — 100/100)

*www/non-www, trailing slash, HTTP→HTTPS*

- **[PASS]** www/non-www redirect configured correctly (preferred: non-www)
- **[PASS]** HTTP correctly 301-redirects to HTTPS

### Domain Intelligence (A+ — 100/100)

*code.org — via Amazon Registrar, Inc., 26 years, 11 months old, hosted on AWS*

- **[PASS]** Domain registered until Sep 28, 2026 (5 months remaining)
- **[INFO]** DNSSEC is not enabled — DNSSEC protects against DNS spoofing attacks. While not required, enabling DNSSEC adds an additional layer of security. Contact your DNS provider to enable it.
- **[PASS]** Registrar: Amazon Registrar, Inc.
- **[WARNING]** Registrar lock is NOT enabled — The domain can be transferred without an unlock step. Enable registrar lock (clientTransferProhibited) in your registrar's control panel to protect against unauthorized or accidental transfers.
- **[PASS]** Hosting: AWS

---

## Compliance

### WCAG Compliance (A+ — 100/100)

*No testable criteria*


### Cookie Consent & Privacy (A+ — 100/100)

*privacy policy found*

- **[PASS]** Privacy policy link found
- **[PASS]** Terms of service link found
- **[INFO]** No cookie consent banner detected
- **[PASS]** 1 cookie(s) set on initial load (functional)
- **[INFO]** This is an automated check, not legal advice — BeaverCheck detects technical indicators of consent management. This does not constitute a legal compliance assessment. Consult a privacy professional for GDPR/CCPA compliance.

### Language & i18n (A — 90/100)

*Lang attribute present*

- **[PASS]** <html lang> attribute is present
- **[PASS]** <html lang> value is valid
- **[INFO]** No Content-Language HTTP header
- **[INFO]** Language signals are inconsistent — The <html lang> attribute and Content-Language header should agree.

### Readability & Typography (A+ — 100/100)

*Font sizes and tap targets checked*


### Viewport Configuration (A+ — 100/100)

*Viewport properly configured*

- **[PASS]** Viewport meta tag is present
- **[PASS]** width=device-width is set
- **[PASS]** User zooming is allowed

### Third-Party Trackers (A+ — 95/100)

*4 trackers detected*

- **[INFO]** 4 third-party trackers detected — Found 4 analytics, 0 advertising, 0 marketing, 0 tag manager trackers.

### Cookie & Tracker Inventory (A+ — 100/100)

*1 cookies · 4 trackers · 0 pre-consent*

- **[INFO]** 1 cookie(s) could not be classified
- **[INFO]** 4 third-party tracker(s) detected on page

---

## Legal

### Legal Page Ecosystem (B — 75/100)

*3 of 7 expected legal pages detected*

- **[PASS]** Privacy Policy detected — Found at /privacy, linked from footer.
- **[PASS]** Terms of Service detected — Found at /tos, linked from footer.
- **[PASS]** Cookie Policy detected — Found at /cookies, linked from footer.
- **[INFO]** Accessibility Statement not detected — No link matching common Accessibility Statement URL patterns or link text was found. Most websites are expected to have a Accessibility Statement, especially those collecting user data.
- **[INFO]** DMCA / Copyright Notice not detected — No link matching common DMCA / Copyright Notice URL patterns or link text was found. Most websites are expected to have a DMCA / Copyright Notice, especially those collecting user data.
- **[INFO]** Refund / Returns Policy not detected — No link matching common Refund / Returns Policy URL patterns or link text was found. Most websites are expected to have a Refund / Returns Policy, especially those collecting user data.
- **[INFO]** Acceptable Use Policy not detected — No link matching common Acceptable Use Policy URL patterns or link text was found. Most websites are expected to have a Acceptable Use Policy, especially those collecting user data.

### Copyright Notice (C — 55/100)

*No copyright notice detected*

- **[INFO]** No copyright notice detected — No copyright notice detected in the page content. While not legally required in most jurisdictions (copyright exists automatically), a notice is standard practice and signals site ownership.

### Regulatory Indicators

*2 regulatory indicator(s) detected*

- **[INFO]** This is a technical scan, not a legal assessment — BeaverCheck detects technical indicators that may suggest regulatory relevance. This is not a compliance audit and should not be relied upon for legal decisions. Consult qualified legal counsel for compliance assessments.
- **[INFO]** GDPR indicators detected (strong confidence) — Indicators suggesting GDPR may be relevant: Consent management platform detected: cookielaw.org; Privacy policy page found. EU General Data Protection Regulation — governs collection and processing of personal data of EU residents.
- **[INFO]** HIPAA indicators detected (weak confidence) — Indicators suggesting HIPAA may be relevant: Text mentions: phi. Health Insurance Portability and Accountability Act — protects sensitive patient health information.

### Third-Party Data Sharing

*0 third-party service(s) detected*

- **[INFO]** Data inventory for transparency purposes — This inventory identifies third-party services that receive data from your site visitors. Under regulations like GDPR (Article 30), maintaining records of data processing activities is commonly considered a best practice. This automated scan provides a starting point — it may not capture all data flows.
- **[INFO]** No recognized third-party data-sharing services detected — This page does not appear to load external tracking, analytics, or advertising scripts.

### Compliance Badges (C — 55/100)

*0 compliance badge(s) detected*

- **[INFO]** No compliance badges detected — No recognized compliance certification badges or seals were found. This is common — many sites do not display compliance badges.

---

## Availability

### CDN & Delivery (A+ — 100/100)

*AWS CloudFront (Hit from cloudfront)*

- **[PASS]** Site is served via AWS CloudFront CDN (edge: CDG50-P1)
- **[PASS]** CDN cache status: Hit from cloudfront

### HTTP Caching (B — 75/100)

*s-maxage=3600, stale-while-revalidate=31535100, stale-if-error=31535100*

- **[PASS]** Cache-Control header is set
- **[PASS]** CDN TTL: 1 hour (s-maxage=3600)
- **[INFO]** No ETag or Last-Modified header — Conditional requests (304 Not Modified) are not possible without validators.

### Transport Security (A — 90/100)

*HTTP/3, HSTS, and TLS version analysis*

- **[INFO]** HTTP/3 (QUIC) not advertised — HTTP/3 eliminates head-of-line blocking. If your CDN supports it, consider enabling it.
- **[PASS]** HSTS enabled (base policy)
- **[INFO]** HSTS missing includeSubDomains — Without includeSubDomains, HSTS only protects the exact domain.
- **[PASS]** TLS 1.3 in use (fastest handshake, 1-RTT)

---

## Accessibility

### Landmark Structure (A — 85/100)

*5 landmarks*

- **[PASS]** <main> landmark present
- **[PASS]** 2 <nav> landmark(s) found
- **[PASS]** All <nav> elements are properly labeled
- **[WARNING]** Skip navigation link is missing (WCAG 2.4.1) — Add a skip link as the first focusable element so keyboard users can bypass repeated navigation.

### Heading Hierarchy (D — 45/100)

*55 headings, 3 skip(s)*

- **[WARNING]** Multiple H1 headings (13 found) — A page should have only one H1. Multiple H1s dilute the document outline.
- **[WARNING]** Heading level skipped: H2 → H5 (missing H3) — Skipping heading levels breaks the document outline. Screen readers may interpret missing levels as structural errors.
- **[WARNING]** Heading level skipped: H2 → H4 (missing H3) — Skipping heading levels breaks the document outline. Screen readers may interpret missing levels as structural errors.
- **[WARNING]** Heading level skipped: H2 → H5 (missing H3) — Skipping heading levels breaks the document outline. Screen readers may interpret missing levels as structural errors.

### Alt Text Quality (A+ — 100/100)

*All 57 images OK*

- **[PASS]** 53 decorative image(s) correctly marked
- **[PASS]** 4 image(s) with good alt text

### Form Accessibility (A+ — 100/100)

*All 1 controls labeled*

- **[PASS]** 1 control(s) properly labeled

### Link & Button Quality (A — 88/100)

*81 links, 27 buttons — all OK*

- **[WARNING]** 35 link(s) open in new tab without warning — Add '(opens in new tab)' to link text or aria-label.
- **[PASS]** 46 link(s) with descriptive text

---

## UX

### 404 Error Page (D — 50/100)

*HTTP 404, custom page*

- **[PASS]** Correct 404 status code returned
- **[PASS]** Custom styled 404 page

### Favicon & Branding (F — 15/100)

*1 icon(s) detected*

- **[WARNING]** No favicon.ico at site root — Some older browsers, bookmark tools, and RSS readers look for /favicon.ico. Add one as a fallback.
- **[PASS]** HTML icon links detected
- **[INFO]** No apple-touch-icon detected — iOS devices use this when users add your site to their home screen. Add <link rel='apple-touch-icon' sizes='180x180' href='/apple-touch-icon.png'>.

### Web Manifest (D — 40/100)

*Not found*

- **[INFO]** No web manifest found — No manifest at standard paths (/manifest.json, /site.webmanifest). A manifest is optional but enables PWA features like home screen installation and standalone display.

### Dark Mode Support (D — 40/100)

*No dark mode signals*

- **[INFO]** No dark mode signals detected — Consider adding CSS with @media (prefers-color-scheme: dark) and <meta name='color-scheme' content='light dark'>.
- **[INFO]** Detection limited to meta tags and inline styles — External CSS files may contain prefers-color-scheme rules not visible to this scan.

### Print Stylesheet (D — 40/100)

*No print styles*

- **[INFO]** No print-specific styles detected — When users print this page, they get the screen layout including navigation and non-essential elements. Add @media print rules to hide navigation and optimize layout for paper.

### Navigation UX (F — 20/100)

*No navigation patterns*

- **[PASS]** 2 navigation landmark(s) detected
- **[PASS]** Hamburger menu detected (responsive design)
- **[INFO]** No breadcrumbs, search, or skip link detected — These navigation aids help users orient themselves and find content efficiently, especially on large sites.

---

## SEO

### Canonical URL (A+ — 100/100)

*Properly configured*

- **[PASS]** Canonical tag present
- **[PASS]** Canonical is self-referencing
- **[PASS]** Canonical matches final URL after redirects
- **[PASS]** Canonical target returns 308

### Meta Tags (A+ — 95/100)

*Title: 61 chars*

- **[PASS]** Page title is set
- **[INFO]** Title is 61 characters — may be truncated in search results
- **[INFO]** Title and H1 have very different wording — Alignment helps users confirm they've reached the right page.

### Content Depth (A — 85/100)

*1611 words, Difficult*

- **[PASS]** Page has 1611 words — good depth for search engines
- **[INFO]** Text-to-HTML ratio is 1% — Very low ratio suggests heavy framework overhead or boilerplate.
- **[INFO]** Reading level: Difficult (grade 11)

### Internal Links (A+ — 100/100)

*37 internal, 44 external*

- **[PASS]** 37 internal links (46%)
- **[PASS]** 100% of links use descriptive anchor text
- **[INFO]** 37 internal / 44 external links

### Image SEO (B — 80/100)

*57 images, 27 descriptive filenames*

- **[WARNING]** 53% of images have non-descriptive filenames — Search engines use filenames as a signal. Rename to descriptive names like 'team-photo.jpg'.

### Hreflang

*0 hreflang tags*


---

## Sustainability

### CO2 Per Page Load (A — 85/100)

*0.47g CO2 per view*

- **[PASS]** 0.47g CO2 per page view — This page transfers 1.7 MB, producing an estimated 0.47g of CO2 per visit using the Sustainable Web Design model (v4). Breakdown: data center 0.09g, network 0.08g, end-user device 0.30g.
- **[INFO]** At 10,000 monthly views: 56.8 kg CO2/year — With 10,000 page views per month, this page would generate approximately 56.8 kg of CO2 annually — equivalent to charging 7097 smartphones.

### Green Hosting (D — 40/100)

*Not green*

- **[INFO]** No confirmed renewable energy commitment detected — Consider providers like Cloudflare, Google Cloud, or Vercel that match 100% of their energy use with renewables.
- **[INFO]** AWS: Renewable energy varies by region; committed to 100% by 2025
- **[INFO]** AWS CloudFront: Renewable varies by edge location
- **[INFO]** Green hosting status based on known provider commitments — Green hosting detection uses a curated database of provider renewable energy commitments. This is not a real-time verification. For authoritative checks, visit thegreenwebfoundation.org.

### Repeat Visit Weight (A+ — 100/100)

*92% cached*

- **[PASS]** 92% reduction on repeat visits — Returning visitors download only 139 KB (vs 1710 KB first visit). 102 of 103 resources are served from browser cache, saving 0.43g CO2 per repeat visit.
- **[INFO]** Repeat visit: 0.04g CO2 (first visit: 0.47g)

### Carbon Budget (B — 70/100)

*37th percentile*

- **[PASS]** 0.47g CO2 — below the sustainability target of 0.50g — Cleaner than an estimated 63% of websites analyzed. This page meets the Web Sustainability Guidelines target.
- **[INFO]** Estimated 37th percentile — Compared to: top 10% = 0.20g, target = 0.50g, median = 0.60g per page view.

### Transfer Efficiency (A+ — 100/100)

*91% efficient*

- **[PASS]** Transfer efficiency: 91% — Only 160 KB of potential savings identified. Your page is well-optimized for size.

---

---

*Generated by [BeaverCheck](https://beavercheck.com) — https://beavercheck.com/results/74ed30f4-ce92-4f0d-b7d9-412c4803ce41*
