DeepHat
Back to the ledger

completed · Tier 1 · 5 findings

marksbread.co.uk

Reviewed Mon, 26 Oct 2026 01:09:49 GMT. Report emailed to abdianas919@gmail.com.

# Passive security review — marksbread.co.uk

Run: 4047cacc-acc9-44a4-a925-0ba75e59dd81  
Status: **completed**  
Reviewed: `marksbread.co.uk`, `www.marksbread.co.uk`  
Started: 2026-10-26T01:10:10.895Z  
Requests: 12 of 40 budgeted, at most 1/s  
Discovered pages: 0
Tier: 1 — +1 no WAF observed

## Summary

**5** configuration issues: 0 high, 3 medium, 2 low.

## Checks

| Check | Host | Severity | Result |
| --- | --- | --- | --- |
| The site serves HTTPS | marksbread.co.uk, www.marksbread.co.uk | Info | pass |
| HTTP Strict Transport Security | marksbread.co.uk, www.marksbread.co.uk | Info | pass |
| Content Security Policy | marksbread.co.uk, www.marksbread.co.uk | Medium | fail |
| MIME type sniffing is disabled | marksbread.co.uk, www.marksbread.co.uk | Low | fail |
| Framing is restricted | marksbread.co.uk, www.marksbread.co.uk | Medium | fail |
| Referrer policy | marksbread.co.uk, www.marksbread.co.uk | Low | fail |
| Cookie attributes | marksbread.co.uk, www.marksbread.co.uk | Medium | fail |
| Server version disclosure | marksbread.co.uk, www.marksbread.co.uk | Info | pass |
| Cross-origin resource sharing | marksbread.co.uk, www.marksbread.co.uk | Info | pass |
| HTTP redirects to HTTPS | marksbread.co.uk, www.marksbread.co.uk | Info | pass |
| Git metadata is not exposed | marksbread.co.uk, www.marksbread.co.uk | Info | pass |
| Environment file is not exposed | marksbread.co.uk, www.marksbread.co.uk | Info | pass |
| Exposure check: /server-status | marksbread.co.uk, www.marksbread.co.uk | Info | info |
| Exposure check: /.well-known/security.txt | marksbread.co.uk, www.marksbread.co.uk | Info | info |
| TLS certificate | marksbread.co.uk, www.marksbread.co.uk | Info | pass |

## Findings

### 1. Content Security Policy (Medium)

No Content-Security-Policy header was returned.

**Suggested fix.** Start with Content-Security-Policy-Report-Only. Inventory external scripts and inline code, then test a site-specific policy before enforcing it.

### 2. Framing is restricted (Medium)

Neither X-Frame-Options nor a CSP frame-ancestors directive restricts framing.

**Suggested fix.** Send X-Frame-Options: SAMEORIGIN or a CSP frame-ancestors directive.

### 3. Cookie attributes (Medium)

Cookies [crumb] are missing HttpOnly.

**Suggested fix.** Set Secure, HttpOnly and SameSite on every session cookie.

### 4. MIME type sniffing is disabled (Low)

No X-Content-Type-Options header was returned.

**Suggested fix.** Add X-Content-Type-Options: nosniff.

### 5. Referrer policy (Low)

No Referrer-Policy header was returned.

**Suggested fix.** Add Referrer-Policy: strict-origin-when-cross-origin.

## Patch

Configuration suggestions for staging review; see `patch/README.md` for placement and verification.

### _headers

```
# Review in staging. CSP is report-only and does not remediate the CSP finding.
/*
  Content-Security-Policy-Report-Only: default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; script-src 'self'
  X-Content-Type-Options: nosniff
  X-Frame-Options: SAMEORIGIN
  Referrer-Policy: strict-origin-when-cross-origin
```

### nginx.conf

```
# Review in staging. CSP is report-only; tailor it before enforcement.
# Add inside the server { } block, then reload nginx.
add_header Content-Security-Policy-Report-Only "default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; script-src 'self'" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
```

### apache.conf

```
# Review in staging. CSP is report-only; tailor it before enforcement.
# Add inside the <VirtualHost> block or .htaccess, then reload Apache.
Header always set Content-Security-Policy-Report-Only "default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; script-src 'self'"
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
```

## Requires site-specific review

- csp
- cookies

## Application findings (deep pass)

The deep pass completed with no confirmed application findings. This does not establish complete coverage or prove the site is secure.
## Basis and limits

The baseline is passive: GET and HEAD against public addresses only. DNS is resolved once and connections are pinned; the site stays inside its own registrable domain; redirects are reported, never followed; the rate and request budget are enforced.

Checks cover transport, response headers, cookie flags, version banners, CORS, the certificate, and a few well-known exposure paths.

## What this review did not do

No exploitation, login, form submission, credential use, file upload, or application-logic testing in the passive baseline. No finding is confirmed exploitable; exposures are recorded as directly observed. Nothing was changed on the server.

## Delivery

`owner-email.md` and `github-issue.md` are generated from these findings. Nothing is sent unless the `send` command runs.

Suggested patch

Review before applying.

# Review in staging. CSP is report-only and does not remediate the CSP finding.
/*
  Content-Security-Policy-Report-Only: default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; script-src 'self'
  X-Content-Type-Options: nosniff
  X-Frame-Options: SAMEORIGIN
  Referrer-Policy: strict-origin-when-cross-origin