# Passive security review — Hey Dude Bar Bristol
Run: ae416d0e-354c-40e1-8548-032e939f9a50
Status: **partial**
Reviewed: `heydudebar.com`, `www.heydudebar.com`
Started: 2026-10-26T19:16:56.688Z
Requests: 17 of 40 budgeted, at most 1/s
Discovered pages: 3
Tier: 2 (limited writes) — +2 password reset, +2 parameter surface, +2 sequential identifiers, +2 structured API, +1 XML/template surface, +1 version disclosure, +1 no WAF observed
## Summary
**6** configuration issues: 0 high, 3 medium, 3 low.
### Pages fetched
- https://heydudebar.com/contact-us/ → HTTP 200
- https://heydudebar.com/about-us/ → HTTP 200
- https://heydudebar.com/privacy-policy/ → HTTP 301
## Checks
| Check | Host | Severity | Result |
| --- | --- | --- | --- |
| The site serves HTTPS | heydudebar.com, www.heydudebar.com | Info | pass |
| HTTP Strict Transport Security | heydudebar.com, www.heydudebar.com | Medium | fail |
| Content Security Policy | heydudebar.com, www.heydudebar.com | Medium | fail |
| MIME type sniffing is disabled | heydudebar.com, www.heydudebar.com | Low | fail |
| Framing is restricted | heydudebar.com, www.heydudebar.com | Medium | fail |
| Referrer policy | heydudebar.com, www.heydudebar.com | Low | fail |
| Cookie attributes | heydudebar.com, www.heydudebar.com | Info | info |
| Server version disclosure | heydudebar.com, www.heydudebar.com | Low | fail |
| Cross-origin resource sharing | heydudebar.com, www.heydudebar.com | Info | pass |
| HTTP redirects to HTTPS | heydudebar.com, www.heydudebar.com | Info | pass |
| Git metadata is not exposed | heydudebar.com, www.heydudebar.com | Info | pass |
| Environment file is not exposed | heydudebar.com, www.heydudebar.com | Info | pass |
| Server status page is not exposed | heydudebar.com, www.heydudebar.com | Info | pass |
| security.txt | heydudebar.com, www.heydudebar.com | Low | info |
| TLS certificate | heydudebar.com, www.heydudebar.com | Info | pass |
## Findings
### 1. HTTP Strict Transport Security (Medium)
No Strict-Transport-Security header was returned.
**Suggested fix.** Add Strict-Transport-Security: max-age=31536000; includeSubDomains. Start with a short max-age while testing.
### 2. 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.
### 3. 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.
### 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.
### 6. Server version disclosure (Low)
The response discloses component versions: Apache / PHP/8.4.27.
**Suggested fix.** Remove version numbers from Server and X-Powered-By responses.
## 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.
/*
Strict-Transport-Security: max-age=31536000; includeSubDomains
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 Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
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;
# Add inside the server { } block.
server_tokens off;
```
### 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 Strict-Transport-Security "max-age=31536000; includeSubDomains"
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"
# Add inside the <VirtualHost> block or .htaccess.
ServerTokens Prod
```
## Requires site-specific review
- csp
## Application findings (deep pass)
The deep pass did not finish (failed); app coverage is incomplete.
## 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.
partial · Tier 2 · 6 findings
heydudebar.com
Reviewed Mon, 26 Oct 2026 19:15:00 GMT. Email: skipped.
Suggested patch
Review before applying.
# Review in staging. CSP is report-only and does not remediate the CSP finding. /* Strict-Transport-Security: max-age=31536000; includeSubDomains 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