# BeaverCheck Audit Report — https://hackmd.io

**Date:** April 22, 2026  
**URL:** https://hackmd.io  
**Overall Grade:** C (78/100)  
**Report:** https://beavercheck.com/results/aeffe6bf-0530-4084-9dae-2451f2e919a7

## Top Findings

1. **[CRITICAL]** Content-Security-Policy header is missing — Security > Security Headers
2. **[CRITICAL]** Cookie 'NEXT_LOCALE' is missing the Secure flag — Security > Cookie Security
3. **[CRITICAL]** No Content-Security-Policy header found — Security > Content Security Policy
4. **[CRITICAL]** Page weighs 5.2 MB (4.6 MB transferred) — Performance > Page Weight Budget
5. **[CRITICAL]** 4 link(s) with no accessible text — Accessibility > Link & Button Quality

---

## Lighthouse Scores

| Category | Score |
|----------|-------|
| Performance | 57 |
| Accessibility | 82 |
| Best Practices | 96 |
| SEO | 85 |

---

## Security

### Security Headers (C — 55/100)

*5 of 10 headers properly configured*

- **[PASS]** Strict-Transport-Security is properly configured
- **[PASS]** X-Content-Type-Options is properly configured
- **[PASS]** X-Frame-Options is properly configured
- **[PASS]** Referrer-Policy is properly configured
- **[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.
- **[WARNING]** X-Powered-By header reveals technology stack — This header discloses server technology (e.g. Express, PHP), helping attackers target known vulnerabilities. Remove it.
- **[PASS]** Server header is not present

### 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.2, 7 checks passed*

- **[PASS]** TLS 1.2 is used
- **[INFO]** TLS 1.3 is not negotiated — TLS 1.3 offers improved performance and security. Consider enabling it.
- **[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 286 days)
- **[PASS]** Certificate chain has 3 certificates
- **[PASS]** Certificate uses modern signature algorithm
- **[PASS]** Certificate covers 2 domain(s)
- **[PASS]** Certificate is issued by a trusted CA

### Cookie Security (C — 55/100)

*4 cookies analyzed, 5 checks passed*

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

---

## Advanced Security

### Subresource Integrity (A+ — 100/100)

*No external resources*

- **[PASS]** No external resources to protect

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

*No known vulnerabilities*

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

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

*Potential exposures found*

- **[WARNING]** /phpinfo.php is publicly accessible — Debug or admin endpoint is accessible. This may expose server internals or provide attack vectors.
- **[INFO]** No security.txt found — Consider adding a security.txt at /.well-known/security.txt.

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

*DMARC: reject*

- **[PASS]** DMARC policy is reject — strongest 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 (F — 0/100)

*4.6 MB transferred, 67 requests*

- **[CRITICAL]** Page weighs 5.2 MB (4.6 MB transferred)
- **[WARNING]** Images are 3.4 MB — compress or use modern formats — Convert images to WebP/AVIF and resize to display dimensions to reduce transfer size.
- **[INFO]** 67 HTTP requests
- **[INFO]** Estimated 0.96 g CO2 per page load

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

*0% third-party, 0 ms blocking*

- **[INFO]** Third-party code accounts for 0% of page weight (2.4 KiB of 4.6 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)

*38 images, 0 KB saveable*

- **[PASS]** All images are well-optimized

### JS Execution Cost (D — 40/100)

*3208ms total JS execution*

- **[WARNING]** https://hackmd.io/: 1848ms CPU time
- **[WARNING]** https://hackmd.io/_next/static/chunks/bf9c1cba9711...: 823ms CPU time
- **[WARNING]** Unattributable: 537ms CPU time
- **[INFO]** Third-party scripts: 537ms (17% of total)

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

*5 fonts (156 KB)*

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

### JS Bundles (A+ — 100/100)

*13 scripts, 25 KB unused*

- **[WARNING]** https://hackmd.io/_next/static/chunks/bf9c1cba9711...: 25 KB unused (38%) — Consider code splitting or tree shaking to reduce unused code.
- **[INFO]** Total unused JavaScript: 25 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)

*27 hints, 0 missing preconnects*

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

### Page Weight Inventory (C — 60/100)

*67 resources · 4.6 MB · 25 KB savings available*

- **[WARNING]** Page weight 3.6 MB over 1MB target
- **[INFO]** 2 third-party resources (0% of weight)
- **[INFO]** 9 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 — 95/100)

*104 links checked, 103 healthy, 1 broken*

- **[WARNING]** 103 of 104 links are healthy
- **[CRITICAL]** Broken link: https://hackmd.io/join?signup-event=HomeSignupCompleted — Found in <a href>. Returns HTTP 405.

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

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

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

### Open Graph (B — 85/100)

*Open Graph tags are partially configured — some improvements recommended.*

- **[INFO]** og:title is long (67 characters) — Titles over 60 characters may be truncated in social sharing previews.
- **[INFO]** Missing og:url — The og:url tag specifies the canonical URL for the shared content.
- **[INFO]** Missing og:type — The og:type tag helps social platforms categorize the content.
- **[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.*


---

## Infrastructure

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

*2 A records, 29 ms lookup*

- **[PASS]** Resolves to 2 IPv4 address(es)
- **[PASS]** Has 3 IPv6 (AAAA) record(s)
- **[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: 29 ms

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

*No redirects — direct access*

- **[PASS]** No redirects — direct access

### IPv6 Readiness (A+ — 100/100)

*IPv6 reachable (224 ms)*

- **[PASS]** IPv6 is configured and reachable at 2406:da14:88d:a102:2226:ba9a:7be5:cedc, 2406:da14:88d:a101:c8d3:407a:7783:9dba, 2406:da14:88d:a100:de55:c641:f047:affa

### Crawlability (A+ — 95/100)

*robots.txt present, sitemap with 13 URLs*

- **[PASS]** robots.txt is present
- **[PASS]** sitemap.xml is present
- **[PASS]** sitemap.xml is valid XML
- **[PASS]** sitemap.xml contains 13 entries
- **[PASS]** Sitemap index with 13 child sitemaps
- **[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)

*hackmd.io — via Gandi SAS, 11 years, 1 months old*

- **[PASS]** Domain registered until Apr 20, 2027 (1 years remaining)
- **[PASS]** Registrar: Gandi SAS
- **[PASS]** Registrar lock is enabled — Domain cannot be transferred without explicit unlock from the registrar. This protects against unauthorized transfers.

---

## Compliance

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

*No testable criteria*


### Cookie Consent & Privacy (B — 80/100)

*No consent signals detected*

- **[WARNING]** No privacy policy link detected — A privacy policy page is recommended for transparency and may be legally required.
- **[INFO]** No terms of service link detected
- **[INFO]** No cookie consent banner detected
- **[PASS]** 4 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+ — 100/100)

*Lang attribute + Content-Language header*

- **[PASS]** <html lang> attribute is present
- **[PASS]** <html lang> value is valid
- **[PASS]** Content-Language header is set
- **[PASS]** Language signals are consistent

### 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 (C — 55/100)

*3 trackers detected*

- **[INFO]** 3 third-party trackers detected — Found 3 analytics, 0 advertising, 0 marketing, 0 tag manager trackers.
- **[WARNING]** Trackers detected but no cookie policy found — This page loads 3 trackers but no cookie policy was detected. GDPR requires disclosure when using tracking cookies.
- **[WARNING]** Trackers detected but no privacy policy found — Most data protection regulations require a privacy policy when collecting user data via trackers.

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

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

- **[CRITICAL]** 1 tracking cookie(s) set before consent interaction — Under GDPR ePrivacy Art. 5(3), analytics and advertising cookies require explicit opt-in. These cookies appeared in the server response without any consent step — a likely violation.
- **[INFO]** 3 third-party tracker(s) detected on page

---

## Legal

### Legal Page Ecosystem (F — 35/100)

*1 of 7 expected legal pages detected*

- **[PASS]** Privacy Policy detected — Found at https://hackmd.io/s/privacy/?utm_source=home&utm_medium=footer, linked from footer.
- **[WARNING]** Terms of Service not detected — No link matching common Terms of Service URL patterns or link text was found. Most websites are expected to have a Terms of Service, especially those collecting user data.
- **[INFO]** Cookie Policy not detected — No link matching common Cookie Policy URL patterns or link text was found. Most websites are expected to have a Cookie Policy, especially those collecting user data.
- **[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 (A+ — 100/100)

*© 2026 HackMD*

- **[PASS]** Copyright notice is up to date — Copyright notice is up to date: © 2026 HackMD
- **[PASS]** Copyright holder: HackMD

### Regulatory Indicators

*1 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 (moderate confidence) — Indicators suggesting GDPR may be relevant: Privacy policy page found. EU General Data Protection Regulation — governs collection and processing of personal data of EU residents.

### 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 (D — 50/100)

*No CDN detected*

- **[WARNING]** No CDN detected — A CDN can significantly improve load times for users around the world by caching content at edge nodes closer to them.

### HTTP Caching (D — 40/100)

*no-store (uncacheable)*

- **[INFO]** Cache-Control: no-store prevents all caching — Intentional for dynamic content, but increases server load for every page view.
- **[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 (includeSubDomains, preload)
- **[PASS]** HSTS preload enabled

---

## Accessibility

### Landmark Structure (B — 80/100)

*3 landmarks*

- **[PASS]** <main> landmark present
- **[PASS]** 1 <nav> landmark(s) found
- **[INFO]** No banner (header) landmark
- **[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 (B — 70/100)

*15 headings, 2 skip(s)*

- **[PASS]** Single H1 present
- **[WARNING]** Heading level skipped: H3 → H6 (missing H4) — Skipping heading levels breaks the document outline. Screen readers may interpret missing levels as structural errors.
- **[WARNING]** Heading level skipped: H1 → H4 (missing H2) — Skipping heading levels breaks the document outline. Screen readers may interpret missing levels as structural errors.

### Alt Text Quality (B — 80/100)

*42 of 72 images have issues*

- **[WARNING]** 42 image(s) with filename as alt text
- **[PASS]** 30 image(s) with good alt text

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

*1 of 2 controls have issues*

- **[WARNING]** 1 control(s) rely on placeholder only — Placeholder text disappears on focus and is not a reliable label.
- **[PASS]** 1 control(s) properly labeled

### Link & Button Quality (F — 30/100)

*16 issue(s) across 36 links and 18 buttons*

- **[CRITICAL]** 4 link(s) with no accessible text — Links without text are announced as raw URLs by screen readers.
- **[WARNING]** 7 link(s) with generic text — Generic link text like 'click here' doesn't describe the destination.
- **[CRITICAL]** 5 button(s) with no accessible text — Icon-only buttons need an aria-label so screen readers can announce them.
- **[PASS]** 25 link(s) with descriptive text

---

## UX

### 404 Error Page (B — 80/100)

*HTTP 404, custom page*

- **[PASS]** Correct 404 status code returned
- **[PASS]** Custom styled 404 page
- **[PASS]** Navigation links present on 404 page
- **[PASS]** Homepage link present on 404 page

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

*2 icon(s) detected*

- **[PASS]** favicon.ico present at site root
- **[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 (F — 30/100)

*Invalid JSON*

- **[WARNING]** Manifest contains invalid JSON — Manifest at https://hackmd.io/manifest.json contains invalid JSON. Browsers cannot parse it.

### Dark Mode Support (B — 70/100)

*Dark mode detected*

- **[PASS]** prefers-color-scheme CSS detected in inline styles
- **[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 — 15/100)

*No navigation patterns*

- **[PASS]** 1 navigation landmark(s) detected
- **[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 200

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

*Title: 67 chars*

- **[PASS]** Page title is set
- **[INFO]** Title is 67 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 (C — 65/100)

*336 words, Difficult*

- **[PASS]** Page has 336 words of content
- **[INFO]** Text-to-HTML ratio is 1% — Very low ratio suggests heavy framework overhead or boilerplate.
- **[INFO]** Reading level: Difficult (grade 12)

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

*31 internal, 5 external*

- **[PASS]** 31 internal links (86%)
- **[PASS]** 69% of links use descriptive anchor text
- **[INFO]** 31 internal / 5 external links
- **[WARNING]** 6 internal links use generic anchor text

### Image SEO (A+ — 100/100)

*72 images, 70 descriptive filenames*

- **[INFO]** 2 image(s) have hash/generic filenames

### Hreflang

*0 hreflang tags*


---

## Sustainability

### CO2 Per Page Load (D — 50/100)

*1.30g CO2 per view*

- **[WARNING]** 1.30g CO2 per page view — This page transfers 4.6 MB, producing an estimated 1.30g of CO2 per visit using the Sustainable Web Design model (v4). Breakdown: data center 0.24g, network 0.23g, end-user device 0.84g.
- **[INFO]** At 10,000 monthly views: 156.3 kg CO2/year — With 10,000 page views per month, this page would generate approximately 156.3 kg of CO2 annually — equivalent to charging 19535 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]** 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)

*99% cached*

- **[PASS]** 99% reduction on repeat visits — Returning visitors download only 32 KB (vs 4709 KB first visit). 66 of 67 resources are served from browser cache, saving 1.29g CO2 per repeat visit.
- **[INFO]** Repeat visit: 0.01g CO2 (first visit: 1.30g)

### Carbon Budget (D — 50/100)

*70th percentile*

- **[WARNING]** 1.30g CO2 — above the median website (0.60g) — Heavier than an estimated 30% of websites. Reducing page weight, optimizing images, and removing unused JavaScript would lower the carbon footprint. See the Performance tab.
- **[INFO]** Estimated 70th percentile — Compared to: top 10% = 0.20g, target = 0.50g, median = 0.60g per page view.

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

*99% efficient*

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

---

---

*Generated by [BeaverCheck](https://beavercheck.com) — https://beavercheck.com/results/aeffe6bf-0530-4084-9dae-2451f2e919a7*
